This document discusses module patterns in JavaScript and asynchronous module definition (AMD) using RequireJS. It introduces the module pattern as a way to encapsulate code and expose public APIs. AMD and RequireJS are presented as solutions for asynchronously loading JavaScript modules and managing dependencies. Key advantages of the module pattern, AMD and RequireJS include maintaining encapsulation, organizing code into reusable modules, and handling dependency loading order. Challenges with large JavaScript applications using many modules are also addressed.
6. Encapsulation
• A language mechanism for restricting
access to some of the object's components.
http://en.wikipedia.org/wiki/Encapsulation_(object-oriented_programming)
24. CommonJS
• by Kevin Dangoor
• Volunteers and mailing list
• Unify server side JavaScript API
• Build JavaScript ecosystem
• Not an official organization