F# edition
Idea: A decentralised book library
Technologies:
Specification:
Api services, controllers
Services
- ORM
- data mapping
- data models
Dependency arrow
ISomeService
ISomeRepository
ApiService
Domain
Domain models
Pure logic
Database framework
SomeRepositoryImpl
Api service
Controller
Web framework
Business service
ISomeRepository
Goal: create a language that everyone understands
(= ubiquitous), including computer
Domain models
Behavior
Workflows
What can be done
Inform others of smth that happened
Command side in CQRS
Domain is only for writes, or
* Command Query Responsibility Segregation
Domain