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

Application

Application glues models, views, controllers, and stores to assemble a complete functional application.

Ext JS

In Ext JS, the Ext.app.Application class does the following:

  • Extends Ext.app.Controller.
  • Sets the path on the loader. This helps us in loading the application classes from folders other than the app folder.
  • Loads the Viewport class if autoCreateViewport is true. When set to true, the application will load the Viewport.js file from the app\view folder.
  • Registers the onReady method where it instantiates and calls the init method on all the controllers.
  • Enables QuickTips if enableQuickTips was set to true.
  • Creates the Viewport if autoCreateViewport is true.
  • Calls the launch method of the application.
  • Fires the launch event.
  • Calls the

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