What is the difference Framework and Pattern
3 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anil_Reddy
Posted On:   Thursday, December 25, 2003 10:47 PM

What is the difference Framework and Pattern

Re: What is the difference Framework and Pattern

Posted By:   Alan_Scales  
Posted On:   Saturday, January 10, 2004 10:42 AM

hi,

please refer to the following link,

http://www.cmcrossroads.com/bradapp/docs/patterns-intro.html

below is an abstract,

The [GoF] book describes the major differences between design patterns and frameworks as follows:


Design patterns are more abstract than frameworks. Frameworks can be embodied in code, but only examples of patterns can be embodied in code. A strength of frameworks is that they can be written down in programming languages and not only studied but executed and reused directly. In contrast, design patterns have to be implemented each time they are used. Design patterns also explain the intent, trade-offs, and consequences of a design.

Design patterns are smaller architectural elements than frameworks. A typical framework contains several design patterns but the reverse is never true.

Design patterns are less specialized than frameworks. Frameworks always have a particular application domain. In constrast, design patterns can be used in nearly any kind of application. While more specialized design patterns are certainly possible, even these wouldn't dictate an application architecture.

hope this helps,
alan scales

Re: What is the difference Framework and Pattern

Posted By:   Anonymous  
Posted On:   Sunday, December 28, 2003 01:36 AM

What do you think they have in common? Why do you ask?

Re: What is the difference Framework and Pattern

Posted By:   Christopher_Koenigsberg  
Posted On:   Friday, December 26, 2003 06:02 AM

A "framework" often is a toolset that encourages its clients to follow a certain "pattern", by making it easier to implement things that way.

About | Sitemap | Contact