You can (I have) accomplish this with mod_perl and HTML::Mason, Mason's
root level autohandler can play the role of the JSP model 2
"controller servlet": dispatching logic processing to Perl objects (er,
beans) and "forwarding" to a view (with the Mason $m->call_next or
$m->comp mechanisms).  I think the Apache::Dispatch stuff can also
perform this role (haven't played with it to say for certain).  I'll
qualify this by saying MVC is not a end in itself, there are a lot of
modern requirements for flexible branding, client form factor appropriate
and locale specific presentations that require the view/controller part to
be a lot smarter than the traditional concepts of MVC that I've seen call
for.  I've been referring to these needs in my own engineering discussions
as (yikes) MVC++  :)

On Fri, 20 Apr 2001, Francesco Pasqualini wrote:
> an interesting feature of JSP is the possibility to use the MVC design pattern 
>(INPUT/OUTPUT/LOGIC separation)
> This is obtained  with the "forward" instruction.
> How the MVC design pattern can be implemented in the mod_perl (and specifically 
>Apache::ASP) architecture ?

cheers,
-Ian

--
Ian Kallen <[EMAIL PROTECTED]> | AIM: iankallen

Reply via email to