DEV Community

Discussion on: Hexagonal Architecture and Clean Architecture (with examples)

Collapse
 
boscodomingo profile image
Bosco Domingo
  1. Domain > Application > Infrastructure. He said it right. Infrastructure is what we want to be the most abstracted from (think DB, other APIs, etc).

  2. You're correct, you should be working directly with the implementations in the infrastructure layer, as the abstractions (ports) in the Domain and Application layers have to be implemented somewhere (adapters)