Skip to content

MarriagES is an example event sourced system for dealing with (2 or more) partners (gender & sex do not matter, you don't even have to be human) getting married with the future in mind.

aretecode/Marriage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Event Sourced MarriagES

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.

Todo

.Partner

  • can EventSource as well, use standard types, extend with noun details & could be queried

.Marriage

  • 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 as Create Marriage

Naming & Syntax

  • could change all PartnerIds to Partners
  • could format it according to the PSR-2 standard
  • ::transferFromWriteToRead is a real lame/shamefull hack, suggestions on how to change are welcome

Libraries & Implementation

  • 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

Tests

  • 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

About

MarriagES is an example event sourced system for dealing with (2 or more) partners (gender & sex do not matter, you don't even have to be human) getting married with the future in mind.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages