Understand the Sencha MVC File Structure

Sencha applications are built using the Model-View-Controller (MVC) pattern. Each app is composed of a collection of Models, Views, Controllers, Stores and Profiles brought together by a central Application file.

Common Models and Stores shared across apps are kept in the ab-products/common/mobile/src/Common folder.

The AppLauncher is an example of an Application with a relatively simple app structure:

Ext.application({
    models : [ 'Common.model.App', 'AppLauncher.model.Registration' ],
    stores : [ 'Common.store.TableDefs', 'Common.store.AppPreferences', 'Common.store.Apps' ],
    views : [ 'Registration', 'Preferences', 'AppSelection', 'ChangeUrl' ],
    controllers : [ 'Registration', 'Preferences' ],
    name : 'AppLauncher'
});

File: ab-products/common/mobile/src/AppLauncher/app.js