[opencms-dev] Model View Controller and OpenCMS

Raúl Lorenzo raul.lorenzo at altia.es
Thu Apr 19 08:51:23 CEST 2007


Hello,

In this case I can´t use structs. The project is taking a lot of time so 
I can´t learn struts and integrate it with OpenCMS. In other moment I 
think to use it.

Thanks

Jack Bakker escribió:
> Or you could use Struts 1.* which integrates well with OpenCms. Haven't
> looked at integrating Struts 2/OpenCms yet.  
> 
> But I don't put all requests through Struts. That would be a waste of time. 
> 
> .....................................
> Jack Bakker 
> -----< www.iable.ca >----------------
>  
> 
>> -----Original Message-----
>> From: opencms-dev-bounces at opencms.org 
>> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of 
>> Christoph P. Kukulies
>> Sent: April 18, 2007 1:13 PM
>> To: The OpenCms mailing list
>> Subject: Re: [opencms-dev] Model View Controller and OpenCMS
>>
>> 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
>>
>> _______________________________________________
>> 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
>>
>>
> 
> 
> 
> _______________________________________________
> 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
> 
> 

-- 
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



More information about the opencms-dev mailing list