Thread Catalyst 5 released! (33 answers)
Opened by Taulmarill at 2005-04-19 15:07

sri
 2005-04-16 01:39
#40389 #40389
User since
2004-01-29
828 Artikel
BenutzerIn
[Homepage] [default_avatar]
Hi,

Vielleicht hat es ja der eine oder andere mitbekommen, wir haben da ein kleines Projekt das sich einiger beliebtheit erfreut, namens Catalyst.
Catalyst ist ein elegantes MVC Framework das aus Maypole entstanden und Ruby on Rails recht aehnlich ist.

Wir haben jedenfalls heute die version 5 freigegeben, hier das announcement. ;)

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
The Catalyst development team is proud to announce the release of Catalyst version 5.

Most noticeable new features are next to countless bufixes and improvements:

   - New sweet syntax for action definition

          sub default : Private { $_[1]->res->output('Hello') } );

          sub default : Local { $_[1]->res->output('Hello') } );

          sub default : Global { $_[1]->res->output('Hello') } );

          sub index : Path('/index.html') {
              my ( $self, $c ) = @_;
              $c->res->output('Hello');
              $c->forward('foo');
          }

          sub product : Regex('^product[_]*(\d*).html$') {
              my ( $self, $c ) = @_;
              $c->stash->{template} = 'product.tt';
              $c->stash->{product} = $c->req->snippets->[0];
          }

   - Mason autohandlers like 'auto' actions

   - Refactored engines (Test, HTTP, CGI, FCGI, mod_perl1 and experimental mod_perl2)

   - Whole new core with a very extendable api (it's possible to change nearly everything)

   - New testing framework (with actually around 300 tests) which can even test remote applications over http!

   - Helper system using TT2 (does not exclude Mason!)

For the Ajax addicted, we've also ported the helper tags for the famous Prototype JavaScript library from Ruby on Rails, available from CPAN as Catalyst::Plugin::Prototype.

And for Pluggable applications there is now Catalyst::Plugin::Pluggable on CPAN , which makes it dead simple to add a plugin api to your application.


If you might not know what the Catalyst Framework is either.

We've labeled it as a " Elegant MVC Web Application Framework", whatever that means.
To explain easily, it's the glue that binds web development technologies like templates, database models and web servers together.
Catalyst borrows heavily from systems like Ruby On Rails and Maypole.
The key concepts are DRY (don't repeat yourself) and Lego Architecture (reusable components).

--
gabb is the greatest... :)


Am einfachsten kann man mit dem Intro durchstarten.

Ausserdem ist im (inzwischen recht ueberfuellten) #catalyst auf irc.perl.org immer was los.
Mailingliste ist hier.

Dank unserer Freunde von perl.org haben wir seit heute auch http://catalyst.perl.org

Bisher haben wir zwar bloss (wir sind ja erst zwei Monate alt) ein paar hundert Anwender darunter aber auch prominentere Perler wie autrijus und acme.

View full thread Catalyst 5 released!