Let’s discuss a few popular architectures that borrow ideas from FP.
- Domain driven design (DDD)
- Event based architectures
- CQRS
- Functional reactive architecture
Let’s start with DDD.
Other names for DDD include Hexagonal Architecture, Clean Architecture, Ports and Adapters, Onion Architecture and Applicative-Style-Architecture. We'll call it DDD or layered architecture.