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.

426 questions
-1
votes
2 answers

HMCV How to load model from other module

Hi Everyone. Here I have really very simple question. I’m in modules/guestbook/admin.php and I want to load model from a different module modules/admin/models/ This Method: $this->load->model('someModel', 'someModel'); is not working bcz HMVC is…
-1
votes
1 answer

Codeigniter HMVC : Error on running controllers having same name from different module name

I'm using Codeigniter 2.1.3 with HMVC (https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc/overview) I've tried to run two modules in a view as shown below
Mansoorkhan Cherupuzha
  • 1,761
  • 1
  • 24
  • 45
-1
votes
1 answer

Creating a method accessible from all controllers

I need to make a model method which can be accessed from all other controllers, regardless of parents and modules. I'm using CodeIgniter and HMVC patterns, if that have anything to say. What I am looking for is identical to static classes/methods in…
Patrick Reck
  • 11,246
  • 11
  • 53
  • 86
-1
votes
2 answers

Kohana - comments under article

How to show comments under the article in Kohana v3.2 ? Should I use subrequest to Comments Controller or just call the Comment model in "View" action of Article controller?
crash01
  • 117
  • 1
  • 8
-2
votes
1 answer

Codeigniter 4 Modules not working properly

I have been trying to setup codeigniter 4 modules but it seems something is not working properly it takes me to 404 or not found. i have gone through this doc : https://codeigniter4.github.io/CodeIgniter4/general/modules.html?highlight=modules I…
-2
votes
2 answers

Dissecting ruby on rails model, view, controllers and routes for a large project

I want to separate model view controllers in HMVC form including routes.After reading i found that ruby on rails does not support HMVC structure.Is there any alternative of doing it?. I also want to separate routes module wise. Please suggest some…
Sachin Prasad
  • 5,365
  • 12
  • 54
  • 101
1 2 3
28
29