Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Quite confuse about using Class::DBI to implement Data Access Objects and Value Objects Design Patterns

by Transient (Hermit)
on Aug 10, 2005 at 20:41 UTC ( [id://482754]=note: print w/replies, xml ) Need Help??


in reply to Re: Quite confuse about using Class::DBI to implement Data Access Objects and Value Objects Design Patterns
in thread Quite confuse about using Class::DBI to implement Data Access Objects and Value Objects Design Patterns

This is spot on. The DAO is just an abstraction layer to your actual datasource.

The VO's are unnecessary, but then again, it wouldn't necessarily hurt to make a specific one - after all, most objects in Perl are just blessed hashrefs. Throw in some auto-generated getters and setters and you're done.
  • Comment on Re^2: Quite confuse about using Class::DBI to implement Data Access Objects and Value Objects Design Patterns

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2024-04-25 20:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found