简体   繁体   中英

Pros and cons of whole project as a module?

I am in the process of learning Kohana 3. Just curious: some Kohana 3 projects I have looked at, like Kohanut CMS are implemented as one big module and located in /modules instead of /application (which is empty). Why is that? Only to make it easier to drag just one folder if you upgrade Kohana later?

All depends what you are doing. I sometimes split different sections of my application into multiple modules. Usually its just for organization or if you want to use that piece on another application.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM