Code and Slides: Techniques, Strategies, and Patterns for Structuring JavaScript Code

Posted by dwahlin on ASP.net Weblogs See other posts from ASP.net Weblogs or by dwahlin
Published on Sat, 31 Mar 2012 16:42:00 GMT Indexed on 2012/03/31 17:30 UTC
Read the original article Hit count: 328

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.

image

© ASP.net Weblogs or respective owner

Related posts about Design Patterns

Related posts about DevConnections