Domain driven friends

"Eric" <[email protected]>
Newsgroups gmane.comp.programming.domain-driven-design
Message-ID <[email protected]>
I'm working on a personal project where I am trying to reproduce the mechanic that Facebook uses for managing friends.  I have an entity called User that represents a person in my system.  After that I get a little stuck.  If I were creating this in a database I would create another table called Friend with a RequestSubmittedOn and ConfirmedOn fields and a two more fields to point back to the user table for each of the friends.  Any idea how I would represent this as entities?  I think I just reached my level of competency with DDD ;)  If someone knows of a better way to accomplish this by all means chime in - thanx!



------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.