1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    8
    Vote Rating
    0
    Answers
    1
    arkos is on a distinguished road

      0  

    Default Unanswered: Differnce between Ext.setup and Ext.application

    Unanswered: Differnce between Ext.setup and Ext.application


    hi.

    i am new on sencha touch and also new on extjs. so i walked trough the "getting startet" tutorials. it may be that i do not have all essential basics but i can not see a real difference between ext.setup and ext.application. one tutorial start with setup the next one with application. but none of the tutorials explains why...

    if there is a essential difference, can anyone explain it?

    thanks a lot,
    a.

  2. #2
    Sencha - Services Team arthurakay's Avatar
    Join Date
    Sep 2008
    Location
    Antioch, IL
    Posts
    1,235
    Vote Rating
    7
    Answers
    55
    arthurakay has a spectacular aura about arthurakay has a spectacular aura about

      0  

    Default


    They're very similar, but you should be using Ext.Application - which does things like setting up global namespaces for your MVC-style application, auto-creates a viewport, etc. Just read the API docs on Ext.Application.
    Arthur Kay
    Solutions Engineer, Sencha Inc.

    Twitter | Sencha Chicago User Group

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Posts
    8
    Vote Rating
    0
    Answers
    1
    arkos is on a distinguished road

      0  

    Default


    Quote Originally Posted by arthurakay View Post
    They're very similar...
    thanks a lot. that's what i need to know for now. was a bit confusing in the tutorials

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,637
    Vote Rating
    435
    Answers
    3106
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    It really depends if you want to use MVC or not... Ext.Application is for MVC whereas Ext.setup is more for simpler things... just a quick note.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    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 almost in print!

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

  5. #5
    Sencha User
    Join Date
    Aug 2011
    Posts
    8
    Vote Rating
    0
    Answers
    1
    arkos is on a distinguished road

      0  

    Default


    Quote Originally Posted by mitchellsimoens View Post
    It really depends if you want to use MVC or not...
    i will. i do! thanks. guess thread could be changes to "answered"...

  6. #6
    Sencha User
    Join Date
    Jan 2012
    Posts
    3
    Vote Rating
    0
    cormac.ecs is on a distinguished road

      0  

    Default How can elements be removed from the application in Ext.Setup and Ext.Application?

    How can elements be removed from the application in Ext.Setup and Ext.Application?


    It seems unclear from the documentation how an element in an application that is coded via Ext.Setup can be removed, versus the simpler "this.remove()" when using Ext.Application. Can anyone confirm?