
Design patterns are proven ways of programming to help make your code more maintainable, scalable, and decoupled, all of which are necessary when creating large JavaScript applications, especially in large groups.
This is the second in a series of articles by Joe Zimmerman showing how to implement common design patterns in JavaScript. In this article he focuses on Adapter, Decorator, and Factory patterns along with a basic understanding of how to implement them. Before getting started the author who is a JavaScript developer, refreshes the readers on the Singleton, Composite, and Facade patterns which are covered in first part.
Both the articles altogether covers the basics behind the factory pattern. This series will be of great help to people who have basic JavaScript programming knowledge. It also has some links which can be useful for people who are looking to read up a little more on the factory pattern.
Both the articles can be reached at following addresses.