Articles for: Design Pattern

JavaScript Prototype Design Pattern

This article show a few examples about prototype pattern especially base class creation, inheritance and how access base class.

JavaScript Strategy Pattern

We are going to take a look at Strategy Pattern in JavaScript with example how it could be useful in e-commerce web application.

JavaScript Closures

Information and benefits about Closures. Why is bad using global variables and how to use Closures instead.

JavaScript Namespaces

The best approach to create code structure is by using namespaces. In JavaScript namespacing is achieved by Module Pattern.