evolving - Tuesday 3rd June, 2003

richardc on 2003-06-14T21:20:06

Found a tuit for a module idea I had the previous Friday. Shortly after Class::DBI::AutoBase enters the world. (working title).

Basically what it lets you do is use the database-specific backends like Class::DBI::mysql and Class::DBI::SQLite, which typically add features like set_up_table for autodiscovery, but without actually stating which of them you're going to use. Though that might sound much, it's useful for being able to test against one kind of database, and go live against the other. You then only have to change one thing (the dsn) rather than the dsn and the parent of the base class.

So far it's not made it out of my repository, but it should, as I want to use it for Siesta already. Just blocking on that name.