Is MVC architecture applicable for web environment??

K

ketulp_baroda

Hi
Is the true mvc architecture ( with observer-observable pattern as
implemented in JAVA) not applicable for web environment??
I mean to say that the HTTP protocol is request/response based so
there is no notion of an "event" being notified ...
whereas the observer-observable pattern is based on event.
 
K

Kevin Dahlhausen

This caused me a lot of frustation when I moved to a java development
house. What most people call MVC in relation to web based apps is
not what the traditional MVC is in the sense of OWL, Fresco, and the
like. ( I've noticed in the java world that pundits tend to grasp a
concept, skew it, and promote it.)

People are actually referring to the common notion of a layered model
where there's a domain or persistence layer, 'controller' code that
manages flow of the pages and marshalling and unmarshalling web-form
data to domain objects, and a 'view' layer that is often the
templating system or server-pages.

It works well enough, especially on larger projects, I just wish it
were called something other than MVC.
 
K

ketulp_baroda

This caused me a lot of frustation when I moved to a java development
house. What most people call MVC in relation to web based apps is
not what the traditional MVC is in the sense of OWL, Fresco, and the
like. ( I've noticed in the java world that pundits tend to grasp a
concept, skew it, and promote it.)

People are actually referring to the common notion of a layered model
where there's a domain or persistence layer, 'controller' code that
manages flow of the pages and marshalling and unmarshalling web-form
data to domain objects, and a 'view' layer that is often the
templating system or server-pages.

It works well enough, especially on larger projects, I just wish it
were called something other than MVC.

Hi
I want to know wheteher observer-observable pattern is applicable for
web environment?? I mean to say that the HTTP protocol is
request/response based so
there is no notion of an "event" being notified ...
whereas the observer-observable pattern is based on event.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,767
Messages
2,569,571
Members
45,045
Latest member
DRCM

Latest Threads

Top