Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Class::DBI vs. DBIx::Class

by ioannis (Prior)
on Jun 25, 2006 at 00:57 UTC ( #557410=note: print w/replies, xml ) Need Help??


in reply to Class::DBI vs. DBIx::Class

To me, the DBIx:: modules are more useful as facade interfaces to DBI, and the class::dbi modules are helpful to define relations between tables. As this topic has been discussed before; a Super Search will also lead to A brief survey of the DBI usability layer modules on the CPAN .

Replies are listed 'Best First'.
Re^2: Class::DBI vs. DBIx::Class
by davidrw (Prior) on Jun 25, 2006 at 01:11 UTC
    To me, the DBIx:: modules are more useful as facade interfaces to DBI, and the class::dbi modules are helpful to define relations between tables
    DBIx::Class does that too -- it's basically (y, i know i'm generalizing) a fork/provides same (type of at least; does differ in some) functionality as CDBI (note that the docs say that the "object API is inspired by Class::DBI")
Re^2: Class::DBI vs. DBIx::Class
by hrr (Monk) on Jun 25, 2006 at 03:27 UTC
    Great, thank you very much for that link! It contains useful information about pros and cons of using SQL statements vs. using an OO wraper (such as Class::DBI).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://557410]
help
Chatterbox?
[atcroft]: PriNet: Those code bits worked for me, with test hashes, but I didn't test it with more than a few simple test cases. *shrug* Had hoped it would help, at least.
[PriNet]: i think i found the problem, the "source" array that sets the individual key values isn't being cleared, it's keeping the previous values...
[atcroft]: PriNet: You might consider posting a small, self-contained snippet of that segment of your code, and see if someone else has a better idea.....
[atcroft]: PriNet: Ahhh... interesting.

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2017-06-28 03:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (619 votes). Check out past polls.