Thứ Tư, 30 tháng 11, 2011

Lượm lặt về 3-tier

Cấu trúc mô hình 3-tier
3-tier[1]: Database
3-tier[2]: Server ( chứa mô hình 3 layer: PL - BLL - DAL ).
3-tier[3]: Client
------------------------------------------
The terms tier and layer are frequently used interchangeably, but actually there is a difference between them: Tiers indicate a physical separation of components, which may mean different assemblies such as DLL, EXE etc on the same server or multiple servers; but layers refers to a logical separation of components, such as having distinct namespaces and classes for the Database Access Layer (DAL), Business Logic Layer (BLL) and User Interface Layer (UIL). Therefore, tier is about physical separation and units of deployment, and layers are about logical separation and units of design.

Creating a multi tier project design is more suitable and advisable to mid to large-size projects, whereas a good multi-layered design is suitable for small to mid-size projects.

Không có nhận xét nào:

Đăng nhận xét