petdance andy@petdance.comhttp://www.perlbuzz.com/AOL IM: petdance (
Add Buddy, Send Message)
Yahoo! ID: petdance (
Add User, Send Message)
Jabber: petdance@gmail.com
I'm Andy Lester, and I like to test stuff. I also write for the Perl Journal, and do tech edits on books. Sometimes I write code, too.
Great slides! (Score:2)
Great set of slides. David (theory) and I were dealing with something similar except we create the db metadata from our classes rather than the other way around.
Db may be a good source but... (Score:1)
Just because some of your data is in a database at the moment doesn't mean it always will be, and your objects may outlive the implementation of a store.
ORM (Score:1)
What's wrong with ORM (Score:2)
The idea first came to me when I first saw the amount of repetition needed to set up classes in ActiveRecord. And, of course, they get round the DRY issues by not defining anything clever in the database. Which is just wrong.
Re:What's wrong with ORM (Score:1)
Dave::ORM? : )
I am joking!
I enjoyed the presentation as well.
Re:What's wrong with ORM (Score:2)
--
xoa
Re:What's wrong with ORM (Score:1)
I disagree (Score:1)
What he's suggesting is that we automagically change the code and API based on the structure of the database.
This is just ASKING for weird bugs to crop up.
You really DO need to have BOTH halves of the application (code and database) independant for anything but the most trivial application.
What IS necesary though, is that your application knows whether or not it is compatible with the database.
For example, there could be extra fields in the