Lambda the Ultimate

inactiveTopic Struts, an open-source MVC implementation
started 2/14/2001; 9:46:43 AM - last post 2/14/2001; 2:41:18 PM
Chris Rathman - Struts, an open-source MVC implementation  blueArrow
2/14/2001; 9:46:43 AM (reads: 858, responses: 2)
Struts, an open-source MVC implementation
Having just read the O'Reilly books on Servlets and Java Server Pages, I find that neither of these standards is satisfactory in obtaining MVC seperation. Servlets mix presentation into the model. JSP mixes the model into the presentation.

Struts is part of the Jakarta project (which is part of the Apache project). It attempts to act as an intermediary between servlets and jsp to get a true seperation of the model and viewer.

Seperation of content (model) from presentation (viewer) is the holy grail that everyone seems to be pursuing these days. Lot's of template languages cropping up.
Posted to OOP by Chris Rathman on 2/14/01; 9:48:02 AM

Ehud Lamm - Re: Struts, an open-source MVC implementation  blueArrow
2/14/2001; 10:49:35 AM (reads: 832, responses: 0)
Maybe someone would find this paper on using MVC useful. (I chose a paper focused on the ST-80 background of MVC).

Chris Rathman - Re: Struts, an open-source MVC implementation  blueArrow
2/14/2001; 2:41:18 PM (reads: 809, responses: 0)
Pure MVC object frameworks are probably rare these days. Most of the ST implementations have slightly altered the framework. For example, Dolphin Smalltalk uses an MVP triad (Model-View-Presenter). For the most part, the C in MVC (the controller) has become less and less important.

One thing I should have mentioned is that MVC in desktop (or even client-server apps) is fairly mature. With the advent of using browsers as thin clients, though, the software world has taken a step backwards and is just now trying to get back to where we were. If you've ever generated html from perl or asp scripts, you know there has to be a better way.