Codeigniter 3.1.0 with XHMVC |
(02-14-2016, 07:41 AM)stat Wrote: Hi and thanks XMadMax for sharing. HMVC is a modular extension, as you can see this picture: ![]() XHMVC is an extension of HMVC, you can share multiple modules between many CI apps, allowing to have the same module working in all applications. ![]() For example: www.myexample.com/mytest HMVC Application inside : /apps/myapp1 Core inside: /core/common MyTest does not exists in apps/myapp1 !! The module will be loaded from /common/core/modules/mytest/controllers/mytest.php www.myotherexample.com/mytest HMVC Application inside : /apps/myapp2 Core inside: /core/common MyTest does not exists in apps/myapp2 !! The module will be loaded from /common/core/modules/mytest/controllers/mytest.php In this example, two CI applications can load a 'common' module. One module, one development, one source, multiple forms of be used. |
Welcome Guest, Not a member yet? Register Sign In |