Modular Javascript - Javascript Tutorial on the Object Literal Pattern

Publié le: 22 juillet 2015
sur la chaîne: LearnCode.academy
245,308
2.3k

This javascript tutorial covers the javascript object literal pattern for web developers. We'll cover how to build a basic module in javascript.

The object literal pattern is also shown in this great e-book by Addy Osmani: http://addyosmani.com/resources/essen...

The simplest pattern for modular javascript is the object literal pattern - it adds all values and methods on a single object, thus encapsulating all of the module's function into one object. The downside of this pattern, is it leaves all of the module's data accessible.

Modular JS #2 - Object Literal Pattern pt 2:
   • Modular Javascript #2 - Converting jQ...  

Modular JS #3 - Revealing Module Pattern:
   • Modular Javascript #3 - Revealing Mod...  

~-~~-~~~-~~-~
Also watch: "Responsive Design Tutorial - Tips for making web sites look great on any device"
   • Responsive Design Tutorial - Tips for...  
~-~~-~~~-~~-~


Sur cette page du site, vous pouvez voir la vidéo en ligne Modular Javascript - Javascript Tutorial on the Object Literal Pattern durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur LearnCode.academy 22 juillet 2015, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 245,308 fois et il a aimé 2.3 mille téléspectateurs. Bon visionnage!