Explain how do you differentiate between design pattern and framework ?

 Posted by Niladri.Biswas on 11/29/2012 | Category: Design Pattern & Practices Interview questions | Views: 3035 | Points: 40
Answer:

A design pattern differs from a framework in a number of ways.Some of them are listed here -

a) Design patterns are recurring solutions to problems that arise during the life of a
software application in a particular context.

A framework is a group of components that cooperate with each other to provide a reusable architecture for applications with a given domain.

b) Patterns are logical in nature.

Frameworks are more physical in nature, as they exist in the form of some software.

c) Pattern descriptions are usually language agnostic.

Because frameworks exist in the form of some software, they are implementation-specific.

d) Patterns are more generic in nature and can be used in almost any kind of
application.

Frameworks provide domain-specific functionality.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response