Core to any application (especially an event-driven application) is maintaining and controlling 'state'. This can encompass many different things, from keeping user preferences on grid sorting, to managing multiple Windows or layout areas on the screen, and even being able to use the Back button in the browser and have it change your application without reloading the wrong page. Luckily, Ext JS provides several Manager
objects for handling many of these exact scenarios.
The Ext.state.Manager
class is automatically checked, and utilized, by every state-aware component within Ext JS. With one simple line of code we can set this manager in place, and with little or no additional work, our application's view state is automatically registered.
To put this in perspective, suppose that we have a rather large application, spanning many different HTML documents. Ext JS plays a part in the application, because we've implemented...