Saturday, April 07, 2007

Patterns in Software Development

April 2

Patterns for software development

Desing Patterns are very useful for software implementation,reengineering and reuse।As a fledging software developer and design patterns student,im very interesting to understand about the design patterns and learn how they can use software engineering.


Types of Design Pattern

The Gang of four (GOF) are founders of the software design patterns.According to them ,there are three catogories of software design Pattens.These are

  • Creational Patterns
  • Structural Patterns
  • Behavioral Patterns

Creationa Patterns

Creational Patterns are dealing with object creatation machanism,which trying to create an objects to find a suitable solution.The Creational pattern solve the problem by controling the object creation which gives result in basic form of object creation.

  • Abstract Factory
  • Builder
  • Factory method
  • Prototype
  • Singleton

Behavioral Patterns

Behaviroal patterns identify common communication patterns between objects and realized patterns.

  • Adapter
  • Builder
  • Composite
  • Decorator
  • Facade
  • Flyweight
  • Proxy

Structural Patterns

Structural Patterns show how classes and objects are composed into larger structure.

  • Chain of resp
  • Command
  • Interpreter
  • Iterator
  • Mediator
  • Memento
  • Observer
  • State
  • Strategy
  • Template Method
  • Visitor

*Design Patterns-Data and object factory-http://www.dofactory.com/Patterns/Patterns.aspx
.

What is a pattern ?

April 1

What is a pattern ?

During late 1970,Alexander Christoper and his collegues were introduced architecture patters to solve the design problem in building architecture. This was the first discover about the pattern language which we are using many fields every day for resolve problem.


Some Definition for patterns?

This is Alexander's definition about patterns

"Each pattern describes a problem which occurs over and over again in our environment,and then describes the core of the solution to that problem,in such a way that you can use this solution a million times over,without ever doing it the same way twice"

Christoper Alexander - A Pattern Language:
Towns/Buildings/Construction 1977,New York:
Oxord University Press

Consequently his methods have used to many different fields such as design patterns uses in software engineering and pedagogical patterns in education. The design patterns, let designers easy to capture the body of knowledge and understand about good system architecture that meets the need of customers.

What are patterns not ?

-Patterns are not untested theories
-This is not a solution,which some one have worked once.This is a best Solution for occuring problem.
-Its applicable to every Context.

*Introduction to patterns- Dr.M.G.Srikanthan-Class Notes-2006 feb