The opinionated just-enough-framework (2 classes) MVP for JavaFX
afterburner.fx provides:
- "Zero-Configuration" javax.inject.Inject DI of models and services
- Convention-based unification of presenter, view, FXML and css.
- Conventional resource bundle loading.
- Injection of System.getProperties into presenter,
- Injection of presenter-local configuration properties into presenter.
- Afterburner is a "Just-Enough-Framework" extracted from airhacks-control and used in airpad and lightfish applications
Jumpstart with:
mvn archetype:generate -Dfilter=com.airhacks:igniter
Afterburner is also available from maven central:
<dependency>
<groupId>com.airhacks</groupId>
<artifactId>afterburner.fx</artifactId>
<version>1.3</version>
</dependency>
The current development version is available as snapshot:
<dependency>
<groupId>com.airhacks</groupId>
<artifactId>afterburner.fx</artifactId>
<version>1.4-SNAPSHOT</version>
</dependency>
See also: http://afterburner.adam-bien.com
Simplistic example: https://github.com/AdamBien/followme.fx