Re: [Maypole] Maypole's direction and Perl web frameworks

From: Sebastian Riedel (sri at oook.de)
Date: Mon Jan 10 2005 - 18:38:30 GMT


Seth Gordon:
> With Class::DBI::Loader (and, from what I can tell, SPOPS::DBI), you can
> define a class to be based on a certain database table, and objects in
> the class will, by default, have getters and setters named for the
> fields in the table; Class::DBI::Loader will look at the database schema
> and generate the appropriate methods for you. The only thing you need
> to provide is the is-a/has-a relationships.

Newer versions of Class::DBI::Loader can even generate relationships
based on foreign keys for PostgreSQL and MySQL.

-- 
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