![]() |
|
There's more than one way to do things | |
PerlMonks |
Quite confuse about using Class::DBI to implement Data Access Objects and Value Objects Design Patternsby monsieur_champs (Curate) |
on Aug 10, 2005 at 19:20 UTC ( #482728=perlquestion: print w/replies, xml ) | Need Help?? |
monsieur_champs has asked for the wisdom of the Perl Monks concerning the following question: Fellows, I've implemented a small prototype for part of our application, so I can demonstrate Class::DBI in action. So I wrote something like this (simplified for this article):
And then it happened. The architect asked me to use DAO design pattern to implement the database access, and to use VO (Value Objects) to pass info arround. I just can't point him what object plays the Value Object role and what object plays the Data Access Object role when using Class::DBI. Given that, a enlightened and wise monk here can please tell me what are the roles each perl object implemented here plays and what should I do to implement that Value Objects and Data Access Objects the architect asked me to?
Back to
Seekers of Perl Wisdom
|
|