Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Rolling my own database abstraction

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

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 stonecolddevin (Parson) on Oct 17, 2004 at 21:42 UTC
    Oooo, that looks fuN!!!
    Short, sweet and simple.

    Thanks, I'll definitely check it out.
    meh.
Re^2: Rolling my own database abstraction
by blokhead (Monsignor) on Oct 18, 2004 at 01: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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://400023]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.