I’ve been working with CodeIgniter for many years and I’ve used it to build several production level apps for my clients and for myself. In general, I find it a great framework. However that was not always the case, especially when just starting out. What I’d like to do is start putting together some practical [...]
CodeIgniter has a helper function that you can use to repopulate your form. It’s in the form helper. To use it, load the helper first. apps/main/controllers/formexample.php [sourcecode] function __construct() { parent::__construct(); $this->load->helper(‘form’); } [/sourcecode] set_value returns the value from the $_POST array for the specified field. It can be used to retrieve values for textarea‘s [...]
CodeIgniter provides the option to use Search Engine friendly URL’s in your application. Search Engine friendly URL’s let’s spiders index your site better and are visually more attractive. mod_rewrite and the Index page Before anything else, make sure you have mod_rewrite enabled on your server. Once that’s taken care of, edit your index.php file and [...]
CodeIgniter offers a bunch of helpers to speed up development. There are URL Helpers, that assist in creating links, there are Form Helpers that help you create form elements, Text Helpers perform various text formatting routines, Cookie Helpers set and read cookies, File Helpers help you deal with files, etc. As the title implies this [...]
Last January 28, 2011 EllisLab officially released CodeIgniter 2.0.0. For those of you who are still using older versions of CodeIgniter here’s how to upgrade to CodeIgniter 2.0 : Download CodeIgniter 2.0 here. Step 1: Update CodeIgniter’s core libraries. Replace the contents of your “system” folder except your “application” folder. Be sure to have a [...]
One of my clients runs a very large offshore application development business. I manage two teams of developers building some really cool internal apps that “processify” manual tasks; and we use CodeIgniter to help expedite the development process. Occasionally a new developer will join our team with little to no experience with the CodeIgniter framework. [...]
One of the interesting things about CodeIgniter is how it creates and handles sessions. CodeIgniter doesn’t use native PHP sessions. Instead it uses a cookie to store the serialized data. This method, according to the guide, offers more flexibility for developers. In this example we’re going to try out the CI session class, and explore [...]
At some point in your php development career, you will have to go out and find a new job. Thankfully there are a lot of php developer jobs out there for you to choose from, however the best php jobs are spread across just a few key php job boards. These are my top 4 [...]




