开发者

Codeigniter + Doctrine architecture

开发者 https://www.devze.com 2023-01-18 13:22 出处:网络
I am building a system based on C开发者_如何学运维odeigniter + Doctrine. The system will have three access points.

I am building a system based on C开发者_如何学运维odeigniter + Doctrine.

The system will have three access points.

Backend side, Customer Side and Websevice Side. (Each side is a CI application folder)

I am creating the CRUDS under the Backend/models

I want to reuse it in the other CI applications folders.

What is the best architecture for that?

Should i make it loosely coupled in the webservice side and let the other apps connect to it?

Thanks


Each is a seperate CI application? Seems a little extreme, seeing as components of one could be used by others (eg. libraries, models, etc). I would recommend making it more modular, check out Modular Extensions - HMVC.

0

精彩评论

暂无评论...
验证码 换一张
取 消