Code and Slides: Techniques, Strategies, and Patterns for Structuring JavaScript Code
This presentation was given at the spring 2012 DevConnections conference in Las Vegas and is based on my Structuring JavaScript Code course from Pluralsight. The goal of the presentation is to show how closures combined with code patterns can be used to provide structure to JavaScript code and make it more re-useable, maintainable, and less susceptible to naming conflicts. Topics covered include:
- Closures
- Using Object literals
- Namespaces
- The Prototype Pattern
- The Revealing Module Pattern
- The Revealing Prototype Pattern
View more of my presentations here.
Sample code from the presentation can be found here. Check out the full-length course on the topic at Pluralsight.com.