Architecture
Layered Architecture
The classic split into presentation, business logic and data access layers.
Article
Layered architecture: presentation, logic, data – and where it breaks
The oldest and most popular way of structuring business applications: closed and open layers, layers versus tiers, code in C#, TypeScript, Java, Go and Python, ArchUnit and NetArchTest tests, and the road to the hexagon.
Related articles
- REST API with Express 5 and TypeScript – from an empty folder to production
We build the order API of a pierogi shop with Express 5 and TypeScript – Zod-validated configuration, routing, request validation, centralized error handling, async handlers, pino logs, CORS,…
- Vertical slice architecture: code by feature, not by layer
Jimmy Bogard's Vertical Slice Architecture: every feature of the system is a separate slice from the endpoint to the database. Structure and a complete slice in C#, TypeScript, Java, Go and Python,…
- Facade – one simple entry point to a complex subsystem
Facade exposes one convenient operation that coordinates many subsystem classes behind the scenes. An example of course enrollment with payment, access and a welcome email in C#, TypeScript, Java,…
Around the topic
- N-tier Architecture Style article · web · Microsoft Azure Architecture Center
- Database Transactions in Go with Layered Architecture article · web · Three Dots Labs
- Software Architecture Fundamentals 2nd Edition, Chapter 10: Layered Architectures podcast · apple-podcasts · Software Architecture Book Club
- Common web application architectures - .NET article · web · Microsoft Learn
- Rethinking Data: Moving From the Traditional Three-Tier Web Stack to Client-Side Event Sourcing podcast · apple-podcasts · The InfoQ Podcast
- spring-projects/spring-petclinic repo · github · spring-projects
- TNG/ArchUnit repo · github · TNG