Archive for category 'CodeIgniter'

2011
19
Sep

Custom CodeIgniter Validation Methods

CodeIgniter’s Form Validation library isn’t bad. It takes a little getting use to but it can be very powerful. Most of the validation that comes with CodeIgniter are pretty much the only ones you will ever need. Every now and then you will need something else. Extending CodeIgniter libraries is very easy. These are some … Continue reading

2011
03
Apr

Mercurial .hgignore file

If you are using Mercurial, there is this handy file in your repository root called .hgignore. This is a file that keeps track of all of the files that should not be tracked by Mercurial. For example, log files or cache files should not be committed to repositories. I do a lot of work with … Continue reading

2011
09
Feb

Sending email in Codeigniter with mail protocol

At work the other day I had to use the Email library in Codeigniter for the first time. The Email library is actually pretty great. Simple, yet powerful. The emails that needed to be sent out needed to bcc about 20 or more different people. On my local machine I built out all of the … Continue reading

2010
14
Dec

Codeigniter Form Library

I’ve been working on a library for Codeigniter that allows you to add a dynamic form anywhere on the page using the database to populate form information such as order of the fields, values of one or many radio, checkbox, and select options. You are even able to apply validation to individual elements. Once I … Continue reading

2010
06
Oct

First Open Source Project

I just signed up for an account with Bitbucket and created my first project. I am going to be creating an open source bug tracker built on Codeigniter 2. I am going to model it based on JIRA which is a JSP bug tracker, but I have a few more plans for it. It’s just … Continue reading

2009
20
Dec

Extending Template Parser

I am working on some stuff for work (yes, on the weekend) that uses the Codeigniter Template Parser class to display content with pseudo variables. I have a pseudo variable parser that allows me to call up a certain function from a certain helper file. To do this I would do something similar to this: … Continue reading