48. :event-sourcing
persistent log of events
state is fold over events
separate read aggregates
eventually consistent
notion of time
audit trail
49. :event-sourcing
persistent log of events
state is fold over events
separate read aggregates
eventually consistent
notion of time
audit trail
[postponed]
54. :rest
simple
easy (with noir)
... but just a idiomatic proxy layer
(defjson "/api/documents" [] (db/get-all :documents))
(defjson "/api/documents/:id" {id :id} (db/by-id :documents id))
55. :rest
simple
easy (with noir)
... but just a idiomatic proxy layer
don’t need it in cqrs
(defjson "/api/documents" [] (db/get-all :documents))
(defjson "/api/documents/:id" {id :id} (db/by-id :documents id))
90. :summary
clojure is awesome
dead simple for restful web apps
cqrs for evolutionary domain models
optional event sourcing for time management
evolving from pattern to tools
➝ this is the way apps should be built
91. :summary
clojure is awesome
dead simple for restful web apps
cqrs for evolutionary domain models
optional event sourcing for time management
evolving from pattern to tools
➝ this is the way apps should be built