Results 1 to 2 of 2

Thread: initialize function in the class system

  1. #1
    Sencha User
    Join Date
    Nov 2010
    Vote Rating

    Default initialize function in the class system

    the sencha docs!/guide/class_system doc does not talk about the initialize function at all yet most custom components use it.
    why is it not in the docs? should I use it when I build a custom component? also whats the difference between constructor and initialize function?

  2. #2
    Sencha User bricemason's Avatar
    Join Date
    Jan 2008
    Upstate NY
    Vote Rating


    These links might help:

    Additionally I will say that chapter 3 of the book Sencha Touch In Action goes much more in depth into the component lifecycle. I have purchased the early access edition and I have found it worth it. More info here:

    Brice Mason
    Front End Developer
    Modus Create


    Sencha Touch Screencasts
    Vimeo - Sencha Touch Channel

    Github Projects:
    Sencha Cordova Builder enables the automatic creation, building, and running of PhoneGap (Cordova) projects with Sencha Touch.

    Am I Sencha Touch Ready? checks your system to determine what you need to do to start Sencha Touch development. If you're having trouble getting up and running, try this out.

    Sencha Tools Bridge allows Sencha SDK Tools to co-exist with Sencha Cmd on the same system.

Posting Permissions

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