My Little Pony, You can ride err if you want.

Al Newkirk - Crazy Idealistic P3rl H@ck3r

Pegasus - The Module-Starter for DBIx::Class data models

Pegasus is a simple scaffolding utility for RAD (rapid app development).
It helps you generate a DBIx::Class data model with schema class, and

It basically extends the convenience of using DBIx::Class::Schema::Loader.
This devkit exists solely to help further eliminate the tedium when
creating data models using DBIx::Class.

A developer could use Pegasus after creating the database schema at the
database. Pegasus will then generate a DBIC data model.

Pegasus is far from ready for the CPAN, ... So where do pre-CPAN modules
attend daycare? GitHub ofcourse:

Pegasus CLI:
Pegasus Example Model:

Pegasus Scaffold Generation

1. generate schema (using DBIC S::L)
2. generate sql scripts (deploy)
3. generate transaction layer (Pegasus)
4. generate tests (Pegasus)

Usage (from the command-line)

$ sqlite3 example.db < creation_script_not_inc.sql
$ pegasus setup Example::DB dbi:SQLite:./example.db root
$ pegasus run

Scaffolding helps us build it faster, bigger, better (some restrictions apply)

-- Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning. Cit. Rich Cook

1 Comment

Leave a comment

About awnstudio

user-pic Al Newkirk is a web application developer from Philadelphia, PA in the United States who specializes in Perl development with MySQL on a Windows platform using Strawberry Perl. I do a bunch of other stuff too, stick around and find out what!