jpf-mobx
v1.0.127
Published
Javascript Presentation Foundation with mobx state management
Downloads
27
Maintainers
Readme
JPF (Javascript Presentation Foundation)
Library for building Graphical User Interfaces for the web following the MVVM pattern similar to React but without the typical React diffing mechanism. The library contains baseclasses for "View" and "ViewModel" that have build in support for the observable pattern. So if a property in the ViewModel is observable and changes its value the View will automatically update itself. This implementation uses Mobx for State management
The main goals for this library are:
- Support the MVVM design pattern
- Have a clear separation between GUI logic and presentation. Clear separation of concern between View and ViewModel
- Being able to change the presentation without affecting the GUI logic. Changing the View without affecting the ViewModel
- Sharing the same GUI logic for multiple presentations. Having one ViewModel with multiple Views for example for Desktop and Mobile
- Eliminate the use of text based templating
- Support binding expression checking at design time instead of runtime
- Discover programming errors at compile time instead of runtime
- Circumvent the typical React diffing mechanisme and update the DOM in a more fine grained way