jeudi 16 octobre 2014

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






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

Aucun commentaire:

Enregistrer un commentaire