• 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
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

MVC

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, guys.
Well I've been in a discussion recently about MVC:
- I believe MVC architecture composes the presentation tier, correct?
- People are telling me MVC is composed of 3 tiers: Model - View - Controller. I think that's wrong. MVC is a whole architecture for the presentation layer.(Correct me if I'm wrong). I believe Model - View - Controller are just patterns that compose the whole architecture, not a layer itself.
- And therefore, MVC is just one tier.
What can you say about this?
Thanks in advance.
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Model, View, and Controller are concepts which you can use to explain a software architecture.
In the classic Smalltalk implementation, each concept is an object.
In Swing, for eaxh widget the View and Controller are smooshed together into one clump of objects, and the Model is another object.
But it's not incorrect for me to talk about a classic 3-tiered architecture seeing the database as the Model, the middle tier as the Controller, and the GUI as the View. Now, in this case, the View is actually a complex thing which itself contains a separate Controller and View, and uses the lower tiers as a Model.
But as I said, these things are just explanatory concepts, and you use them whenever they make sense.
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe that MVC are only one tier!
[ October 02, 2003: Message edited by: Dalton Milkvicz ]
 
We begin by testing your absorbancy by exposing you to this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic