in reply to Re^2: 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
In Java, VOs are usually a solution to the problem that remote method calls are very slow and DAOs are often implemented with something that uses remote method calls, like old-school EJBs. I don't think you need them. I don't use them in my perl stuff. It is normal in perl to call methods passing in a hash (the standard "named parameters" pattern). This should be enough.
|