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
4
votes
2 answers

What functionality should go into Zend Framework modules?

I'm a bit puzzled about Zend Framework modules. I mean - I understand that you would usually want to have frontend and backend module... right? But - What else would you separate out into modules? can someone who uses Zend Framework professionally…
Stann
  • 13,518
  • 19
  • 65
  • 73
4
votes
2 answers

HMVC in Zend Framework

Is it possible to use the HMVC pattern in Zend Framework? It is implemented in Kohana 3 by default and I really love it, so now I want to use it in Zend Framework. Edit I want to make it possible to: 1) include a complete request (like…
Rene Terstegen
  • 7,911
  • 18
  • 52
  • 74
4
votes
5 answers

HMVC on CodeIgniter 3 not working - getting 404

I 'm trying to set up modularity on my CI 3 installation, but seems not working. I'm using wiredesignz package found here under the "Branches" tab. The steps I did: Copied MY_Loader & MY_Router in application/core Copied MX folder in…
ltdev
  • 4,037
  • 20
  • 69
  • 129
4
votes
1 answer

HMVC and HTML Componentizing

I've read several articles about HMVC, in PHP and other languages, and in all of them the implementation of this pattern was about having a "Master-Controller" requesting the Response Body of one or more resources, internal or external, using cURL…
user753531
4
votes
3 answers

Ambiguity in HMVC Routing

I've a routing mechanism that dispatches requests by relying on the file system structure: function Route($root) { $root = realpath($root) . '/'; $segments = array_filter(explode('/', substr($_SERVER['PHP_SELF'],…
Alix Axel
  • 151,645
  • 95
  • 393
  • 500
4
votes
3 answers

Redirect to show_404 in Codeigniter from a partial view

I am using the HMVC pattern in CodeIgniter. I have a controller that loads 2 modules via modules::run() function and a parameter is passed to each module. If either module cannot match the passed paramter I want to call show_404(). It works, but it…
Justin
  • 26,443
  • 16
  • 111
  • 128
4
votes
2 answers

Codeigniter : Unable to locate the model you have specified

I have upgraded my PHP from version 5.2.9 to 5.3.1 and have encountered the following with my codeigniter application: Unable to locate the model you have specified: some_model Codeigniter version 2.1, with HMVC extension Server: Centos 5 The model…
WebNovice
  • 2,230
  • 3
  • 24
  • 40
3
votes
2 answers

Combining multiple controllers on one page, without loading controllers from a controller

I'm trying to create a page that displays certain widgets/includes dependent on the users permissions. I'm quite new to CodeIgniter and MVC. Example. I have a calendar. This has a controller, model and view and it needs to be included on other…
JPickup
  • 388
  • 3
  • 17
3
votes
2 answers

How do I preserve the value of a variable after an HMVC sub-request in Kohana 3.1?

I'm having an issue with preserving the value of a variable after an HMVC sub-request in Kohana 3.1.3.1 and am wondering how best to approach/fix it. I thought that additional requests in Kohana were isolated from each other, but it doesn't seem to…
DM.
  • 111
  • 1
  • 1
  • 8
3
votes
1 answer

codeigniter hmvc module helper

i made module comments, it requiers my custom helper to work, how can i store helper in module folder instead application/helpers?
mineass
  • 33
  • 1
  • 3
3
votes
1 answer

Loading views in codeigniter HMVC not working

I am trying to load a view from a second controller's view within my first controller but it gives the error that the view cannot be found, even though it is there. Example Module -> music Views -> new -> file1.php Views -> old ->…
topbennie
  • 149
  • 2
  • 3
  • 5
3
votes
2 answers

Codeigniter HMVC and datamapper compatibility

I am new to Codeigniter and I am thinking about the use of this framework in my new project. I am going to need these two extensions. Before digging into too deep, I wonder if anyone already has experience with them and can kindly give some insights…
bobo
  • 8,439
  • 11
  • 57
  • 81
3
votes
1 answer

Share a Kohana install between sites

Hey all, kind of new at Kohana and I have a quick question. I have a site where there will be three subsections, organized by subdomain (i.e. admin.site.com, community.site.com, www.site.com) but each of the subsections will be pulling from the same…
Patrick
  • 489
  • 6
  • 15
3
votes
1 answer

How can I call another module controller inside my controller using CI3 + HMVC?

I am using HMVC in my simple project but I don't know how can I call them inside my controller. Here's my setup - modules - common - controllers - header - footer - views - header - footer - foo - controllers …
Jerielle
  • 7,144
  • 29
  • 98
  • 164
3
votes
1 answer

Using pingpong sky module in laravel 5

i wonder why i'm get something like this when add pingpong sky module to project i think, i already follow all instruction in pingpong sky installation when i create module Auth in cmd i got message success but when i try to access Auth module in…
Surya Matadewa
  • 1,017
  • 5
  • 19
  • 38
1 2
3
28 29