wood burning stoves 2.0*
The moose likes JavaFX and the fly likes Design Patterns with JavaFX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JavaFX
Bookmark "Design Patterns with JavaFX" Watch "Design Patterns with JavaFX" New topic
Author

Design Patterns with JavaFX

William Antônio Siqueira
Ranch Hand

Joined: Jul 08, 2009
Posts: 36
There are specific Design Patterns for JavaFX?
I know that a lot of design patterns are "encapsuled" by JavaFX, like what happens with Java in general.

Gail Anderson and Paul Anderson:
Do you speak about it in your JavaFX's book?

The answer isn't "Why", is "How"!
Follow me on Twitter - Speak portuguese? Check out JavaFree.org
Gail Anderson
Author
Ranch Hand

Joined: Jul 07, 2009
Posts: 44
The design of a JavaFX program is fundamentally different than a Java program (although, in the end, JavaFX is turned into Java).

In our overview chapter, we discuss this difference, which can be called the "scene graph metaphor." In JavaFX, you describe your scene graph (using declarative syntax) by specifying the look and behavior of all of its nodes. Then, your application just "runs." Some applications need input from the user; others just run on their own.

The power of the scene graph is that, not only do you capture the entire structure of your application in a data structure, but you can change the display simply by modifying properties of the objects in the scene graph.

This is the JavaFX-centric description.

JavaFX GUI can be a front-end for a traditional MVC application and any number of design patterns can be applied. In particular, if you have a Java-based middleware/backend system, JavaFX frontend can hook into it seamlessly.

We also spend time in Chapter 6 (Anatomy of a JavaFX Application) discussing how to use object oriented design principles to construct custom nodes.

Gail
William Antônio Siqueira
Ranch Hand

Joined: Jul 08, 2009
Posts: 36
What Cool!
I'm doing a CRUD with JavaFX, soon I will post all to see, but I think I disrespect many design patterns...
 
Don't get me started about those stupid light bulbs.
 
subject: Design Patterns with JavaFX
 
Similar Threads
SCEA 5 Part 2 - Assignment Sent
JDBC and JavaFX
What technologies or tools or frameworks or APIs are must for SCEA?
Essential JavaFX: Why No Real RIA?
Scored 86% in SCWCD.Once Again My HeartFelt Thanks Kathy,Bert and Bryan