Mastery 05 – Design Patterns

Ever heard about blueprints, brainstorming or templates? If so you do know then that all of those are related on giving an idea, concept and a starting point of something.

We usually use those to make a starting point whenever we are going to code and believe it or not, drawing actually helps you out too.

Here are some examples:

Object Pool

Any expensive acquisition is avoided and the resources will always be released thanks to the replying of the objects that are no longer used

Abstract Factory:

Instance of family classes.

Builder

Separates object construction that is attached to the representation

Factory Method

Instance is created of several classes

Singleton

Class what has one and only one instance that can/will exist.

DESING BASED ON THE STRUCTURAL PATTERNS

Object and Class are based and are the fundamentals of this design type.

  • Adapter
  • Bridge
  • Composite
  • Decorator
  • Facade
  • Flyweight
  • Private Class Data
  • Proxy

BEHAVIORAL DESIGN PATTERS

It is oriented to the class objects and of course to the communication between them.

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s