O'Reilly logo

Learning Ext JS - Fourth Edition by Armando Gonzalez, Crysfel Villa, Carlos A. Méndez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Router – implementing and using

Another new addition in version 5 is the use of routers in our application. Routing can be used to track an application's state through the use of the browser history stack. It also allows deep linking into the application, which allows a direct link to a specific part of your application. As an example, open the Kitchen Sink example (Sencha's own examples), as shown here:

Router – implementing and using

The #basic-panels part of the URL is called the hash or fragment identifier. The browser fires an event, called hashchange, that is recognized by our application, and we can use it and react according to the value (or values) assigned to it.

So, in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required