Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Why did DBIC overtake CDBI?

by jk2addict (Chaplain)
on Sep 19, 2006 at 17:44 UTC ( #573777=note: print w/replies, xml ) Need Help??

in reply to Why did DBIC overtake CDBI?

Sorry I'm late to the party. :-) As the author of Handel, I've lived in both camps. I started with CDBI, and converted to DBIC. The community and past internet argument explosions aside surrounding CDBI, there were two main reasons I moved towards DBIC.

First, DBIC seems to make more of an effort to get out of my way if I want it too. I can delegate to it, or an instance of it (via Schema), rather than having to be it (@ISA Class::DBI). This means I can take a bottom up approach to my DBIC based application; whereas a CDBI based application seems to start at the top and work downword.

Second, DBIC provides an insane amount of flexibility and configuration. There's an option of accessors for just about any step in the process. IT allows me to do things I'd never try with CDBI; things like interchanging schemas into the same app code; being able to inject columns, components, constraints, validaiton, etc into schemas and table objects on the fly...even into instance of table classes, rather than the table class itself.

If you need to do magic, DBIC is more capable of it IMHO.

Replies are listed 'Best First'.
Re^2: Why did DBIC overtake CDBI?
by mattr (Curate) on Sep 21, 2006 at 02:54 UTC
    Wow, thank you that is a great comment. It makes me want to start from scratch and read everything about DBIC to get all the power out of it you mention and which I had not realized having just dipped in to relevant parts here and there and starting to explore up and down it.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2016-10-28 05:07 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (375 votes). Check out past polls.