28 Jun 2010 5:00 AM #1
Many js files in export
I'm using ext designer to speed up the visual part the development and it is a very nice tool to work with.
When i export from ext designer i get many js files and i was wondering which is the best way to handle all these files.
Should i manually group my UI's into some single files or is it just fine to have all these js includes?
If i group them into single files, then ext designer is not able to export directly to the project anymore but if i don't do it i can end up with 100+ js files to include.
I hope you understand my question.
28 Jun 2010 6:25 AM #2
- Join Date
- Mar 2007
- Frederick, MD
- Vote Rating
Sure I understand your question. What we at Sencha do in our own projects is we have all of our JS files independent just as the Designer generates. We use a tool that we built called JSBuilder to compile and compress the files together into a single output file, and that's what we use in "production", but in "development" we have the files loaded independently. See the JSBuilder page for more information and download: http://www.sencha.com/products/jsbuilder/
So, for your development cycle, you can have the files independent (even if there are 100+, who cares!) and thus re-exportable from the Designer. Then when you go to production, definitely compress them into one file and load just the one file.
Hope that helps.
30 Jun 2010 2:42 AM #3
By Northie in forum Ext Designer: Help & DiscussionReplies: 8Last Post: 27 May 2010, 7:10 PM
By tr888 in forum Ext Designer: BugsReplies: 3Last Post: 10 May 2010, 9:10 AM
By makana in forum Ext.air for Adobe AIRReplies: 1Last Post: 22 Dec 2009, 12:06 AM