• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Framework -- Architecture

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is the difference between Framework & Architecture.
Thanks.
 
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Vinod Chamoli:
What is the difference between Framework & Architecture.
Thanks.


It is rather a question of semantics. IMHO: Architecture is a set of frameworks and the interfaces between them. They are really very similar conceptually but architecture contains frameworks. You can speak of architecture of a framework. In very remote way it is like building architecture that encompasses all the sub systems (electrical, air, plumbing, telephone, TV and such) of the building.
Hope that helps.
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Another difference is that while an architecture is purely abstract, a framework includes something concrete (for example, working code and not just interfaces).
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just to muddy the waters a bit ... many people define frameworks to have some special properties around "inversion of control". For example, when we switched from writing procedural C code to event driven Java code we gave up control during all the times the user is moving the mouse, typing in edit boxes, etc. The Swing framework calls us when events like button clicks happen. Frameworks tend to provide the basic structure of processing and call application code when they need information or think you deserve a chance to run a few lines of code. In contrast, "libraries" tend to deliver functional bits you can call without taking control from you. Hope that's useful.
 
Whoever got anywhere by being normal? Just ask this exceptional tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic