|P is for Practical|
Rolling my own database abstractionby stonecolddevin (Parson)
|on Oct 18, 2004 at 00:48 UTC||Need Help??|
stonecolddevin has asked for the wisdom of the Perl Monks concerning the following question:
I'm looking to write my own database abstraction layer, something that basically sits right on top of DBI.
Basically I just want to package a bunch of my functions into one module, and organize it so I don't have to do much other than call the function and have the appropriate data sent or returned.
I read an article here:http://www.phpdeveloper.org/section/tutorial/35, on how to do it in PHP, and I have been trying to "translate" it since.
Can any of you wise monks lend a hand?
UPDATE: I would like to write and design this in/with OO, if that is of any help.