There are many frameworks for building dynamic websites in Perl (Mason, Embperl, etc) and here is yet another one:
ENGINE::MVC
ENGINE because I once thought all caps package names were cool and now it's too late to change that all over the place and MVC because that's the abbreviation for Model, View, Controller.
The framework tries to make writing MVC-based in an perlish manner easy. A typical application looks like this:
our $Controller; # Singleton use ENGINE::MVC; use ENGINE::MVC::Controller edit_document => { model => "Customer::Project::Component::Edit::Model", view => "Customer::Project::Component::View", template => "document_edit.tt2" }, delete_document => { model => "Customer::Project::Component::Delete::Model", view => "Customer::Project::Component::View", template => "document_delete.tt2" } ; my $q = CGI->new; $Controller->execute($q);
At compile time a controller object is created and initialized. certain actions (qw/edit_document delete_document/) are associated with a model class, a view class and a template.
At runtime the controller is executed with the current query.
...to be continued...
Re:CGI?
malte on 2003-04-01T16:49:28
It's really tied to an object, that understands the param method.
That's one of the shortcomings in the current implementation (It can't run under native mod_perl, only Apache::Registry).
Besides that it could be used in any environment that isn't fully interactive / any system that resembles the request/response model of web applications
.
Still, it's not really the same name... is it?
elusion
Re:Project Information
malte on 2003-12-08T08:20:42
It is not public, but I could send you the code to play around with it.
My eMail is ubl _ at _ schaffhausen.de