I'm working on a web site that will include weblog and other features similar to those offered by the monastery (for what it's worth, I'm using MySQL and a bit of OO Perl) and I'm trying to avoid a bit of wheel inventing.
In the interest of sanity and efficiency, I'm trying to design the code so that changes to the db and queries are limited to a single file. I have written an OO module that wraps the Perl DBI and includes methods that return formatted query data. This seems like a nice arrangement as it allows me to restrict changes to db structure and queries to a single file, but I'm wondering if there are any more elegant solutions already available that will save me time and frustration when I need to write code to enforce referential integrity, manage tables, replicate, create a new database and restore after a crash, etc.
I've noted a few potential solutions on The CPAN, but they seem a little heavy for my needs, and depend on other modules that won't be available to me and which I probably won't be permitted to install on one of the two servers on which this code will run.
I offer my thanks in advance.
In reply to db schema modules, recommendations? by converter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |