----- Original Message -----
From: "Brett W. McCoy" <[EMAIL PROTECTED]> To: "Francesco Pasqualini" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, April 20, 2001 5:32 PM Subject: Re: modperl/ASP and MVC design pattern > 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 ? [...] > > Finally, my top-level layer was a simple script (this wasn't a class per > se) that was a 'driver' for the everything else -- I actually use a > modified form of Recipe 19.12 in the Perl cookbook. I maintain state > between page access through a single state variable, and have a hash that > manages my data class and the display class, and the state variable is > used to determine what 'page' to display, and handles top-level error > handling. this is very interesting ... and another good reason to buy the PerlCookBook. But are there in the mod_perl architecture some guidelines and/or frameworks that encourages the MVC design patern ? I think that Apache::ASP could be (for example) the right tool, adding the "forward" feature. http://java.oreilly.com/news/jsptips_1100.html (explanation of the "forward" action) Thanks Francesco > > -- Brett > http://www.chapelperilous.net/btfwk/ > ------------------------------------------------------------------------ > genealogy, n.: > An account of one's descent from an ancestor > who did not particularly care to trace his own. > -- Ambrose Bierce > > > |
- Re: modperl/ASP and MVC design patte... Ian Kallen <[EMAIL PROTECTED]>
- Re: modperl/ASP and MVC design ... Francesco Pasqualini
- Re: modperl/ASP and MVC des... ed phillips
- Re: modperl/ASP and MVC... f . pasqualini
- Re: modperl/ASP and ... ed phillips
- Re: modperl/ASP and MVC design patte... Joachim Zobel
- Re: modperl/ASP and MVC design patte... f . pasqualini
- Re: modperl/ASP and MVC design ... Joshua Chamas
- Re: modperl/ASP and MVC des... Francesco Pasqualini
- Re: modperl/ASP and MVC... Joshua Chamas
- Re: modperl/ASP and MVC design patte... Francesco Pasqualini
- Re: modperl/ASP and MVC design ... T.J. Mather
- Re: modperl/ASP and MVC design ... Perrin Harkins
- Re: modperl/ASP and MVC des... Gunther Birznieks
- Re: modperl/ASP and MVC design ... Joachim Zobel