Results 1 to 2 of 2

Thread: ExtJs and Sencha Touch

  1. #1
    Ext User
    Join Date
    Jul 2010
    Vote Rating

    Default ExtJs and Sencha Touch

    I'm trying to write some class compatible with both ExtJs and Sencha Touch frameworks.
    I'd like to get some information about how (and possibly when...) the two frameworks will converge in future, something like:
    - yes: the config object will be ported to ExtJs
    - the initComponent (ExtJs) will become initialize (ST2)
    - or the initialize (ST2) will become initComponent

    I understand that giving out roadmaps is hard and error prone, but I don't think to be the only one wondering how to best reuse some code between two different UI.

    Best regards

  2. #2
    Sencha Premium User suzuki1100nz's Avatar
    Join Date
    Apr 2011
    New Zealand
    Vote Rating


    Hi Michele,

    This is a time old question and yes Sencha are starting to merge the frameworks starting with a core package that will be shared (Store, model...) Sencha conference they announced that Touch charts will also be available to ExtJS and the Touch event framework will be moving into ExtJS as well.

    Are you trying to write an app that will run on both desktop and tablet?
    If so then ExtJS with Touch events maybe what your after.

    Otherwise we tackled this problem by using DeftJS style controllers and putting shared code into the controllers. We implemented overrides to cover the basics such as getEL() getParent().....

    To deal with the config object we ensured our shared controllers called accessor methods rather than accessing config or property values directly which meant they played nicely with Touch.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts