Results 1 to 2 of 2

Thread: Where specify the controllers, models, views and stores to load?

  1. #1
    Sencha User
    Join Date
    Aug 2008
    Posts
    138

    Default Where specify the controllers, models, views and stores to load?

    Hy,

    Where to specify the controllers, models, views, stores the application has to load?

    1. Just in the object Ext.application ({
    controllers : ['Users'], models: ['User'],
    views : ['user.Edit'].
    stores: ...
    })

    2. I have seen examples where in controller objects you specify models, views and stores

    Is there a better approach? I think the option 1 is more centralized and better, right?

    Thanks

  2. #2
    Sencha Premium Member
    Join Date
    Jul 2012
    Posts
    41
    Answers
    5

    Default

    This is the start of a good example on structuring the layout
    Talk specifics on code organization.

    http://docs.sencha.com/extjs/4.2.2/#!/guide/mvc_pt1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •