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
Frameworks provide domain-specific functionality.
Asked In: Many Interviews |