Re: Domain driven friends
Greg Young <[email protected]>
| Newsgroups | gmane.comp.programming.domain-driven-design |
|---|---|
| Message-ID | <CAC9RQtgbU6X8JHVt3wWxG+iyWmUYZEjFKjD4UirxgiqCPW2gFA@mail.gmail.com> |
See neo4j On Friday, March 15, 2013, Eric wrote: > ** > > > 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! > > > -- Le doute n'est pas une condition agréable, mais la certitude est absurde.