1. #1
    Sencha User
    Join Date
    Apr 2012
    Location
    indore, india
    Posts
    2
    Vote Rating
    0
    RohitChhonker is on a distinguished road

      0  

    Default Basic of Ext JS

    Basic of Ext JS


    Hi guys,
    As i am new to extjs i just want to understand basic phenomenon of ext js , i got confused when i saw class concept in extjs programming , because in javascript we only deals with objects. Can anybody help me to understand the relevance of using class , extend and object instantiation fundamentals.

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


    JavaScript doesn't really have the concept of classes, they are really just functions and objects.

    Panel extends Container and the reason why one extends another is there is functionality in Container that Panel wants to use so Panel extends Container. If it didn't then you would have to duplicate code which would blow the library up quite a bit.
    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
    Apr 2012
    Location
    indore, india
    Posts
    2
    Vote Rating
    0
    RohitChhonker is on a distinguished road

      0  

    Default


    Thanks mitchell to have a good answer.

Thread Participants: 1