MarriagES is an example event sourced system for dealing with (2 or more) partners getting married with the future in mind.
After reading Gay marriage: the database engineering perspective:, I set a timer for 2 hours (had to set it again) and made an example approach to the problem.
- can EventSource as well, use standard types, extend with noun details & could be queried
- easy to extend to add additional data such as
[location] [guests > rank (best, normal, parent)] [preacher] [vows] [comments] [engagement]
- could abstract to make
Marry
the same asCreate Marriage
- could change all
PartnerIds
toPartners
- could format it according to the PSR-2 standard
- ::transferFromWriteToRead is a real lame/shamefull hack, suggestions on how to change are welcome
- would love to see it using Doctrine, Aura.SQL & using SQL or Mongo or anything else.
- cool to see a little html & js page using it
- could have Divorce|MarryAll application usage
- use a lib (maybe put mine up) for Specification
- If people show interest in this, I'll write tests
- Try Travis
###Examples
- Flush out the examples in the index for more uses, pre-tests