CodeIgniter: Organizing views simply | Ask About PHP
September 17 2009, 2:09pm
Trying my hands at using CodeIgniter, one of the first obstacles I had was how to organize my ‘blocks’ on a page. Without knowing any better, I thought I had to reiterate the same view calls in every function within the controller, making the controller codes very messy.
It turns out that CodeIgniter allows us to nest views within views, and that has made things a lot simplier for me.
Via: http://www.askaboutphp.com/beginners/48/codeigniter-organizing-views-simply.html
blog comments powered by Disqus