PDA

View Full Version : Where should the ViewControllers go in the directory structure?



pedwards
21 May 2014, 1:12 AM
Hi,

I haven't tried yet but am wondering where the ViewControllers should go in the application. Should they be put in the app/controllers directory? Or is it better to create a directory in the view and put everything together there? E.g. app/view/foo/FooView.js and app/view/foo/FooController.js?

Thanks,
Paul

LesJ
21 May 2014, 5:44 AM
There's a complete answer in this thread (http://www.sencha.com/forum/showthread.php?283012-Ext-5-View-Controller-Event-Listening).