Design Pattern - Can the BLL in the three-tier architecture only interact with the MVC Controller?
为情所困
为情所困 2017-05-16 17:05:49
0
2
787

The presentation layer in the three-tier architecture uses MVC, so can the interface in the business logic layer not be directly called from the outside? Instead, it should interact with the business logic layer through the Controller in MVC. Only the Controller of the presentation layer can be called externally?

In other words, only the Controller in the presentation layer MVC is allowed to interact with the business logic layer (BLL)?

为情所困
为情所困

reply all(2)
phpcn_u1582

Yes, the BLL layer can only be called by the controller. If you want to call it externally, you can call it through WebApi.

仅有的幸福

The business logic layer can only be called by the controller, which is correct.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!