SKOAR!       / SHOPPING
  News Features Downloads
 
Channel 5
Welcome to Channel 5 – the home for HTML Developers!

HTML5 is the next major update to the W3C HTML specification providing a standard structure for presenting content on the web. The W3C HTML5 specification adds new features like graphical support through SVG and Canvas, multimedia support like inlive video and audio, as well as new APIs to make it easier for developers to create rich, interactive web applications..
JavaScript design patterns: Adapter, decorator, and factory
Posted By: Channel 5
20
Posted On: 24th May, 2012

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. 

Part – 1: http://www.adobe.com/devnet/html5/articles/javascript-design-patterns-pt1-singleton-composite-facade.html

Part – 2: http://www.adobe.com/devnet/html5/articles/javascript-design-patterns-pt2-adapter-decorator-factory.html

To get more such updates delivered to your inbox, subscribe now to free newsletter
 
Tags:
Latest Updates from
Facebook Activity