Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

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.


In reply to Re: Why did DBIC overtake CDBI? by jk2addict
in thread Why did DBIC overtake CDBI? by mattr

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-24 06:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found