11 Mar 2011 2:40 AM #1
MVC in EXTJS4, folder structure?
Does anybody know how will the folder structure and extjs4 model-view controller finally be ??
And, could anybody give me information about it, please ??
Thanks a million
11 Mar 2011 7:16 AM #2
Typically it falls into
Above is not ExtJS4 folder structure, just a general folder structure used for any MVC framework.
11 Mar 2011 7:35 AM #3
IIRC, one of the conference videos display the structure when it was presented.
11 Mar 2011 7:46 AM #4
When you call Ext.regApplication is creates a namespace for your application, and the sub-namespaces:
You can see this in src/Application.js
I've been laying out my code in the same way, in-line with how you generally layout namespaces in another language on disk (i.e. .NET).
I have a few applications spread across repos, and seems to work well. The main application entry point sorts the viewport out, with the other application launch methods wiring up Direct providers and stuff as needed.
11 Mar 2011 12:10 PM #5
I searched the conference video that shows this structure but can not find it. Please, someone has a link to this video?
Thanks very much
11 Mar 2011 1:15 PM #6
20 Nov 2011 1:20 AM #7
Module-based MVC folder-structure
Is it possible to create another folder-structure for Extjs4 MVC-application with modules, because if application's controllers count is too large, it will be a headache to write another mvc-component and maintain all my code. In my test-application I cannot create module-structure, because of Ext.Loader. What is the best solution for this?
By renasis in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 6 Feb 2011, 4:27 PM
By sachin sachdeva in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 11 Oct 2010, 10:20 PM
By sachin sachdeva in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 11 Oct 2010, 9:47 PM
By sosamv in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 30 Jun 2009, 11:40 AM
By iliakan in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 17 Aug 2007, 12:38 PM