DEV Community

Discussion on: Your smart frontend is doing too much

Collapse
 
hyper profile image
hyper

Nice post! Totally agree that good API design is something that should be emphasized more. Exposing domain models directly from your infrastructure creates the spread of business logic in the interaction layer versus keeping the business logic in the domain layer. Without good API design you are inviting unintentional technical debt to build up over time.