Hostinicon
GET HOSTING FROM $3.95/MO PLUS A FREE YEAR ON TUTS+ (RRP $180). HURRY OFFER LIMITED. Check it out
Advertisement

How to Create a Config Variables Loader in CodeIgniter

by
Gift

Get a free year on Tuts+ this month when you purchase a Siteground hosting plan from $3.95/mo

If you’ve been using CodeIgniter or another MVC framework for any length of time, you’ve probably started to realize the advantage of abstracting data and logic from presentation. But efficiency is not without its drawbacks, and in the case of CodeIgniter, one of these drawbacks is the need to constantly bounce variables out of your controllers so that they are available in your views.


Full Screencast


Advertisement