DEV Community

diar.dev
diar.dev

Posted on

2

Layered Architecture Style

Layered architecture, is an architecture pattern that helps for having a more organized and structured codebase.

Each layer has its distinct job and all the layers communicate via well-defined interfaces.

This architecture helps us with maintainability and scalability and is often used on enterprise applications.

You should be strict about not letting these layers have direct dependencies between layers, otherwise, you will lose the benefits of this architectural style.

Usually, the communication or interaction between layers is top-down at higher levels of the application such as user interaction using lower parts of the application such as the Database.

The key idea of this architectural style is to have a clear separation of concerns.

Keep in touch on twitter @slmdiar.

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more