Modular Javascript - Javascript Tutorial on the Object Literal Pattern
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: #modulepatternjavascript
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
221 view
2375
750
9 years ago 00:05:18 54
Modular Javascript #5 - PubSub Implementation
9 years ago 00:09:29 78
Modular Javascript - Prototypal Pattern vs Classical OOP in JS
9 years ago 00:21:41 120
Modular Javascript #2 - Converting jQuery to an Object Literal Module