Coat::MVC - Bringing Rails concepts to Perl
What? Another framework?
Yes, yell at me, I'm working on another framework, I'm the witch to burn alive on the market-place!
Why?
I've been working whith Ruby on Rails and wanted to have
something similar with Perl. I wanted something light and with
all the concepts I like in Rails.
How?
Coat::MVC is based on the following modules:
Then Coat::MVC provides two classes :
- Coat::MVC::Controller : the mother-class for your controllers, provides
useful methods such as $self->request_post, $self->redirect, $self->args,
...
-
Coat::MVC::Dispatcher : the main object used to process an HTTP request, it
parses the REQUEST_URI and then call the appropriate controller/action.
You can configure the dispatcher by adding routes, setting param
filters...
... And a set of helpers you can use in your
views (Template::Toolkit plugins) :
- Coat::MVC::Helper::Tag : all the stuff needed for building HTML in your
views (ex:
< Tag.input('text', 'name') %> ...)
-
Coat::MVC::Helper::Ajax : helper for building Ajax controlls: shortcuts to
scriptaculous calls.
When?
Coat::MVC is under heavy developement, it's not released yet.