|P is for Practical|
Re^3: Why did DBIC overtake CDBI?by davorg (Chancellor)
|on Sep 13, 2006 at 07:59 UTC||Need Help??|
I know that Class::DBI::Loader will automatically load tables, columns and relationships. But does it, for example, automatically turn DATETIME columns into DateTime objects? Or use column types to determine valid values for attributes?
The talk is a bit badly organised. The examples are all in Class::DBI (as that's what I was using when I originally wrote the talk) but the lists of items that an ORM should handle shouldn't be taken as a list of things that Class::DBI doesn't do. If anything the talk is a reaction to the number of obvious things that ActiveRecord doesn't do.
As I said in the presentation at YAPC, the talk is misnamed. Even when I first wrote it, it should have been called "What's Wrong With Some Current ORM Implementations". These days, it should really be called something like "Things To Look For When Choosing An ORM".
 The key word here being "automatically". I know you can use the inflate/deflate functionality, but as far as I know you need to set that up explicitly.
"The first rule of Perl club is you do not talk about