• Post Reply Bookmark Topic Watch Topic
  • New Topic

Diff between Architecture & Framework  RSS feed

 
jaya sudha
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone..

What is the difference between Architecture & Framework

Can anyone explain this...Thank u
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The SEI has collected hundreds of Definitions of Architecture plus My Own. I always say architecture is a view of design that includes how many modules you have, how big they are, how they share and divide responsibilities, how they communicate, where you put them, which ones you buy or build, and so on. Modules might be vast entities like partner companies, clusters, servers, components, beans, or classes because structures at nearly any level have some architectural elements.

Framework also means many things to many people. To me it usually means some code that provides base functionality and invites us developers to plug custom bits in at specific points. For example a Servlet container provides many services and invites developers to write servlets that plug into the standard container API. And I have a single abstract SAX content handler that I call a framework because it does a lot of low level detail work and invites developers to override a handful of methods. There is often some role-reversal when using a framework. Instead of coding all the control for an entire program you give up some degree of control and just write little plug-in bits.

Hope that helps!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!