Welcome Guest, Not a member yet? Register   Sign In
Codeigniter 3.1.0 with XHMVC
#9

(This post was last modified: 02-15-2016, 02:19 AM by XMadMax.)

(02-14-2016, 07:41 AM)stat Wrote: Hi and thanks XMadMax for sharing.

Just a question : What is the difference with this project ? https://bitbucket.org/wiredesignz/codeig...sions-hmvc

HMVC is a modular extension, as you can see this picture:
[Image: mvc-vs-hmvc.png]

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.

[Image: xhmvc.png]


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.
Reply


Messages In This Thread
Codeigniter 3.1.0 with XHMVC - by XMadMax - 02-08-2016, 09:45 AM
RE: Codeigniter 3.0.4 with XHMVC - by XMadMax - 02-09-2016, 07:37 AM
RE: Codeigniter 3.0.4 with XHMVC - by JoellSVK - 02-09-2016, 08:42 AM
RE: Codeigniter 3.0.4 with XHMVC - by nasser.man - 02-14-2016, 06:59 AM
RE: Codeigniter 3.0.4 with XHMVC - by stat - 02-14-2016, 07:41 AM
RE: Codeigniter 3.0.4 with XHMVC - by XMadMax - 02-15-2016, 02:13 AM
RE: Codeigniter 3.0.4 with XHMVC - by XMadMax - 02-15-2016, 04:28 AM
RE: Codeigniter 3.0.4 with XHMVC - by XMadMax - 02-15-2016, 08:06 AM
RE: Codeigniter 3.0.4 with XHMVC - by XMadMax - 02-18-2016, 02:39 AM
RE: Codeigniter 3.0.4 with XHMVC - by XMadMax - 03-14-2016, 08:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB