View Full Version : ExtJS MVC pattern + JAWR
25 Nov 2011, 4:36 AM
we are currently migrating from ExtJS3 to ExtJS 4. As the MVC pattern seems to be a good architecture to start from, we still have some open issues.
Does the usage of the MVC pattern also means that the folder structure as outlined in the Guides section is needed?
25 Nov 2011, 6:42 AM
This will help you with the file structure: http://docs.sencha.com/ext-js/4-0/#!/guide/application_architecture
The only reason why we have a "standard" for the folder structure is we have SDK Tools that will build your application files and Ext JS files (that aren't in the core, ext.js) into one single minified and obfuscated JS file. So would you really need JAWR?
28 Nov 2011, 12:47 AM
Thanks for the reply. So the file structure is mandatory.
Are these SDK tools embedded in the extjs source code or is an additional download needed?
28 Nov 2011, 6:21 AM
28 Nov 2011, 3:09 PM
Where I work at currently also uses jawr and once we get everything moved to Ext JS 4 we will most likely not use it anymore.
You can provide your own folder structure I just found it easier to do the longhand instead of the shorthand in the requires.
So the requires code would look like something like this.
Then we have each extended class as it's own file located at ./arch-4.0.7/
Powered by vBulletin® Version 4.1.5 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.