Welcome Guest, Not a member yet? Register   Sign In
Codeigniter 3.1.0 with XHMVC
#1
Photo 
(This post was last modified: 09-05-2016, 12:16 AM by XMadMax.)

Hi,

06 August 2016 => UPGRADED CI core from 3.0.5 to 3.1.0 !!
17 March 2016 => UPGRADED CI core from 3.0.4 to 3.0.5 !!
I have integrated my previous development XHMV with new CI 3.1.0.

XHMVC it's a re-building of CI structure for professional purposes, allows multiple apps sharing same CI system, and sharing common modules, libraries, helpers, models, etc... Integrates wiredesignz hmvc 5.5.

XHMVC Structure:

/apps/myApp1
/apps/myApp1/application/modules
/apps/myApp1/application/libraries
/apps/myApp1/application/helpers
/apps/myApp1/www   <= Document_root

/apps/myApp2
/apps/myApp2/application/modules
/apps/myApp2/application/libraries
/apps/myApp2/application/helpers
/apps/myApp2/www   <= Document_root

/core/common/core   <= Core functionality for Controlers, Loader, Model, Router
/core/common/modules
/core/common/libraries
/core/common/helpers
/core/common/third_party

[Image: xhmvc.png]

Download :   Project on Github
Reply
#2

I have to say thank you for your previous XHMVC development, I use it.
Reply
#3

(This post was last modified: 02-09-2016, 07:38 AM by XMadMax.)

Thanks Ivan,

I will mantain the same project on Github with next CI versions, also I will add some other project with my 'addons', as XPortlet, XCache, XTends, and other usefull common mdules, as ion_auth. I plan to put it in separate projects that will be able to be deployed directlly under the root of CI XHMVC.

Xavier
Reply
#4

Great work, I 'll use it in the next project . Thanks XMadMax.
Reply
#5

This saved my ass Smile Thank You for Great Work
Reply
#6

Thanks XMadMax i will give it a try
Reply
#7

it looks really nice , thank you for this great job
ressan.ir
CI is nice Heart
Reply
#8

Hi and thanks XMadMax for sharing.

Just a question : What is the difference with this project ? https://bitbucket.org/wiredesignz/codeig...sions-hmvc
Reply
#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
#10

Hello XMadMax,
How to config default route ?
Ex:
http://mydomain.com -> http://mydomain.com/apps/mytest/www
Reply




Theme © iAndrew 2016 - Forum software by © MyBB