Application state

First up is routing. We said in Chapter 6, Practical – Monitoring Dashboard, that the route is a way of keeping part of the application's state in the URL. Another way of looking at this is that as the application changes through its various states, you are walking through the screens that the user would see as they interact with the interface.

By working out the various high-level states of our application, we can better visualize the user flow and establish the routes that we can employ in our code.

Home screen/initial load

This is displayed straight after login and represents the default state of the main screen of the application before the user interacts with it. It looks as follows:

 Route: /#home

The views will have the following ...

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.