PDA

View Full Version : why views not reference stores etc?



bluesky100
2 Jul 2016, 5:49 AM
In this tutorial
http://docs.sencha.com/extjs/4.0.7/#!/guide/application_architecture

Only the controller references stores and models, e.g.

views: [
'user.List',
'user.Edit',
'user.Add',
'user.Home'
],




// Also stores.
stores: [
'Users'
],

// and models.
models: ['User'],

Why do the views not keep such references?