The simplicity of view models

We've discussed view models and application architecture using the word "flow" several times. As the user manipulates various parts of the user interface, data flows through controllers and view models to represent the current state of the application. Rather than writing out a list of all of the junctions through which data can flow in this application, let's try and picture it instead as follows:

The simplicity of view models

Interactions between the cart store on the main view model and its dependents

Being able to conceptualize your application at this level is a good sign that it is well-understood and well-conceived. In larger applications, ...

Get Ext JS Application Development Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.