Professional Documents
Culture Documents
DAS S03.s2
DAS S03.s2
SOFTWARE
Fred Duarte
MBA, Msc, Ingeniero de Computación, PMP
Que he
Aprendido?
Overview
Application Layer
Dependency Inversion
Principle Pros and Cons
Demo
Layer Dependencies
Presentation
C ro s s - c u tt in g co n c e r n s
A p p l icat i o n
ICreateSaleCommand
IDate Se r v ice
DateService
CreateSaleCommand
Domain
Sale
Persistence Infrastructure
DatabaseService Inv ento ry S e rv ic e
Composition
I m p l e m e nts
Database OS
ADSII
Why Use an ApplicationLayer
U se rs
Pros
Cross-Cutting Concerns
Presentation
Easy to understand D o m a in
Database OS
Why Use an Application
Layer
Pros Cons
Focus on use cases Additional layer cost
Easy to understand Requires extra thought IoC
Follows DIP is counter-intuitive
ADSII
Conclusiones
Summary
Application Layer
Dependency Inversion
Principle Pros and Cons
Demo