Please enable JavaScript.
Coggle requires JavaScript to display documents.
Functional Reactive Programming (Domain Modeling (Domain-driven Design…
Functional Reactive Programming
Reactive Programming
Benefits
Resiliency
Responsiveness
Scalability
Event Orientation
Domain Modeling
Domain-driven Design
use the same language on your solution
and the business domain
bounded context = domain can be modeled by sub-domains
services / interfaces = interactions between bounded context
Compose of
Entities
Handle its lifecycle
Creation
Factory
#
part of the module
that defines the object
or a part of the
domain service
Singleton
Persistence
how you write it to persistent storage
how you query
can be an
Agregate
enforce rules
may contain multiple entities
Repositories
persist data to Database
Life cycle Overview
supply arguments to factory
to get an aggregate
use aggregate as interface
through your services
use the aggregate to
persist the entity to the
repository
Value Objects
Services
Entities
Objects belonging to the domain
interactions between objects
language of the domain (vocabulary)
Assumptions and Constraints for the domain
Value objects
Immutable - changing content requires changing
the object itself
Functional Programming
Scala
Functional Programming in Scala
by Paul Chiusano, Runar Bjarnason :lock:
Benefits
Purity
Referential Transparency
Ability of Reasoning
Compositionality
Category Theory
Resources
Video
Book
References
Best Reactive Programming Books
creates