Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Ext User
    Join Date
    Jun 2010
    Posts
    19
    Vote Rating
    0
    gwthompson is on a distinguished road

      0  

    Question Sencha Touch/EXT JS newbie

    Sencha Touch/EXT JS newbie


    Hi All,

    I've just discovered Sencha Touch and Ext JS and have a few questions that I hope someone can shed some light on for me.

    My goal is this:

    I want to convert some elearning courses that currently only exist in Flash to use on the iPad but I don't quite know where to start with the Sencha platform. The courses are multi-page and include audio and some video along with different copy and images for each page.

    My first questions are:

    1. How would one create multiple pages in Sencha Touch?
    2. How do you detect for an orientation change? I want to rearrange the layout for portrait versus landscape.
    3. What would be the best way to quickly get up to speed on the Sencha Touch/Ext JS platform?

    I'm fairly well versed in Javascript/HTML/CSS but up to now have always built everything from scratch. I'm hoping the Sencha platform will be the right choice to use for all of my mobile projects going forward.

    Any and all help would be greatly appreciated.

    Thanks,
    Gary Thompson

  2. #2
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    77
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    Sencha Touch !== Ext JS

    Ext JS is a heavy-weight framework, designed for larger applications.

    Sencha touch is a light weight framework designed for mobile apps.

    There are books on Ext JS already, but Sencha - not yet.

  3. #3
    Sencha - Management Team abe.elias's Avatar
    Join Date
    Aug 2008
    Location
    Palo Alto, CA
    Posts
    405
    Vote Rating
    3
    abe.elias is on a distinguished road

      0  

    Default


    Quote Originally Posted by gwthompson View Post
    1. How would one create multiple pages in Sencha Touch?
    I'd recommend looking at the Kitchen Sink example that we ship with the sdk. As with both Ext JS and Sencha Touch, single page apps are encouraged.

    Quote Originally Posted by gwthompson View Post
    2. How do you detect for an orientation change? I want to rearrange the layout for portrait versus landscape.
    The Kitchen Sink source should give you some guidance, but there's an orientation change event that gets fired.

    Quote Originally Posted by gwthompson View Post
    3. What would be the best way to quickly get up to speed on the Sencha Touch/Ext JS platform?
    While they are two different projects, their DNA is the same. Jay and others have written a few books on Ext JS, and I strongly encourage reading them. They will help you tremendously. Additionally, we have a Manual on getting started with our foundation lib here: http://www.sencha.com/products/extcore/manual/

    We were all newbie's at one point so don't feel bad to ask questions.

    ~abe

  4. #4
    Ext User
    Join Date
    Jun 2010
    Posts
    19
    Vote Rating
    0
    gwthompson is on a distinguished road

      0  

    Default


    Hi Abe,

    Thanks for the reply. When you say "single page apps are encouraged" does that mean I should be looking to dynamically load content using an Ajax call of some sort for each "page" in the course? Or would I load all of the content up in my index.html in different div tags? I would think the latter would be time consuming on startup if there were 20-25 images along with that many pages of content.

    I'm trying to get my head around the single page app which seems to align itself more with development of a desktop application that loads resources versus the multi=page web site let alone the whole Flash model so please forgive me if my questions are out of left field sometimes.

    The Flash versions of these courses I'm looking to port to the iPad (which I didn't develop) tend to take a bit of time pre-loading and then are pretty responsive once loaded.

    My goal is to make these courses as nimble and fast for the user along with taking advantage of the iPad interface elements.

    I will take a look at the manual and the books.

    Thanks again for all of your help!
    gt

  5. #5
    Sencha - Management Team abe.elias's Avatar
    Join Date
    Aug 2008
    Location
    Palo Alto, CA
    Posts
    405
    Vote Rating
    3
    abe.elias is on a distinguished road

      0  

    Default


    Quote Originally Posted by gwthompson View Post
    Hi Abe,
    Thanks for the reply. When you say "single page apps are encouraged" does that mean I should be looking to dynamically load content using an Ajax call of some sort for each "page" in the course?
    This is preferred.

    Quote Originally Posted by gwthompson View Post
    Or would I load all of the content up in my index.html in different div tags?
    I would think the latter would be time consuming on startup if there were 20-25 images along with that many pages of content.
    We are not huge fans of progressive enhancement.

  6. #6
    Sencha User
    Join Date
    Aug 2011
    Location
    London
    Posts
    392
    Vote Rating
    16
    digeridoopoo will become famous soon enough

      0  

    Default Wouldn't something like this be better?

    Wouldn't something like this be better?


    Wouldn't something like this be more suitable for your project? Flash media server now converts flash files on the fly for iDevices:

    http://www.adobe.com/products/flashmediastreaming/

    Also check out stuff like Google Swiffy which converts flash animations into HTML5/Javascript that will work on the iPhone/iPad.

    :-)

    Si

Similar Threads

  1. Does Sencha Touch will also be ported to GXT?
    By isolanet in forum Sencha Touch 1.x: Discussion
    Replies: 7
    Last Post: 4 Jun 2012, 11:52 PM
  2. Debugging Sencha Touch
    By profunctional in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 31 Jan 2012, 1:20 AM
  3. Features of Sencha Touch
    By metalsiren in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 21 Jul 2010, 8:02 AM
  4. Sencha Touch - DZone Article
    By mystix in forum Sencha Touch 1.x: Discussion
    Replies: 1
    Last Post: 18 Jun 2010, 2:21 PM

Thread Participants: 3

Tags for this Thread