Camelia, the Perl 6 bug

IRC log for #cqrs-perl6, 2011-10-14

| Channels | #cqrs-perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
10:13 masak joined #cqrs-perl6
10:13 masak left #cqrs-perl6
10:14 masak joined #cqrs-perl6
10:35 moritz joined #cqrs-perl6
10:36 moritz wow, _ilbot has op :-)
11:03 masak ++
11:03 * masak sucking up to the logbot overlord
11:04 masak moritz: at our startup, we're gearing up to create tooling for CQRS-based modeling, testing, and development
11:46 moritz sounds interesting
11:49 masak there are so many CRUD-based tools in this area, but practically no intentional ones.
11:58 moritz btw, did you ever figure out how to model a constructor with command/query separation?
11:59 masak I think so.
12:00 masak the client sends a CreateFlooble command, with a generated GUID and the requisite attributes.
12:01 masak so, it's a normal command, but with one of the parameters being the ID of the new aggregate root.
12:02 moritz ... and if it happens to collide with an existing ID, the client must repeat it with another GUID
12:03 masak sure, but GUIDs are meant to be globally unique, so that's a very unlikely error condition.
12:04 masak a bit like git's hashes being gloablly unique, I guess.
12:10 masak moritz: in a sense, the Create* commands aren't even a special case, at least not if the database backend knows how to return an empty list of events for a non-existent aggregate.

| Channels | #cqrs-perl6 index | Today | | Search | Google Search | Plain-Text | summary