I decided to try HMVC pattern with codeigniter but I have some doubts about how to think about and build my website structure using this pattern so I have some questions:
- if the main focus is on modules what is the purpose of
application/controllers
,application/views
andapplication/models
. - can I remove the aboved folders and route the default controller to some module?
- if I have 3 controller each of them haveing unique
$type
and$id
but all of them need to call a controller that control every thing about comments in website and just pass$type
and$id
, will this confilct with HMVC pattern?
here you have a good guide