O'Reilly logo

Sencha MVC Architecture by Ajit Kumar

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

Class loader

In Chapter 2, Creating an Application, we saw that we included ext-debug.js in the index.html folder, which has a smaller footprint compared to ext-all-debug.js. Also, as shown in the figure under the fifth item in the Class system section, the dependencies are automatically downloaded. This is taken care of by the class loader and hence it saves us from specifying the dependencies, manually.

The new class system has introduced a class loader, which takes care of resolving the class dependencies and loads them. This becomes very handy during the development.

The class loader functionality is provided by the Ext.Loader class and is enabled, by default, only when we use the development version (for example, ext-debug.js or sench-touch-debug.js ...

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