How to package touch for production?
Hello, I did a search but didn't come up with anything related to packaging a touch 2.0 created web app that is meant to be distributed as a website via UIWebView.
I tried using the SDK tools but have run into a lot of problems are are at a loss at how to package it correctly, or even if the SDK tools can package a touch 2.0 created app in the first place.
I really don't like having to include this 500+kb "sencha-touch-all.js" file. I really need to cut down the size and be able to initially start my basic app's front page (simple page) in < 200 ms.
Sencha Premium Member
Quick reply is so damn UX broken in this forum... !!! I always end up clicking the big fat green Reply to Thread button that destroys my answer... GRRRRRRRR !!!!
Anyway, i was saying that you should build a non-sencha loader (like a splash screen) with a nice bg & loader (.gif/css3)... & Then load ST lib & your app.js async (like this http://stackoverflow.com/questions/4...ding-executing).
You could even build some kind of progressbar (by file).
did you manage to make a proper production file?
or is the asynchronous trick the only way to have a "fast" startup time ?
I use senchatouch with phonegap and was very interested in reducing the starting time of my app on old devices.
I used the technique described here to create my application production file and it worked !
I take a bit of time to get into the app.jsb3 file but it worth it.
My app is now starting in 13s on an old iPod. it was more than 30sec before !