Create and deliver your own elearning using eduslide.net

Browse thousands of lessons. Create your own and share the knowledge.

Sign up for a free eduslide account !
Create your own courses.
Access thousands of lessons.

Design Patterns tutorials

Design patterns let programmers avoid re-inventing the wheel. The original book (Design Patterns by the "Gang of Four": Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides) was phenomenally successful. When the programmer faces a particular problem, all they have to do is to look up the correct matching design pattern and use it to implement the solution. In this tutorial VTC author Steve Holzner guides you through the most popular and useful design patterns, so you can begin incorporating them into your own code.

Author: Vtc

Introduction to Design Patterns

Introduction

System Requirements

The Strategy Design Pattern

Introducing the Strategy Design Pattern

Overview of the Strategy Design Pattern

Coding the Strategy Design Pattern

Executing the Strategy Design Pattern

The Decorator Design Pattern

Introducing the Decorator Design Pattern

Overview of the Decorator Design Pattern

Coding the Decorator Design Pattern

Executing the Decorator Design Pattern

The Factory Design Pattern

Introducing the Factory Design Pattern

Overview of the Factory Design Pattern

Coding the Factory Design Pattern

Executing the Factory Design Pattern

Coding the GoF Factory Design Pattern

Executing the GoF Factory Design Pattern

The Observer Design Pattern

Introducing the Observer Design Pattern

Overview of the Observer Design Pattern

Coding the Subject

Coding the Observers

Executing the Observer Design Pattern

The Chain of Responsibility Design Pattern

The Chain of Responsibility Design Pattern

Coding the Chain of Responsibility D.P.

Executing the Chain of Responsibility D.P.

The Singleton Design Pattern

Introducing the Singleton Design Pattern

Coding the Singleton Design Pattern

Executing the Singleton Design Pattern

Handling Multithreading

The Flyweight Design Pattern

Introducing the Flyweight Design Pattern

Coding the Flyweight Design Pattern

Executing the Flyweight Design Pattern

Handling Multithreading

The Adapter Design Pattern

Introducing the Adapter Design Pattern

Coding the Adapter Design Pattern

Executing the Adapter Design Pattern

The Facade Design Pattern

Introducing the Facade Design Pattern

Coding the Facade Design Pattern

Executing the Facade Design Pattern

The Template Design Pattern

Introducing the Template Design Pattern

Coding the Template Design Pattern

Executing the Template Design Pattern

Customizing Templates With Hooks

The Builder Design Pattern

Introducing the Builder Design Pattern

Coding the Builder Design Pattern

Coding the Buildable Object

Executing the Builder Design Pattern

The Iterator Design Pattern

Introducing the Iterator Design Pattern

Coding the Collection

Coding the Iterator

Executing the Iterator Design Pattern

The Composite Design Pattern

Introducing the Composite Design Pattern

Coding the Leaves

Coding the Branches

Executing the Composite Design Pattern

The State Design Pattern

Introducing the State Design Pattern

Coding the States With Methods

Executing State Design Pattern With Methods

Coding the States With Objects

Creating the State Objects

Executing State Design Pattern With Objects

The Proxy Design Pattern

Introducing the Proxy Design Pattern

Coding the Server

Coding the Proxy

Executing the Proxy Design Pattern

The Command Design Pattern

Introducing the Command Design Pattern

Coding the Receiver

Coding the Commands

Executing the Command Design Pattern

The Mediator Design Pattern

Introducing the Mediator Design Pattern

Coding the Mediated Objects

Executing the Mediator Design Pattern

Additional Patterns

The Abstract Factory Design Pattern

The Prototype Design Pattern

The Bridge Design Pattern

The Interpreter Design Pattern

The Memento Design Pattern

The Visitor Design Pattern

The Circular Design Pattern

Coding the Circular Design Pattern

Executing the Circular Design Pattern

The Double Buffer Design Pattern

Coding & Executing Double Buffer D.P.

The Recycle Bin Design Pattern

The Model/View/Controller Design Pattern

Creating Your Own Design Patterns

Intent

Motivation

Applicability

Structure

Participants

Collaborations

Consequences

Implementation/Sample Code Pt.1

Implementation/Sample Code Pt.2

Known Uses

Related Patterns

Wrap Up

About the Author

About the Author