Best practice for projects architecture – server side [closed]

The usual way (that I’m familiar with) to divide the server side is the n-layer architecture :

  1. DAL – data access layer, usually has the Entities and the context (and maybe include also a repository)
  2. BLL – business logic layer
  3. Contract – Interfaces
  4. Services – classes which implement the interfaces ( could be a Web API for E.G )

Of course there is also the n-tier Architecture which i don’t want to discuss .

lately I’ve seen more and more a “Modules” architecture and i was wondering about it ( I’m not familiar with the professional term of this architecture )

Where each module is not a table in the database but a group of tables that have a shared concept .

something that looks like that :

Modules and DAL architecture

Is there any known good architecture that separate the layers by modules on the server side? if so, what is the professional term for this kind of architecture and what are the advantages / disadvantages of each of this architectures ?

2

Is there any known good architecture that separate the layers by modules on the server
side?

Modules and layers are two different concepts. Layers are typically used to describe the way code is deployed in a environment. However, Modules is about organizing code according to the functionality. There are other perspectives to modules where it could be based on project need, release order etc. The bottom line is module is a code organization mechanism in a solution layout.

What is the professional term for this kind of architecture and what are the advantages / disadvantages of each of this architectures

I am not aware of a professional term for the code organization shown in the image. However, let me convey what I think on the image. It is a mere code organization technique in a solution. It has very little to do with the architecture. Agreed, code organization is part of architecture. But, not sure if there is nomenclature for that. My opinion on such an code organization would be

  • The project focuses more on functional organization of code indicating a rich domain. People in team understand domain much better. Thus the team might have found this organization as more natural.

  • Disadvantage for this type of code organization is many C# projects. Instead of having a project for all contracts and sub folders based on modules, you are having projects for each functionality which are later stiched together.

  • Another disadvantage I could see is lot of assemblies involved might drag your performance down.

Hope this helps.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa

Best practice for projects architecture – server side [closed]

The usual way (that I’m familiar with) to divide the server side is the n-layer architecture :

  1. DAL – data access layer, usually has the Entities and the context (and maybe include also a repository)
  2. BLL – business logic layer
  3. Contract – Interfaces
  4. Services – classes which implement the interfaces ( could be a Web API for E.G )

Of course there is also the n-tier Architecture which i don’t want to discuss .

lately I’ve seen more and more a “Modules” architecture and i was wondering about it ( I’m not familiar with the professional term of this architecture )

Where each module is not a table in the database but a group of tables that have a shared concept .

something that looks like that :

Modules and DAL architecture

Is there any known good architecture that separate the layers by modules on the server side? if so, what is the professional term for this kind of architecture and what are the advantages / disadvantages of each of this architectures ?

2

Is there any known good architecture that separate the layers by modules on the server
side?

Modules and layers are two different concepts. Layers are typically used to describe the way code is deployed in a environment. However, Modules is about organizing code according to the functionality. There are other perspectives to modules where it could be based on project need, release order etc. The bottom line is module is a code organization mechanism in a solution layout.

What is the professional term for this kind of architecture and what are the advantages / disadvantages of each of this architectures

I am not aware of a professional term for the code organization shown in the image. However, let me convey what I think on the image. It is a mere code organization technique in a solution. It has very little to do with the architecture. Agreed, code organization is part of architecture. But, not sure if there is nomenclature for that. My opinion on such an code organization would be

  • The project focuses more on functional organization of code indicating a rich domain. People in team understand domain much better. Thus the team might have found this organization as more natural.

  • Disadvantage for this type of code organization is many C# projects. Instead of having a project for all contracts and sub folders based on modules, you are having projects for each functionality which are later stiched together.

  • Another disadvantage I could see is lot of assemblies involved might drag your performance down.

Hope this helps.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật