Andy Schlaikjer wrote:
I'm interested in using boost::serialization for some small classes which need to be backed by a database.
I thought I'd try and take advantage of boost::serialization to manage the basic marshaling of objects into/out of a binary format, and use BerkeleyDB for database support.
Unfortunately, I looked around for some prior art, but couldn't find any, so I'm posting here a small example of my own with the hope that others may lend feedback on this basic approach, or else find use for the ideas here in their own work.
If you are going to go through the steps to shove objects into a database you might want to consider existing domain specific solutions. For example the various databases written by Konstantin Knizhnik http://www.garret.ru/~knizhnik/databases.html. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo