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

MVC pattern

 
Ranch Hand
Posts: 260
  • 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 the MVC I and MVC II architectures?
The MVC patterns states the the model updated the view based on state changes in the system.How is this possible in a web based scenario?
thanks in advance
William
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think you would have answered yourself in another line or so. Web architecture is different enough to get the "II".
 
Bartender
Posts: 1155
20
Mac OS X IntelliJ IDE Oracle Spring VI Editor Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, HTTP limits the way in which the MVC can be implemented. Using a java swing client (more Model, View-Controller) - you can have the model inform each observable view when a change has happened. Of course you this is not possible (as far as I know) using HTTP.

Strangely I've recently been using an old legacy database product called Informix 4GL . This technology is a least 10 years old, not OO, or MVC - but can successfully separates software into different layers. The 4GL forms are a bit like views, the 4GL programs can serve as controllers, and the database as a model.
 
Stan James
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Cool. Architectural layering is not new. I made a really clean layered architecture in mainframe CICS in the 80s, even though I didn't know the right words for it. I was almost sad to move to PC programming before I could use it again. I'm sure we could mine lots of smart designs out of old systems.
 
reply
    Bookmark Topic Watch Topic
  • New Topic