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
Re: modperl/ASP and MVC design pattern
Ian Kallen <[EMAIL PROTECTED]> Fri, 20 Apr 2001 11:01:07 -0700
- modperl/ASP and MVC design pattern Francesco Pasqualini
- Re: modperl/ASP and MVC design ... Brett W. McCoy
- Re: modperl/ASP and MVC design ... Joshua Chamas
- Re: modperl/ASP and MVC design ... Ian Kallen <[EMAIL PROTECTED]>
- Re: modperl/ASP and MVC des... Francesco Pasqualini
- Re: modperl/ASP and MVC... ed phillips
- Re: modperl/ASP and ... f . pasqualini
- Re: modperl/ASP... ed phillips
- Re: modperl/ASP and MVC design ... Joachim Zobel
- Re: modperl/ASP and MVC design ... f . pasqualini
- Re: modperl/ASP and MVC des... Joshua Chamas
- Re: modperl/ASP and MVC... Francesco Pasqualini
- Re: modperl/ASP and ... Joshua Chamas
- Re: modperl/ASP and MVC design ... Francesco Pasqualini