TodoMVC-JavaFX is a collection of different implementations of the same JavaFX application. It aims to provide examples with different design patterns, frameworks, programming languages and programming styles.
It's inspired by the famous TodoMVC project which is doing the same thing for JavaScript/Web frameworks.
By implementing the same use cases with different approaches we hope to provide several benefits:
Contributions are very welcome. There are several thinks to help out:
examples/<your-framework>
settings.gradle
build.gradle
file in your directory for your submoduleThe module reference_impl
contains a basic solution of how the app should work. You can use this as a starting point for your app. There are also FXML and CSS files that you can use.
The idea behind this project is to have multiple implementations of the same use cases. To make sure that each implementation has the same behaviour and acomplishes the same requirements there is a test suite of TestFX test cases for all requirements. You can find the tests in /tests/src/main/java/todomvcfx/AbstractTest.java.
To add the acceptance tests for your module:
<your-framework>Test
todomvcfx.AbstractTest
(the dependency to the tests
module is defined globally in the root build.gradle
file)getAppClass()
in your test class. This method has to return a class reference to your application's starter class (the class that extends from `javafx.application.Application).