Codeigniter HMVC Pattern - codeigniter

I've integrated
HMVC
pattern in codeigniter using below URl.
https://github.com/bhuban/modular
But still unable to load modules.
I want to make both admin and front side in single codeigniter package.
If anyone has idea please let me know.

Please check source.
This is frontend module and backend module use in this source it it perfect source in your requirement.
Codeigniter HMVC Pattern

Related

Intergrate Laravel Library in Codeigniter Project

I have one library in laravel :-
https://github.com/mjaschen/collmex
I want to integrate it in my Codeigniter project, Can anyone help me in it?
since both use composer, you can simply require it.
but since you can't use service providers...you have to call them manually (i.e. you won't get access to alias in laravel) except that...you can do everything as in laravel project.

Keep module name in url of hmvc codeigniter

I have integrated hmvc in codeigniter 3.1.*. I have multiple modules locations so now i want url configuration like
http://host_name/module_location_name/module_name/controller/method
In details,
I have create two module_locations under application directory.
1) application/admin/users/registration/signup
2) application/customer/users/registration/listing
Now Urls should be
http://host_name/admin/users/registration/signup
http://host_name/customer/users/registration/listing
how I can achieve this??

Integrating Laravel app into Joomla CMS

I would like to build a custom application in Laravel framework and include it in Joomla.
What I would like to do is to replace central content of Joomla with application served from content.
Joomla url: http://www.joomlasite.com/campaign-directory -> should show content from laravel url: http://www.joomlasite.com/laravel/directory/showall
I noticed component Joomi for Joomla, but Iam not sure if this component will be able to do that.
Please advice.
Thanks!
I think you mean Jumi, and yes, I think that Jumi can do what you want, but I believe there are other easier ways to achieve what you need to do. What you can do is use the iFrame Wrapper component in Joomla to "wrap" your lavarel application and display it in Joomla. Try that before using a Jumi if possible.

Codeigniter HMVC tutorials

I am looking for online tutorials or books that cover in-depth Codeigniter HMVC. Most of the online tutorials I have found only cover the very installation of HMVC. And I can not find any books at all on Codeigniter HMVC. All help greatly appreciated.
The best tutorial is this one
https://www.youtube.com/watch?v=8fy8E_C5_qQlist=PLBEpR3pmwCawDZ6FgNYoyvicEz4HrJPec
The tutorial it is made on codeigniter 2 and hmvc 2 vesions
But still the same setup to give you a idea.
The HMVC from here https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc only made now for codeigniter 3
They have not reloaded codeigniter 2 versions on.
The only difference really is that you need to make sure you have the first letter of your class and file names as Uppercase.
I don't want to be negative but, Codeigniter does not come with HMVC "out of the box" so there aren't any official documentation or books that covers the subject, however, there are some extensions that allow CI to use HMVC architecture, each extension has its own documentation, some are better documented than others.
some codeigniter HMVC extensions:
https://github.com/Crypt/Codeigniter-HMVC
https://github.com/jenssegers/codeigniter-hmvc-modules
this one needs some hacks for CI2.x (I didn't try it with CI3 yet)
https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc
this one is all in one (CI + HMVC extension)
http://lab.clearpixel.com.au/2011/10/modularise-your-codeigniter-2-applications-with-modular-extensions-%E2%80%93-hmvc/

How to separating frontend and backend using codeigniter

I am a new php developer. Am developing my website using codeigniter and got stuck when i tried to make the backend. Am using CMS backend that comes with its own folder with everything (.htaccess, its own MVC etc) so I put all my frontend folders into one folder called frontend withinn the application folder but now I cannt view my frontend pages. I get this: The configuration file does not exist. Please help me step by step.
check out this link to know the MVC pattern Codeigniter.
controller and model ----- Backend
Views --- Frontend

Resources