If you have the time, you might try investigating existing
solutions to OO database access and/or persistence, e.g.
Tangram,
DBIx::Recordset,
Alzabo.
I've never used any of these, but you can find information on these and other modules through Super Search or CPAN.
FYI, here's a post from the DBI list:
I just thought I'd let this list know that there's a comparison of
persistence tools for Perl at http://poop.sourceforge.net. POOP stands
for Perl Object-Oriented Persistence. There's also a mailing list for
discussion of such things (poop-group@lists.sourceforge.net).
The document as it stands compares a number of RDBMS-OO mappers as well as
some OO-RDBMS mappers, including Class::DBI, Alzabo, and DBIx::RecordSet
in the former category and Tangram and SPOPS in the latter.
And there's an article in this month's Linux World here:
http://www2.linuxjournal.com/lj-issues/issue90/4887.html.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.