Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: One to many, many to one relationships

by agianni (Hermit)
on Mar 12, 2007 at 19:24 UTC ( [id://604416]=note: print w/replies, xml ) Need Help??


in reply to Re^2: One to many, many to one relationships
in thread One to many, many to one relationships

I think the closest formal (GoF) pattern for what you are describing is the Mediator pattern, which acts as the third-party object you are describing. The main challenge is that this pattern is open to abuse as described by the God anti-pattern
  • Comment on Re^3: One to many, many to one relationships

Replies are listed 'Best First'.
Re^4: One to many, many to one relationships
by rvosa (Curate) on Mar 17, 2007 at 00:14 UTC
    Thanks, yes - I'm using the mediator pattern, it's pretty much what I thought I should do so it's nice to see it validated by the Gang of Four :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://604416]
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-26 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found