The HMVC (Hierarchical-Model-View-Controller) pattern decomposes the client tier into a hierarchy of parent-child MVC (Model-View-Controller) layers.
Questions tagged [hmvc]
426 questions
7
votes
3 answers
How to implement HMVC in Laravel 4
Does laravel 4 have built in support for hmvc or are there bundles for this functionality? What is the best way to use HMVC in laravel 4.

Sakibul Alam
- 1,731
- 2
- 21
- 40
7
votes
3 answers
CodeIgniter HMVC extends MX_Controller, unable to use get_instance properly
I have a controller in /application/core
/application/core/CMS_Controller.php

goFrendiAsgard
- 4,016
- 8
- 38
- 64
6
votes
3 answers
Architecture: API as core for a website & mobile-app
I have different questions about a full architecture idea. I hope someone with great experience could help me out because I am pretty much getting stuck in all possibilities.
I'm planning to rewrite a community website. Our customer wants to make…

mauserrifle
- 604
- 1
- 7
- 17
6
votes
6 answers
Using Ion Auth as a separate module in the HMVC structure
I am interested in using ion auth for a project of mine which is running on the HMVC pattern. The application is written in Codeigniter.
The problem I face is once the ion auth is placed in the /app/modules/auth folder, when I try to access the…

Gayan Hewa
- 2,277
- 4
- 22
- 41
5
votes
2 answers
Is there any super controller or global controller in Codeigniter
I want to call a function in a controller (say controller_a) from another controller (say controller_b)
Please help me ..

SG_
- 1,316
- 14
- 26
5
votes
1 answer
Trouble with HMVC modular extensions for CodeIgniter
I've been developing locally on MacOS X Snow Leopard using PHP 5.3, CodeIgniter 2.0 and HMVC Modular Extensions. Everything has been working great.
Suddenly, for no reason I can pinpoint, I am occasionally getting this error when trying to bring up…

Gary
- 453
- 4
- 15
5
votes
5 answers
Codeigniter 3 HMVC has been broken
Using this HMVC plugin in Codeigniter. (https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc/src/codeigniter-3.x/)
Running fine in another server, but in this server I am getting this error!
A PHP Error was encountered
Severity:…

Amin
- 681
- 4
- 9
- 27
5
votes
2 answers
Whats the convention on URL-structure in MVC/HMVC/PAC pattern?
In MVC its like http://www.yourdomain.com/sampleController/sampleAction/ and if you call just /sampleController/ then /sampleController/indexAction/ and if you just call / then /indexController/indexAction/ fires.
Of course there are exceptions but…

The Surrican
- 29,118
- 24
- 122
- 168
5
votes
3 answers
Kohana 3.0's HMVC structure in layman's terms?
So, I think i understand the cascading filesystem in it's basic terms, but I can't seem to wrap my head around the 'H'ierachy structure of the MVC. Could anyone tell me the advantages of using HMVC over MVC and it's basic intended…

soren.qvist
- 7,376
- 14
- 62
- 91
5
votes
2 answers
HMVC and dynamic widgets
Background
I use the word widget as a partial view that have its own controller (so its own actions) and it is placed in almost all pages. I implement the rendering of this via HMVC, that is just great.
Problem
Now, the problem is that the widget…

David Elizondo
- 1,123
- 1
- 7
- 16
5
votes
3 answers
codeigniter hmvc routes not working properly
I installed HMVC by wiredesignz but the routes from application/modules/xxx/config/routes.php didn't get recognized at all.
Here is an example:
In application/modules/pages/config/routes.php I have:
$route['pages/admin/(:any)'] =…

lesandru
- 839
- 2
- 11
- 27
4
votes
2 answers
How can I solve routing in HMVC?
I am working on a cms project which will be used to publish news sites. I am using i18n plugin for multilingual issues. the problem is at routing. I have module called news and method page in it and route is set as
$route['page/test'] =…

S. M. Shahinul Islam
- 2,780
- 4
- 36
- 68
4
votes
1 answer
HMVC pros and cons when compared to MVC in PHP
So, I've been working with Zend Framework for more than 2 years now, and I love it. But now I've got to create a small custom framework for one of my courses, and a fellow coder suggested I try HMVC.
So, my question is:
What are the pros/cons of…

Janis Peisenieks
- 4,938
- 10
- 55
- 85
4
votes
2 answers
Codeigniter HMVC effect on performance
OK, so HMVC in Codeigniter is the way to go for scalable web applications (with Kohana 3) based off many stackoverflow discussions such as HMVC patterns and MVC vs HMVC.
But, how will using an HMVC approach affect performance when used in…

csi
- 9,018
- 8
- 61
- 81
4
votes
1 answer
Should I make this a Different Module in HMVC Codeigniter?
I'm just getting started using HMVC in Codeigniter. The main module is a news/blog site called 'blog'. I want users to be able to log in to comment, so I have authentication files (tank auth actually). Now I also want the users to have their own…

Nyxynyx
- 61,411
- 155
- 482
- 830