PDA

View Full Version : Is possible to deploy an MVC App as a single js file?



todos27
11 Jan 2012, 4:06 AM
Hi everybody,

I build an app using MVC structure, but when is started is slow. I was wondering if instead of having the x amount of files that I have on my mvc structure I could put everything together on a single file and if that will speed up the start process.

And how to put everything together on a single file? I'm trying at the moment some instructions for deploy ExtJS4 (http://docs.sencha.com/ext-js/4-0/#/guide/getting_started) but I haven't suceed yet.

Any suggestions?

Regards,

Todos.-

mitchellsimoens
11 Jan 2012, 7:52 AM
Technically, the SDK Tools will work except that the part where it creates the jsb3 file probably won't work. You may have to edit the jsb3 file to include your files.

todos27
12 Jan 2012, 6:43 AM
Thanks for your answer mitchellsimoens. The SDK tool did the job, but as you said
the part where it creates the jsb3 file probably didn't work. So I made it manually.