Wednesday, May 16, 2012

Javascript - Revealing Module pattern

Over the last couple of months I have grown to love structuring my JavaScript code using the "Revealing Module" pattern. I love the fact that it promotes the use of OO concepts in JS. With VS2011 adding more intellisense support to JS, it makes the use of this pattern so much better. Read more about it on Dan Wahlin's blog - http://weblogs.asp.net/dwahlin/archive/2011/08/02/techniques-strategies-and-patterns-for-structuring-javascript-code-revealing-module-pattern.aspx

No comments:

Post a Comment