Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a good MVVM/MVP/MVC framework for JavaFX?

JavaFX with it's binding seems great technology for building UI layer, replacing PHP+AJAX, but are there any frameworks for building database forms applications with JavaFX, or it is meant to write everything from scratch?

like image 817
Ivan Avatar asked Jun 20 '10 16:06

Ivan


People also ask

Does JavaFX use MVC?

JavaFX enables you to design with Model-View-Controller (MVC), through the use of FXML and Java. The "Model" consists of application-specific domain objects, the "View" consists of FXML, and the "Controller" is Java code that defines the GUI's behavior for interacting with the user.

Which is better MVC or MVP?

MVP pattern overcomes the challenges of MVC and provides an easy way to structure the project codes. The reason why MVP is widely accepted is that it provides modularity, testability, and a more clean and maintainable codebase. It is composed of the following three components: Model: Layer for storing data.

What is the difference between MVC MVP and MVVM?

It makes the task easy for developers to maintain the software and to expand the features of the application in the future. MVC (Model — View — Controller), MVP (Model — View — Presenter), and MVVM (Model — View — ViewModel) is the most popular and industry-recognized android architecture pattern among developers.

How is MVC different from MVP?

User Input: In MVC, user inputs are handled by the Controller that instructs the model for further operations. But in MVP, user inputs are handled by the view that instructs the presenter to call appropriate functions. Type of Relation: A many-to-one relationship exists between the controller and view.


1 Answers

You should give a try to some recent libraries :

  • JRebirth Application Framework to structure your whole application http://www.jrebirth.org

  • FXForm to manage form http://dooapp.github.com/FXForm2/

  • DataFX to manage complex tables etc.. http://www.javafxdata.org

You can find more tools at http://www.oracle.com/technetwork/java/javafx/community/3rd-party-1844355.html

like image 53
Sébastien B. Avatar answered Sep 22 '22 16:09

Sébastien B.