Questions tagged [hmvc]

The HMVC (Hierarchical-Model-View-Controller) pattern decomposes the client tier into a hierarchy of parent-child MVC (Model-View-Controller) layers.

428 questions
130
votes
5 answers

What is the HMVC pattern?

Reading Kohana's documentation, I found out that the main difference in 3.0 version is that it follows the HMVC pattern instead of MVC as version 2.x does. The page about this in Kohana's docs and the one on wikipedia didn't really give me a clear…
Matteo Riva
  • 23,656
  • 11
  • 69
  • 103
38
votes
9 answers

How to load a controller from another controller in codeigniter?

I want to load a controller from a function in another controller because the library I integrated to my project I don't want to load it to the controller because I want to keep it clean and related. I tried using modules but I still had to put…
Luis Liz
  • 1,819
  • 3
  • 20
  • 29
28
votes
2 answers

MVC vs HMVC for web application development

I'm using MVC pattern for web development. I use codeIgniter framework. I found http://fuelphp.com/ and http://kohanaframework.org/ , they are using HMVC. It still not is clear of HMVC and why we should use HMVC instead of MVC ? I am confused after…
saturngod
  • 23,567
  • 16
  • 58
  • 86
19
votes
4 answers

Controller vs. Model - Need explanation

I'm on the beginning of my "Learn MVC" way. Basically, I don't have big problems with object-oriented programming however there's one technical aspect that needs clarification. It seems that my theory isn't quite good enough. Currently, I'm using…
M. A.
  • 269
  • 1
  • 3
  • 9
13
votes
2 answers

How to create a widget system in Codeigniter

I am creating a custom CMS in Codeigniter and I'd like to have a widget system similar to what is used in Wordpress. For example, I'd like to have a widget that shows the last 5 posts displayed on the sidebar. I'd also like to be able to control…
Motive
  • 2,841
  • 8
  • 38
  • 62
12
votes
3 answers

What Can I Use the HMVC Architecture for?

the PHP framework I am using (Kohana) recently implemented the HMVC architecture. I have read that it's a layered mvc where requests are made on top of each other. It is a bit like ajax, just purely server-side. I have applied it a bit on some…
yretuta
  • 7,614
  • 16
  • 71
  • 143
11
votes
1 answer

How to make HMVC In Laravel 5?

I have finished my previous project in yii2. Now, I'm currently working on laravel 5. I am new to laravel 5. I have googled about HMVC in laravel but I haven't found an appropriated answer (ie package) on Laravel. In Yii2 it provided by default .But…
nirajan poudel
  • 632
  • 1
  • 8
  • 13
11
votes
7 answers

codeigniter+HMVC cross module call controller->method

I am pulling all my hair off... Have been searching every thread, would appreciate if someone can point me to a working example. Accroding to the doc: https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc I can call another…
Reed
  • 1,567
  • 3
  • 20
  • 27
10
votes
7 answers

Setting up Codeigniter HMVC with tank auth

I am having trouble getting a working Codeigniter version 2.0.3 with hmvc and tank auth(set up as a module) setup properly. I have installed CI properlly and then install HMVC with these directions…
CI_Guy
  • 1,029
  • 2
  • 20
  • 39
10
votes
4 answers

How to implement HMVC in codeigniter 3.0?

Currently I'm using codeigniter version 3.0. I want to know how to implement HMVC structure in it, can anyone help?
9
votes
4 answers

Hierarchic MVC in Rails 3?

I've read about HMVC (Hierarchic Model View Controller) and it's flexible structure. Have a look at this picture: http://techportal.inviqa.com/wp-content/uploads/2010/02/MVC-HMVC.png I wonder if the Rails 3 plugins are the answer to HMVC in Rails 3?
never_had_a_name
  • 80,383
  • 96
  • 257
  • 374
9
votes
1 answer

Codeigniter HMVC + ion_auth trouble loading the config items

I have been banging my head for 5 hours and I finally solved the problem but I just cannot go to sleep without knowing the reason. Let me explain the issue first. I have used codeigniter HMVC extension and installed ion_auth as a separate module.…
Fawzan
  • 4,181
  • 6
  • 31
  • 73
8
votes
6 answers

Multiple models vs single model

I have a question about MVC. Particularly about models. Suppose that I have a category table in my database. Now I would like to get results both for a single category for detailed view and multiple categories for a listing. Also I may need to…
Sinan
  • 5,424
  • 9
  • 34
  • 65
8
votes
6 answers

CodeIgniter - Unable to access an error message corresponding to your field name Password.(pword_check)

I am a new to codeIgniter and I just got stuck in the very beginning. I am using HMVC extention and while validating I am getting the following error: Unable to access an error message corresponding to your field name Password.(pword_check) any…
Shivam Gupta
  • 221
  • 1
  • 2
  • 7
7
votes
1 answer

CodeIgniter and HMVC questions

First of all, sorry for any convenience caused by this post because this is the first time I post a question here and I need more time to get used to with this. Q1. I want to create 2 "master controllers" for FrontEnd and BackEnd like…
Michael Bui
  • 573
  • 2
  • 6
  • 16
1
2 3
28 29