Skip to content
Cross Modular extensions for Codeigniter 3.0
PHP HTML Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
apps/demo
core
system220
system300
vendor
.gitattributes
.gitignore
Readme.md
composer.json

Readme.md

Cross Modules for Codeigniter 3.0

THIS IS THE LAST VERSION COMPATIBLE WITH 2.2/2.3

NEXT VERSION, compatible with CI 3.0.4, can be found in ...

https://github.com/XMadMax/Codeigniter-3-with-XHMVC

What is Cross Modules

Based on Wiredesign HMVC, (Hiererchical Model/View/Contoller), XHMVC allow to have common modules shared betweeen all applications. All the modules can have all components under only one directory: config, controllers, helpers, languages, libraries, models, views This allow to re-use a module component in other projects, only with a simple copy/paste !!

Modules can be shared between different applications located under /apps directory.

Take alook to this explain: http://xhmvc.4amics.com/applications/demo/www/user_guide/

Demo : http://xhmvc.4amics.com/applications/demo/www/

Composer ready

Edit the composer.json to add any package that you want. You can use it in any controller, model or view.

{
    "require-dev": {
        "phpunit/phpunit": "4.7.*"
    }
}

To use composer, goto base dir and type: composer install

Installation

XHMVC is ready-to-go, you only need to extract to any directory under a document root of your choice.

Needed: Apache (mod_rewrite enabled for a ready-to-go functionality) + PHP (5.3).

Other functions installed

  • XHMVC have the Xtends, a module extender that allow to extend your controller from a common controller, and add functionallity to base methods.
  • XCache and XDBCache, A cache system ussing files, memcache, apc, mongodb, easy extensible to other drivers.
  • Profiler - A usefull profiler to see what is happen
You can’t perform that action at this time.