Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by monsieur_champs (Curate)
on Aug 10, 2005 at 22:02 UTC ( #482781=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

Shall I use VOs at all? Or this is kind of a purist approach to the problem?

Thanks for answering!

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

Replies are listed 'Best First'.
Re^3: Quite confuse about using Class::DBI to implement Data Access Objects and Value Objects Design Patterns
by perrin (Chancellor) on Aug 10, 2005 at 22:23 UTC
    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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://482781]
help
Chatterbox?
[Corion]: Two-way data binding means that if you change something in a text box, the corresponding variable in your Javascript gets updated immediately as well, and if you then change the variable, the corresponding text box also gets updated
[Corion]: That is a horrible approach that was also taken by Access, but if you have hooks that prevent automatic saving to the database, it is incredibly handy

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2017-03-30 07:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (355 votes). Check out past polls.