Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Rolling my own database abstraction

by DaveH (Monk)
on Oct 18, 2004 at 01:38 UTC ( [id://400023]=note: print w/replies, xml ) Need Help??


in reply to Rolling my own database abstraction

Perhaps you want the "Lazy" version of Class::DBI - DBIx::LazyMethod. Looks about the shortest possible code to achieve OO generic database access.

Hope this helps. Not tried this module personally.

Cheers,

-- Dave :-)


$q=[split+qr,,,q,~swmi,.$,],+s.$.Em~w^,,.,s,.,$&&$$q[pos],eg,print
  • Comment on Re: Rolling my own database abstraction

Replies are listed 'Best First'.
Re^2: Rolling my own database abstraction
by blokhead (Monsignor) on Oct 18, 2004 at 05:40 UTC
    shortest possible code to achieve OO generic database access
    Take a look at Class::Tables. Just add two lines of code. No datastructure describing your schema. Now that's lazy ;)

    This module was born because I got sick of talking about my schema twice: once to the database and once to the database persistence layer. Now I can write simple database-driven apps really fast.

    blokhead

Re^2: Rolling my own database abstraction
by stonecolddevin (Parson) on Oct 18, 2004 at 01:42 UTC
    Oooo, that looks fuN!!!
    Short, sweet and simple.

    Thanks, I'll definitely check it out.
    meh.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://400023]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-20 09:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found