MVC architecture in JavaFX 2.0
802033Jun 26 2011 — edited Jun 27 2011Hello,
I have maybe a basic question but anyway: how to effectively build an application using the MVC architecture.
I'd like to build relatively complex Model of a world with many dynamic objects which are created, modified (animated) and deleted during the time. And I want to separate the Model from any graphical representation.
Does it make sense to build separate Model with own objects and another set of graphical objects somehow synchronized with the Model objects? Or should the Model objects represent directly their Graphical representaion in a Scene graph?
So what's the best approach and in case of separate objects how to synchronize UI with the Model?
Thanks!
Rada