Skip to content

appreciated/mvp-flow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MVP

An approach to develop UIs using the Model-View-Presenter Pattern more comfortable under Vaadin 14. Whilst programming MVP under Vaadin was already possible before, this addons provides a predefined class Presenter to give the user a more strict strucure to rely on.

Note:
Using this addon will not make your code per se better, things can still be done the wrong way. If you're new to the MVP pattern please make sure to give it a good read. This could also be used to programm MVVM dependending how you bind the data to the model.

Development instructions

Starting the test/demo server:

  1. Run mvn jetty:run.
  2. Open http://localhost:8080 in the browser.

Publishing to Vaadin Directory

You can create the zip package needed for Vaadin Directory using

mvn versions:set -DnewVersion=1.0.0 # You cannot publish snapshot versions 
mvn install -Pdirectory

The package is created as target/mvp-flow-1.0.0.zip

For more information or to upload the package, visit https://vaadin.com/directory/my-components?uploadNewComponent

Releases

No releases published

Packages

No packages published