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
    Sencha User
    Join Date
    Jun 2011
    Posts
    27
    Vote Rating
    0
    misterblinky is on a distinguished road

      0  

    Question Code reuse across Web (Ext JS) and Mobile (Touch) applications?

    Code reuse across Web (Ext JS) and Mobile (Touch) applications?


    I asked this question a couple of times at SenchaCon 2011 and didn't get a definitive answer, but the general vibe appears to be that the answer is "No." I want to ask the community to see if anyone else has experience with this and can help answer the question definitively:

    If I want to write a web app using Ext JS and a mobile app using Sencha Touch, can I write from a single code base? To what extent can I share code between the applications I write in each?

    Is the ability to do this an active part of the Sencha plan? If so, when will it be delivered?

    One would think that model management code and possibly controller code could be shared across Touch and ExtJS apps.

    thanks for your thoughts

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,519
    Vote Rating
    813
    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


    This has been asked a lot...

    The answer is yes and no. Yes, models, stores, controllers, and some views can technically be shared between Ext JS 4 and ST 2 but no you wouldn't want to (models and stores you can).
    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.

  3. #3
    Sencha User
    Join Date
    Jun 2011
    Posts
    27
    Vote Rating
    0
    misterblinky is on a distinguished road

      0  

    Default


    Thanks for teh response but it was a wee bit ambiguous.

    So models and stores "more or less" yes

    Controllers and Views "more or less" no

    Any idea of the Sencha plans related to this?

    thx

  4. #4
    Sencha Premium Member
    Join Date
    Nov 2012
    Posts
    6
    Vote Rating
    0
    drv2fst is on a distinguished road

      0  

    Default


    So, it's been almost 2 years since this question was asked, any updates? If there is a way to share any amount of code between the browser version of an app and the mobile version, it would be a great help.

  5. #5
    Sencha Premium Member
    Join Date
    May 2011
    Posts
    47
    Vote Rating
    0
    bdvr is on a distinguished road

      0  

    Default


    I was really excited with the blog post a couple weeks ago announcing "One of the big themes for Sencha is more convergence between Touch and Ext JS". I've been waiting for this for a long time. Today's blog post confirms that Ext Js will now have some amount of support for tablets, but doesn't confirm that the code bases between the two frameworks are necessarily any closer together.

    The main thing I'm looking to do is share stores and models between desktop and mobile apps. Controllers would be great as well. View sharing would be nice for the cases where the desktop and mobile show essentially the same markup, albeit with a scroll bar and inertial scrolling respectively.

    Will any of these types of code sharing be possible with the forthcoming versions of the two frameworks?

  6. #6
    Sencha Premium Member
    Join Date
    May 2011
    Posts
    47
    Vote Rating
    0
    bdvr is on a distinguished road

      0  

    Default


    Or perhaps I'm asking the wrong question. Maybe I should be asking if Ext Js will have enough of the Sencha Touch functionality to port over an existing mobile app that runs on tablets, assuming that the intent is to build an app that adapts the UI to the device? That is, will Ext Js basically have all or most of the ST functionality and UI components, plus the Ext Js desktop components?

  7. #7
    Sencha User
    Join Date
    Jul 2013
    Location
    Singapore
    Posts
    2
    Vote Rating
    2
    Event venue Singapore is on a distinguished road

      0  

    Default


    I hope it has more than 'some' support for tablets, given the direction that computer design is headed...sencha needs to be ahead of the curve here. Can you define, 'some'?

  8. #8
    Touch Premium Member suzuki1100nz's Avatar
    Join Date
    Apr 2011
    Location
    New Zealand
    Posts
    445
    Vote Rating
    62
    suzuki1100nz is a jewel in the rough suzuki1100nz is a jewel in the rough suzuki1100nz is a jewel in the rough suzuki1100nz is a jewel in the rough

      0  

    Default


    Hi,

    I attended the conference and this is what I understand.
    ExtJS will be getting the touch event code base from the Touch framework i.e. that particular code base will be shared so all touch events will be available to ExtJS.

    This means your ExtJS application should run "ok" on a tablet.
    You have to remember that ExtJS caters for legacy browsers that aren't HTML5 compliant (IE 9 and below) so it cannot take real advantage of some of the awesome CSS3 features that make Touch perform so well on mobile and Tablet e.g. flexbox, transitions, translate2D 3D etc....

    So things like layouts in ExtJS remain managed by Javascript rather than Touch where it is mainly CSS and consequently a lot more performant.
    If you have a Touch application I wouldn't be ditching it for an ExtJS implementation thinking it will run better on a tablet, it wont - Touch is the preferred framework for required high performance delivery to a tablet.
    Sencha are starting to port across to Touch some of the richer ExtJS components and have started with the Touch grid.

    Sencha also indicated they would start merging core aspects of the frameworks so the code base is more consistent. The extent of this is fluid but they did list of some key areas.
    Most of which you can see when they make the conference videos publicly available.
    Or Mitchell maybe able to list some of them off.