Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: First impressions

  1. #11
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Vote Rating
    1271
      0  

    Default

    Quote Originally Posted by westy View Post
    I notice you don't use Ext.create anywhere anymore, but instead use new.
    I'm guessing it's for the performance improvement.

    So, should we no longer be using create for our own classes?
    What impact does this have on the build process with JSBuilder?
    Yes, we save some performance by using new internally. If the class is already loaded then there is really no need for using Ext.create.
    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

  2. #12
    Sencha Premium User westy's Avatar
    Join Date
    Feb 2009
    Location
    Bath, UK
    Posts
    1,019
    Vote Rating
    107
      0  

    Default

    Edit: Going to break out further posts into their own threads else some will never get spotted...
    Product Architect
    Altus Ltd.

  3. #13
    Sencha Premium User westy's Avatar
    Join Date
    Feb 2009
    Location
    Bath, UK
    Posts
    1,019
    Vote Rating
    107
      0  

    Default

    Just to add, this bug has now bitten me, and not convinced by Evan's answer at this stage; renderTo is a config option for a component so you can't add it as a child of the component at that stage since it does not exist yet...
    Product Architect
    Altus Ltd.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

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