-
Sencha User
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
-
Sencha Premium Member
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
-
Forum Rules