Message from JavaScript discussions

September 2017

— Wtf


Well the domain in this and most software contexts refers to all the business logic. And what that image intends to represent is an architecture where the tests interact with the application services not the domain nor the model layers

— Sames as the UI or the infrastructures such as db, or others

— So what if there's a bug in the inner layers?

— They won't be tested

— As I said, it's more of an OOP architecture, not usual in JS world

— No, because you can have unit tests

— Have you read the article? xD

— Outter layers have access to all inner layers, but inner layers don't to outter layers

— That sounds like way more coupling than the traditional approach

— No, it's just the opposite, it's half the coupling

— You use IoC and interfaces to avoid coupling