in reply to How to handle relationships

There's a lot of layers to this problem that could be difficult to sort through. For example, making tables.

If you have the time, it would be nice to see an interface that can disintermediate between low-level SQL and relatively high-level Perl. I mean, there's a whole bunch of ways to make and alter tables, why not standardize the interface?
my $table = SQL::Table->new(name => "client"); push(@{$table->columns}, SQL::Column->new(name => "id", type => { char + => 50 }); $table->commit();
The thing that really irks me is that, when developing an application, no matter how "standard" the SQL you use is, it's always a huge hassle to move from one back-end to another. If there were a sort of "driver" that wrote working SQL for you, it would be a simple matter of dropping a new one in. Mostly. Of course, nothing is perfect.