Welcome Guest, Not a member yet? Register   Sign In
CI 3 should has partial view or user control
#1

A common requirement of web page development is sharing the same header, footer, sidebar in several pages.

And also, these shared header, footer, sidebar might have logical code to retrieve data from database or other tasks.

So the php include is not enough, it only can include html codes or simple php codes.

Some other framework support partial view / partial controller / user control, these items can be nested into web pages, and the web page only need to implement the main part of the page.
Reply


Messages In This Thread
CI 3 should has partial view or user control - by iamybj - 02-07-2015, 06:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB