1. #1
    Sencha User steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,664
    Vote Rating
    7
    steffenk has a spectacular aura about steffenk has a spectacular aura about steffenk has a spectacular aura about

      0  

    Default Sencha touch or Ext4?

    Sencha touch or Ext4?


    Hi,

    i have to make a decision on how to continue with a web app written in Ext3, and i hope to get some advices here.

    The App is working well at the moment, but iPad and phones are more and more important for the future.
    The App right now works on iPad, but for sure doesn't support gesture navigation etc.

    So i need to convert it this year. it should work on normal web browsers, phones and iPad, including gestures.

    What do i need for this, does Ext4 support the touch features, or do i need a mix of touch and Ext4?
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    94
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    I would recommend using a mix.

    If you rewrite your app to use the new Ext4/Touch MVC pattern then your application can share the same models and controllers and only need different views for desktop vs. mobile.

  3. #3
    Sencha User steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,664
    Vote Rating
    7
    steffenk has a spectacular aura about steffenk has a spectacular aura about steffenk has a spectacular aura about

      0  

    Default


    ok, that sounds good. I only fear for converting the custom view components as i need to double them ...
    All bit theoretical for now don't know the architecture of EXT4 / touch for now.
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,085
    Vote Rating
    467
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    I am not sure if this will help your decision, but I see Android 3 is a fork that will now be geared toward tablet PC's and not a phone OS trying to run a tablet.

    Regards,
    Scott.

  5. #5
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,347
    Vote Rating
    846
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Many things are the same.. for example the form. The syntax is pretty similar and you could add the different bits in to allow to work with both. In ExtJS you can specify the fieldLabel whereas in Sencha Touch it's just label so why not specify both? I did this for a test and it worked out well. So you won't always have to double your extensions but just think what is common and what isn't.

    Thought about seeing if an adapter would work but never got that far as the previous way worked for me.

    If you don't like that approach, abstract out the stuff that is the same then build on top of that but I'm sure that's trivial for you.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  6. #6
    Sencha User steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,664
    Vote Rating
    7
    steffenk has a spectacular aura about steffenk has a spectacular aura about steffenk has a spectacular aura about

      0  

    Default


    We will see how good seperation between components and views work at the end. Anyway i love to rewrite the application as this allows to make it more generic, starting from scratch with better structure, now with better knowledge and experience. I don't expect to reinvent the wheel, i just try to find out what i will need for this project.
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

Similar Threads

  1. Replies: 10
    Last Post: 20 Jan 2012, 10:10 AM
  2. Replies: 2
    Last Post: 26 Nov 2010, 9:58 AM
  3. Sencha Touch on iPhone v1 / iPod touch v1 ?
    By palnap in forum Sencha Touch 1.x: Discussion
    Replies: 4
    Last Post: 28 Oct 2010, 5:30 PM
  4. Replies: 2
    Last Post: 9 Sep 2010, 10:24 AM

Thread Participants: 3