Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Difference Between Architecture and Framework

 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai All,


My understanding about Architecture and Framework as given below, you are people correct me if iam wrong.


Architecture is a logical view, it means doesn't have any implmentation(java classes), just has an idea where to put each components(jsp, servlet and model component for MVC architecure). We can also called as Design pattern.

Framework is an implementation of an Architecture. Like Spring(Application Architecture), Struts(MVS web App Architecture) are some framework.

This is what i perecieved. If iam wrong, correct me.
 
Rancher
Posts: 43026
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't really agree with either definition.

Architecture is a logical view, it means doesn't have any implmentation(java classes), just has an idea where to put each components(jsp, servlet and model component for MVC architecure). We can also called as Design pattern.



The architecture provides the 'big picture'. It is above any particular design pattern (any number of which may be used to implement an architecture.) Personally, I would call MVC a design pattern, rather than an architecture. An architecture is specific to one particular application, while MVC is a generic concept.

Framework is an implementation of an Architecture. Like Spring(Application Architecture), Struts(MVS web App Architecture) are some framework.



A framework is a library that provides a particular service or set of services to be used by an implementation. As such, several frameworks may be used for an application, and a framework may be suitable for a wide range of architectures.
 
KasiMurugan Ramasamy
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes i agree on your definition for Framework.

But iam still confused on Architecture.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic