Post tagged "Design Patterns"

If you cannot find what you are looking for, check the archives or use the category list provided in the right side-bar to view postings by category.

Here are the results of your request:

14 Nov 2008

Strategy Design Pattern

If you have the algorithms with conditional statements in the client code it will be messy. The Strategy pattern moves an algorithm from the client code to a separate class. A program that requires a...

10 Nov 2008

Factory Method Pattern in JavaScript

Last two months I posted about Factory Method Design Pattern in C#. Now I do the same thing in JavaScript. This is a simple example of the factory method pattern in JavaScript, The factory method getPhone()...

28 Sep 2008

Factory Method Design Pattern

The factory method pattern is a design pattern that allows for the creations of objects without specifying the type of object that is to be created in code. A factory class contain a method that...

23 Sep 2008

What are Design Patterns?

Working everyday and sitting at your desk in front of your computer, you stare into space, trying to figure out how to write a new feature for your software. You know intuitively what must be...