jpf 4.0.19 → 4.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,10 +1,11 @@
1
1
  # JPF (Javascript Presentation Foundation)
2
- Knockout plugin for building Graphical User Interfaces for the web following the MVVM pattern similar to WPF for Windows.
3
- The base class "UiElement" implements the fundamental binding mechanism that is needed to support the MVVM pattern.
2
+ Library for building Graphical User Interfaces for the web following the MVVM pattern similar to WPF for Windows.
3
+ The library contains baseclasses for "View" and "ViewModel" that have build in support for the observable pattern.
4
+ So if a property in the ViewModel is observable and changes its value the View will automatically update itself.
4
5
 
5
6
  # Goals of this library
6
7
  When moving away from server-side rendering to client-side rendering I found myself going back in time if it comes to RAD support in tooling.
7
- If we compare this to rich-client development like for example WPF or server side rendering like old fashioned ASP.Net forms we have lost a lot of support in our tooling on the way.
8
+ If we compare this to rich-client development like for example WPF or server side rendering like old fashioned ASP.Net forms or MVC we have lost a lot of support in our tooling on the way.
8
9
  When working with client-side rendering frameworks that are popular today I have learned that preventing me from making mistakes while writing my code is limited.
9
10
  I feel that defining a view in some sort of html text template enhanced with binding expressions is cumbersome.
10
11
  The tooling support to make sure that the View with its binding expressions is in sink with its ViewModel is very limited.
@@ -12,6 +13,9 @@ The tooling support to make sure that the View with its binding expressions is i
12
13
  #### So the main goals for this library are:
13
14
 
14
15
  1. **Support the MVVM design pattern**
16
+ 1. **Have a clear separation between GUI logic and presentation. Separation of concern View, ViewModel**
17
+ 1. **Being able to change the presentation without affecting the GUI logic. Change the View without affecting the ViewModel**
18
+ 1. **Sharing the same GUI logic for multiple presentations. Having one ViewModel with multiple Views for example for Desktop and Mobile**
15
19
  1. **Eliminate the use of text based templating**
16
20
  1. **Support binding expression checking at compile time**
17
21
  1. **Discover programming errors at compile time instead of runtime**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jpf",
3
- "version": "4.0.19",
3
+ "version": "4.0.20",
4
4
  "description": "Javascript Presentation Foundation",
5
5
  "keywords": [
6
6
  "mvvm",
@@ -35,7 +35,7 @@
35
35
  "npmAuditFix": "npm audit fix",
36
36
  "npmAuditFixForce": "npm audit fix --force",
37
37
  "npmCacheClean": "npm cache clean --force",
38
- "npmPublish": "tsc & npm publish --otp=951109",
38
+ "npmPublish": "tsc & npm publish --otp=558615",
39
39
  "npmLogin": "npm login",
40
40
  "npmWhoAmI": "npm whoami",
41
41
  "npmAddUser": "npm adduser",