Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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.
 
Yeast devil! Back to the oven that baked you! And take this tiny ad too:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic