Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

mako132 (2925)

Journal of mako132 (2925)

Thursday October 31, 2002
06:59 PM

Should I Bother Writing my Own DBI Module?

[ #8712 ]

Clearly we saw after the first code review that the database code should be pulled out into its own module.

The code is pretty simple: open/close the connection, do a few trivial SELECTs, build some HTML tables.

We don't have a standard on dealing with errors, so a module could help there...

I looked at the various DBIx modules and wondering if I should bother.

Maybe the real issue is that we need a application-centric database module. Our application consists of around 7 CGIs. Maybe pulling all the database code out of there into an MYORG::DEPT::APP::DB module is fine and iternally the module has raw DBI code.

Musing whilst I wait for Trick or Treaters.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.