JavaScript for Line of Business Applications
596.1K views | +0 today
Follow
JavaScript for Line of Business Applications
Keeping track of current JavaScript Frameworks that help design your clientside Business Logic Layers.
Curated by Jan Hesse
Beam to my Inbox:
Your new post is loading...
Your new post is loading...

Popular Tags - Filter using the Funnel

Current selected tags: 'knockout.js', 'vanillajs'. Clear
Scoop.it!

Change And Its Detection In JavaScript Frameworks

Change And Its Detection In JavaScript Frameworks | JavaScript for Line of Business Applications | Scoop.it

Managing the synchronization of app state and the user interface has long been a major source of complexity in UI development, and by now we have several different approaches to dealing with it. This article explores a few of them: Ember's data binding, Angular's dirty checking, React's virtual DOM, and its relationship to immutable data structures.

Where things start to get more challenging is when we start talking about data changing over time. This can happen when the user interacts with the UI, or when something else happens in the world that updates the data. The UI needs to reflect this change. Furthermore, because rebuilding DOM trees is expensive, we'd like to do as little work as possible to get that updated data on the screen.

No comment yet.
Scoop.it!

Tested various Javascript MV* frameworks

Tested various Javascript MV* frameworks | JavaScript for Line of Business Applications | Scoop.it

I wanted to try and compare some other popular Javascript MV* frameworks. I am aware that TodoMVC exists for this, but I wanted to implement the same thing (with encrypted local storage) that previously was created with AngularJS.

What to implement:
* Create a view that has a input[type=text] field
* When the user enters some text in the input, encrypt the text and save it in localStorage
* Instantly display the encrypted text and the decrypted text

 

The following code samples seems to do the right thing / achieve the same results. I have just included the code samples here, with a small summary for every frameworks with my own pros and cons.

 

* KnockoutJS
* VanillaJS (simple)
* VanillaJS (MVC style)
* BackboneJS
* EmberJS
* AngularJS

No comment yet.