• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

What is Framework

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I didn't understand what is the difference between a Framework and Disign pattern. I think both provide guidelines of desing for commonly occuring problems. Am I right?
Thanks in advance
Sudhakar
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Almost.
In the usage I'm familiar with, a Framework is an actual implementation of some sort, which embodies some design idea but is extendable or customizable to make specific applications.
A Design Pattern, on the other hand is a shared understanding of a possible solution to a class of problems, together with information about things which indicate when it might or might not be suitable.
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good answer, Frank. A good resource for this kind of questions is the Frameworks page maintained by Ralph Johnson (http://st-www.cs.uiuc.edu/users/johnson/frameworks.html) who should know a bit about both, since he's one of the co-authors of "Design Patterns" and one of the world's most foremost experts on Frameworks
Kyle
 
Ranch Hand
Posts: 319
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is this stuff called Blue Prints? Are they different from Patterns or another name given to patterns?
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sudharsan,
From your last post, I think you are referring to Sun's Java Blueprints at http://java.sun.com/blueprints/
They are composed of best practices, patterns and guidelines. Hope that helps!
- julian
[ September 17, 2002: Message edited by: Julian Sitkewich ]
 
Sudharsan Govindarajan
Ranch Hand
Posts: 319
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yeah! I was referring to Sun's Java Blueprints. Thanks for that clarification.
 
Greenhorn
Posts: 9
Mac VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by sur sudhakar:
Hi All,
I didn't understand what is the difference between a Framework and Disign pattern. I think both provide guidelines of desing for commonly occuring problems. Am I right?
Thanks in advance
Sudhakar



Hi Sudhakar,
okay in short:
A framework is a kind of tool helping you solving specific problems in a specific context or domain. I.e.: a framework can help you to develop a webapplication providing a kind of FRAME, you'll modify to your specific requests.
Design patterns are common solutions to given problem domains. A framework could use the Frontcontroller pattern to delegate requests/response to a web application. Also an application with GUI-elements should use a model-view-controller pattern.
Hope, this simple explanation helps...
Have fun,
Ralf
 
Blueberry pie is best when it is firm and you can hold in your hand. Smell it. And smell this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic