Welcome Guest, Not a member yet? Register   Sign In
Correct MVC way for tab application
#1

[eluser]Unknown[/eluser]
I have a web app which consists of 4 tabs. Each of the tabs is a completely different section which means every tab is a controller.

Is there an MVC way to load all the tabs in one page , without using libraries/private functions? Something like $this->load->controller() or?
#2

[eluser]ivantcholakov[/eluser]
HMVC
#3

[eluser]Karman de Lange[/eluser]
Hi,

One way to leave controllers as is , is to simply leave the tabs blank and do a ajax call on tab "open" event to the correct controller and populate the tab with ajax response.



Liaan




Theme © iAndrew 2016 - Forum software by © MyBB