Welcome Guest, Not a member yet? Register   Sign In
wiredesignz Moduler Extension HMVC
#3

(05-04-2016, 05:31 AM)zohaibniaz788 Wrote: Using HMVC  is best approach in CI?
Any security issues with HMVC?

I think in this way we breaking th original behaviour of CI MVC

plz guide me

If you need some HMVC functionality you can simply extend core CI_Controller with MY_Controller with some methods like footer(), header(), foo_module(). And then create you application by extending MY_Controller.
You can invoke any "module" from within MY_Controller like below (my real example):

$this->load_header();
$this->load_left();
$this->load->view('account_list',$data);
$this->load_footer();

In this example "modules" header(), left() and footer() has own language file, view, model and so on.
Reply


Messages In This Thread
RE: wiredesignz Moduler Extension HMVC - by wishmaster - 05-06-2016, 11:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB