Arkitektura & Design Patterns

Layered (n-tier) architecture

Në shqip: Arkitektura me shtresa

ShpjegimiSQ

Kodi ndahet në shtresa: prezantimi (UI/API), logjika e biznesit dhe qasja te të dhënat. Çdo shtresë flet vetëm me atë poshtë saj. E thjeshtë dhe shumë e përhapur — por logjika rrezikon të shpërndahet nëpër shtresa.

EnglishEN

Code is split into layers: presentation (UI/API), business logic and data access. Each layer talks only to the one below. Simple and very common — but logic risks leaking across layers.

Si ta mendosh

Si katet e një ndërtese: recepsioni, zyrat, arkivi.

Lexoje në anglisht

Like a building's floors: reception, offices, archive.

Terma të lidhur