What is difference between Design Pattern and FrameWork.

Showing Answers 1 - 4 of 4 Answers

Viji

  • Nov 24th, 2005
 

A Framework is a skeleton of code used for developing an application with ease.It could have used several design patterns to implement the skeleton upon which we generally build applications.Eg. Struts Framework uses MVC2 architecture, various design patterns like Front- Controller,Composite,Command patterns.

Such design patterns used in the framework also helps to build applications with simplicity eg.. struts-config.xml makes ur app configurable ,resuable,fewer impacts on changes to functionality (Command pattern)Can go thru Struts architecture for further details.

  Was this answer useful?  Yes

Gopinath

  • Apr 26th, 2006
 

FrameWork in general specifies collection Of classes and Interfaces that are designed to work together to handle a particular type of Problem. eg:-Struts

Design Pattern refers to a repetable solution for a commonly occuring software problem eg:- DAO

  Was this answer useful?  Yes

Lokesh

  • Oct 9th, 2007
 

Framework is a skelton of code for developing particular type of application. For example, house can be treated as framework because it have predefined components like kitchen, bathroom, bedroom etc. Further it can be used to use to develop any type of house.

Where as a design pattern is a solution for particular problem. For examlpe design pattern for reusability.

So the relationship betbeen framework and design pattern is that a framework is made by using one or more design patterns.

Lokesh Kumar Singh.
(Faizabad, pune)  

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions