Three-tier architecture
Kiến trúc ba tầng (Three-tier architecture)
Visualise & Explore
· Trực quan hóa & Tương tácThe three-tier architecture
Kiến trúc ba tầng
Separating presentation, logic and data makes systems maintainable and scalable (P1 · Page 31).
Tách biệt giao diện, logic nghiệp vụ và dữ liệu giúp hệ thống dễ bảo trì và mở rộng (P1 · Trang 31).
Step 1 of 3 · Select any module to trace the order
Client–server (2-tier): simple, but logic + data blur together; hard to scale. N-tier: clean separation; basis of web & cloud apps.
Client–server (2-tier): đơn giản nhưng logic và dữ liệu dính liền, khó mở rộng. N-tier: tách lớp rõ ràng, nền tảng ứng dụng web & cloud.
Presentation tier (UI: browser, driver app, warehouse screens) <-> Application tier (Business logic: routing, inventory rules, pricing) <-> Data tier (Database: stores & serves all data).
Understand
· Giải thích khái niệmPresentation (browser, driver app and warehouse screen) ↔ Application (business logic, routing, inventory rules and pricing) ↔ Data (database). Two-tier client-server architecture is simple but tightly couples logic and data, making scaling difficult. N-tier separates layers, allowing changes with less impact on other layers; it underpins web and cloud applications.