An open API service indexing awesome lists of open source software.

https://github.com/aretecode/marriage

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.
https://github.com/aretecode/marriage

Last synced: 3 months ago
JSON representation

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.

Awesome Lists containing this project

README

          

## 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:](http://qntm.org/gay), 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](http://www.php-fig.org/psr/psr-2/)
* ::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](travis-ci.org)

###Examples
* Flush out the examples in the index for more uses, pre-tests