Results 1 to 3 of 3

Thread: Basic of Ext JS

  1. #1
    Sencha User
    Join Date
    Apr 2012
    Location
    indore, india
    Posts
    2
    Vote Rating
    0
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Location
    indore, india
    Posts
    2
    Vote Rating
    0
      0  

    Default

    Thanks mitchell to have a good answer.

Posting Permissions

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