Codeginiter 2.1.2 + HMVC 5.4 + Common application

September 4, 2012 by: Xavier Perez

Recentlly, I needed a common modules folder for various applications, and now I have decided to share my solution.

The common folder can have helpers, libraries, modules (HMVC) and thir_party libraries (HMVC MX base)

An application can load a library, helper etc… as usual…

$this->load->library('mylibrary').

// If this library exists in application/library folder, then use this.
// If this library not exists locally, the try to load from common/libraries

Also, can work with modular extensions (/modules/libraries)

Welcome example included in download.

Download :  https://bitbucket.org/xperez/codeigniter-modular-extensions-hmvc-plus-common-application

Any suggestions / improvements are welcome.

Filed under: Other

Leave a Reply

You must be logged in to post a comment.