Learning REST and DDD from Jim Webber.
Notes on
“Domain-Driven Design for RESTful Systems”
- HTTP is about moving documents around, therefore Map HTTP protocol to trigger business activities by moving documents.
- HTTP is an application protocol. Narrow HTTP into a domain application protocol.
- Restful Clients drives work-flows just like amazon make us a drive the checkout-flow.
- Do not build services that also do orchestration. Operation-Oriented VS Resource-Oriented architectures.
- You do not need a bus (event bus) for Events. Use Event feeds ( atoms feeds) and let clients pull the events they are interested in.
On
DDD
- There’s always More THAN ONE DOMAIN REPRESENTATION in the software solution.
- Command Query Responsibility Separation (CQRS) maps directly to HTTP
No comments:
Post a Comment