• Post Reply Bookmark Topic Watch Topic
  • New Topic

Difference between framework and design pattern

 
Sowjanya Chowdary
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could anybody, please explain the difference between framework and design pattern?
-Sowjanya
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A framework generally refers to a concrete set of classes and other assets that constitute a starting point from which to build an application or to perform a specific function. A framework offers services as well as suggestions for creating your own classes that tie into those services.

A design pattern is an abstract idea. It is a suggestion for writing your classes in a certain way to accomplish a certain task. A design pattern generally does not offer any concrete classes or other assets. Think of it as a blueprint for solving a specific programming problem.
 
Sowjanya Chowdary
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Merrill!!
 
mooooooo ..... tiny ad ....
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!