Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
P. 1
03 Patterns Cre Intro

03 Patterns Cre Intro

Ratings: (0)|Views: 12 |Likes:
Published by Uday Kumar

More info:

Published by: Uday Kumar on Aug 27, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPT, PDF, TXT or read online from Scribd
See more
See less

08/27/2011

pdf

text

original

 
AP 04/02
What is a Design Pattern
ÄEach pattern describes a problem which occursover 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 solutiona million times over,without ever doing it the same way twice³
(Christopher Alexander, Sara Ishikawa, Murray Silverstein, Max Jacobson,Ingrid Fiksdahl-King, Shlomo Angel, ³A Pattern Language: Towns/Buildings/Construction´, Oxford University Press, New York, 1977)
 
AP 04/02
Elements of Design Patterns
‡Pattern Name
 ±Increases design vocabulary, higher level of abstraction
‡Problem
 ±When to apply the pattern ±Problem and context, conditions for applicability of pattern
‡Solution
 ±Relationships, responsibilities, and collaborations of design elements ±Not any concrete design or implementation, rather a template
‡Consequences
 ±Results and trade-offs of applying the pattern ±Space and time trade-offs, reusability, extensibility, portability
 
AP 04/02
What is a Design Pattern (II)
‡Description of communicating objects and classes thatare customized to solve a general design problem in aparticular context.
(Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides, ³DesignPatterns ±Elements of Reusable Object-Oriented Software´, Addison-Wesley, 1994 (22
nd
printing July 2001))
‡Each pattern focuses in a particular object-orienteddesign problem or issue

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->