Catalyst::Enzyme 0.11 review
DownloadCatalyst::Enzyme is a CRUD framework for Catalyst. SYNOPSIS #Create app catalyst BookShelf cd BookShelf #C
|
|
Catalyst::Enzyme is a CRUD framework for Catalyst.
SYNOPSIS
#Create app
catalyst BookShelf
cd BookShelf
#Create View
scriptbookshelf_create.pl view TT Enzyme::TT
#Create database
... left as an exercise for the reader (actually, see the tutorial) ...
#Create Models for all tables
scriptbookshelf_create.pl model BookShelfDB Enzyme::CDBI dbi:SQLite:dbname=db/bookshelf.db
#Create Controller
scriptbookshelf_create.pl controller Book Enzyme::CRUD BookShelfDB::Book
Browse to http://localhost:3000/book and see what it looks like without any configuration.
See the "DEMO APPLICATION" below for a ready-to-run example of the BookDB.
See the "TUTORIAL" below for a detailed example of how to create an application from the BookDB schema.
Catalyst::Enzyme is a layer on top of the Catalyst framework providing CRUD functionality for Class::DBI models.
Enzyme uses convention and configuration to provide e.g. extensible CRUD out-of-the-box, and a common way of dealing with error handling etc.
It's not completely unlike Maypole in this regard. However, at this point Enzyme isn't as feature-rich as Maypole.
Enzyme is one way of bringing many Catalyst modules and concepts together into a unified whole. There are other ways to do this (obviously. This is, like... uh, Perl).
Requirements:
Perl
Catalyst::Enzyme 0.11 keywords