1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    21
    Vote Rating
    1
    mavorus is on a distinguished road

      0  

    Default How to package touch for production?

    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.

    Please help.

  2. #2
    Sencha Premium Member
    Join Date
    Oct 2011
    Location
    Paris, France
    Posts
    187
    Vote Rating
    3
    olouvignes is on a distinguished road

      0  

    Default


    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).

  3. #3
    Sencha User ggendre's Avatar
    Join Date
    Feb 2012
    Location
    Lannion, France
    Posts
    24
    Vote Rating
    0
    ggendre is on a distinguished road

      0  

    Question


    did you manage to make a proper production file?
    or is the asynchronous trick the only way to have a "fast" startup time ?

  4. #4
    Sencha User ggendre's Avatar
    Join Date
    Feb 2012
    Location
    Lannion, France
    Posts
    24
    Vote Rating
    0
    ggendre is on a distinguished road

      0  

    Thumbs up


    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 !

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar