in reply to Storing Complex Structures in a database

If you want to be really database-independent, then think about this:

First:

Second:

Therefore:

I used this approach for a lot of database-handling tasks from CGI scripts to online-database-coupling-interfaces, and it scales very well.

Specifically, I believe that anything relying on somehow working with "standardized" SQL is doomed from the beginning. The different SQL dialects are simply to different to achieve this.

If you want to be database independent, you will need an abstraction layer above the database level - and this means no particular database engine features may surface at this layer of abstraction.

Just my 2 cent ...

Christian Lemburg
Brainbench MVP for Perl
http://www.brainbench.com

  • Comment on Re: Storing Complex Structures in a database