1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    153
    Vote Rating
    1
    JohnT is on a distinguished road

      0  

    Default A general question about using this code

    A general question about using this code


    As some may know, I am new and jumped head first into developing with Javascript.

    My question is this , let's say I have made an object:

    Code:
    var myCoolObject = new someObject();
    and within my new object I want to use some (alot) of Jack's stuff. For simplicity's sake, let's say a dialog box.

    My Questions:
    1. Are there any scope issues I need to keep in mind?
    2. Is there a best practice for using YUI EXT from within your own classes?
    3. and lastly, should I create YUI EXT objects (like a dialog) from within, or outiside of my class? Or does it matter?

    I sure would appreciate anything you can offer. I want to learn the right way, the first time, rather than pick up some bad habits, know what I mean?

    Thank you.[/list]

  2. #2
    Ext User
    Join Date
    Mar 2007
    Posts
    153
    Vote Rating
    1
    JohnT is on a distinguished road

      0  

    Default


    NM... after an hour of experimenting, I answered my own questions.

    I was happy at the results! As long as I maintain the correct scope of my objects, I can use them wherever I want.

    Nice.


Similar Threads

  1. Code Development - What's the best way?
    By Webnet in forum Community Discussion
    Replies: 10
    Last Post: 8 Mar 2007, 5:53 AM
  2. .40 alpha code?
    By jason in forum Community Discussion
    Replies: 4
    Last Post: 14 Jan 2007, 10:16 PM
  3. Code Assist and help editor with yui-ext?
    By ejetorix in forum Community Discussion
    Replies: 2
    Last Post: 3 Dec 2006, 5:16 PM
  4. Clean Code...
    By zquirm in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 6 Nov 2006, 6:53 PM
Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."