Take a look at PageKit (www.pagekit.org) - i use it and i like it.
This is good Perl MVC framework.
Anton.
- Original Message -
From: "F. Xavier Noria" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 26, 2002 12:09 PM
Subject: how to pass data
At 16:06 26.02.02 +0100, you wrote:
>So, a controller could in principle perform a call to a template engine
>as yours does, conceptually there is no need to do that internal
>redirect. In fact, there is no need to have two different files if I
>take the pattern a bit further. For instance, I be
F. Xavier Noria wrote:
> For example, in the
> hangman game in O'Reilly's book a controller would load a session from
> the cookie, process user's guest, modify the state and redirect the
> request internally to the view.
It would probably be orders of magnitude faster to just call a template
en
On Tue, 26 Feb 2002 08:32:37 -0500
"Henigan, Timothy" <[EMAIL PROTECTED]> wrote:
: I don't know if this is the best design, but it works for this application.
: If you made it this far into the email, you might be interested in some
: sample code...let me know. If you have comments, please speak
$r->pnotes persist across internal_redirects, I believe.
--Jon Robison
Igor Sysoev wrote:
>
> On Tue, 26 Feb 2002, F. Xavier Noria wrote:
>
> > I suppose that controllers would use internal redirects to call the
> > views, is there a way to pass Perl data this way? For example, in the
> > han
I am also implementing a MVC pattern under mod_perl for an internal project
at work. The app collects process data from our manufacturing processes and
makes it available on the internal network. Here's a quick overview of the
way I've done it.
Model:
The model consists of a backend database
Surprisingly I'm actually doing a proof of principle on the same theme.
I'm developing a set of MVC classes which tie in with either tt2 or mason.
I've got abstract Model, View and Controller classes. View can be
subclassed into HTML, XML, whatever. I'm using normal classes at the
moment, but i
> I suppose that controllers would use internal redirects to call the
> views, is there a way to pass Perl data this way?
For the project I work on (a WWW-enabled PKI), we simply use CGI-encoded
URLs. This way, we can do the controllers in Perl and the views in
PHP, which is great for security
On Tue, 26 Feb 2002, F. Xavier Noria wrote:
> I suppose that controllers would use internal redirects to call the
> views, is there a way to pass Perl data this way? For example, in the
> hangman game in O'Reilly's book a controller would load a session from
> the cookie, process user's guest, m
As an exercise studying mod_perl I am trying to see how could the MVC
pattern be implemented. I've thought a possible approach would be to
write the model using normal Perl classes, and controllers and views
with Apache modules.
I suppose that controllers would use internal redirects to call the
10 matches
Mail list logo