Johan Lindstrom:
> I just browsed the archive and came across the name
> Catalyst. I downloaded the beta and it looks very neat.
>
> From the post I read, Catalyst sounded like the code name for the next
> version of Maypole, or... perhaps something different.
>
> Can anyone shed some light on this?
Well, for me Catalyst is a subproject of Maypole, like Danijel said
aimed at enterprise apps.
But i can even imagine that it may be used as underlying engine for
future versions of Maypole, since it's very modular built with engines,
components and plugins. (But thats up to Simon...)
One of the coolest things about Catalyst is that it already has some
killer-features which are just planned for future versions of
Ruby-on-Rails and Struts like regex actions and Chain of
Responsibility... =)
Obligatory "wet your appetite" regex example:
package MyApp;
use Catalyst;
__PACKAGE__->action(
'/^product[_]*(\d*).html$/' => sub {
my ( $self, $c ) = @_;
$c->res->output( 'Product: ' . $c->req->snippets->[0] );
}
);
1;
perl -MCatalyst::Test=MyApp -e1 http://localhost/product_23.html
-- sebastian_______________________________________________ maypole mailing list maypole at lists.netthink.co.uk http://lists.netthink.co.uk/listinfo/maypole
This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT