PDA

View Full Version : How naming classes works?



bluesky100
12 Jun 2016, 1:08 PM
In this tutorial http://docs.sencha.com/extjs/4.1.3/#!/guide/application_architecture-section-defining-a-controller

I added this


views: [
'user.List' // Does it directly go to app/view? and then append user.List?
],


to the controller.

Inside app folder, there is view folder, then there is user folder, and inside is List.js.
My question is about naming convention: why did we specify only user.List in the views?
How does this naming get resolved? Why not app.view.user.List say?

alex.volfson
23 Jun 2016, 10:56 AM
It would go to app/view/user/List.js