[opencms-dev] Model View Controller and OpenCMS

Christoph P. Kukulies kuku at physik.rwth-aachen.de
Wed Apr 18 19:13:03 CEST 2007


On Wed, Apr 18, 2007 at 04:43:32PM +0200, Ra?l Lorenzo wrote:
> Hello,
> 
> I am trying to implement a site with OpenCMS using MVC pattern. Someone 
> has done it?

Wouldn't the approach be better done directly with Java classes.
You gotta keep such a thing going with a message loop or something.
I've implemented such a thing in Objective C, but that was in 1990 or
so :-)

--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

> Next are some theories:
> 
> I want that JSP only has View Logic. So JSP shouldn´t know something 
> about Controller and Model.
> The controller, in teorical context, were the Servlets; but OpenCMS 
> implements it´s own Servlet.
> 
> 
> OpenCMSServlet -> (fordward to resource requested, p.example a JSP) -> 
> So with this focus the view always call a Controller or a class inside a 
> Jar Library.
> 
> My trying is something like this,
> 
> OpenCMSServlet -> MainJSP (In this MainJSP forward to a new mainServlet 
> for the site I am creating) -> MainSiteServlet -> MVC starts here.
> 
> What do you think? Any Idea?
> 
> Thanks in advance
> 
> 
> -- 
> Raúl Lorenzo Boullosa
> Desarrollador Aplicaciones Informáticas
> 
> Altia Consultores S.L.
> http://www.altia.es
> 
> C/Pontevedra nº 4, 6º
> 36201 Vigo (Pontevedra - España)
> Telf: +34 986 446 191
> Fax: +34 986 439 128
> Email: raul.lorenzo at altia.es
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list