Tutorial - Javascript Namespaces Extension

Veröffentlicht am: 11 Januar 2011
auf dem Kanal: Matheus “Matt” Pratta
1,686
3

Javascript Namespaces may be very useful.
Suppose you want to make a small framework (like jQuery) for your UI (that's how my idea started), you won't like to make lots of functions like MakeProgress or MakeButton, you may want to do something like $ui.Progress or $ui.Button...
In this case, you can use the namespaces to do that in a very easy way.
In this tutorial, I teach more how to extend these namespaces by using external files, so you can make your UI main file and add an file for forms, other for menus, etc.

For more informations on Javascript namespaces, check this article by "VectorX", at CodeProject: http://www.codeproject.com/KB/scripti...

For these that want to know how I recorded my screen, I used CamStudio, XFire codec with maximum quality and 200 frames per second.
The AVI file (recording) had 729MB in size, and the final MP4, had 75.4MB.


Auf dieser Seite können Sie das Online-Video Tutorial - Javascript Namespaces Extension mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Matheus “Matt” Pratta 11 Januar 2011 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,686 Mal angesehen und es wurde von 3 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!