DEV Community

Discussion on: Clean Architecture on Frontend

Collapse
 
ryotokubo profile image
ryoto kubo

Great Article Alex!

I have one question.

I believe that Clean Architecture has the idea of "designing so that the outer layers depend on the inner layers".

When I look at the source code, I see that the Application Business Rules depend on the Interfase Adapters.

Collapse
 
bespoyasov profile image
Alex Bespoyasov

Thank you! ^_^

Interfaces (aka ports) are the part of the application layer. But their implementation is the part of adapters layer.

The application layer dictates the requirements for the third-party services. Since the ports are behavior contracts they are also determined by the application layer.

There is a post I refer to in the text:

…It explains this specificity in more detail :–)

Collapse
 
ryotokubo profile image
ryoto kubo

Thanks for answering!
I'll read the article too!