How to implement HMVC using Kohana's cascading file system

Posted by Yarin on Stack Overflow See other posts from Stack Overflow or by Yarin
Published on 2011-11-12T18:20:32Z Indexed on 2011/11/13 1:50 UTC
Read the original article Hit count: 443

Filed under:
|
|

Kohana 3.2 was designed to support the HMVC design pattern. The HMVC pattern consists of nested MVC-triads. Yet as far as I can tell, Kohana's cascading file system requires all Models and Controllers to be placed within a top 'classes' directory, and Views into a top 'views' directory. If Model/Controllers are thus separated from Views at the top level of the file system, then how are we supposed to implement nested MVC-triads?

enter image description here

© Stack Overflow or respective owner

Related posts about kohana

Related posts about kohana-3