Written on November 04, 2009
by Zaki
and No one have comment
Yes, I have a problem with CodeIgniter built-in Form Validation Library, the lack of direct Regular Expression test/rule is a huge turn off for me especially when I need to use Regular Expression to as a rule to verify user input.
There are alternative with the use of “callback” to by creating an additional method inside your Controller. The solution is good if you have a complex filtering but why bother when all you need to do is a simple RegExp verification. Based on my Twitter status:
[Click here to read more...]
Written on October 20, 2009
by Zaki
and No one have comment
One of the drawback on CodeIgniter is the Scaffolding Class which is only suitable for testing or development stage. In order to do the same functionality you might find in other PHP Framework for CRUD you have to combine few available libraries in CodeIgniter including Table, Pagination, Form Validation and etc. All the libraries are great but you will end up having to write a long list of function and code to do still CRUD process.
To make the learning process much easier to understand I would actually try to convert CodeIgniter From Scratch: Day 5 – CRUD from Nettuts+ from using available libraries to Ext.CodeIgniter CRUD Library.
Requirements and Basic Informations
- is based and developed on CodeIgniter 1.7.1, it might work with previous version but please do test it out first.
- requires Table, Pagination, Form (Ext.CodeIgniter Library), Form Validation libraries and Form helper.
- callback can be optimized with Template Library for Ext.CodeIgniter.
- your model code can be minimized with ActiveRecord, you may require more works if using raw SQL.
[Click here to read more...]
Written on August 19, 2009
by Zaki
and 10 peoples have comment

For someone who spent 3 years maintaining my own PHP Framework I find it hard to understand why CodeIgniter bundle in a Template Library. There are actually a few good 3rd party Template Engine which you can find for CodeIgniter but let me share with you a port over Template Library for my so call own PHP Framework.
Requirements and Basic Informations
- is based and developed on CodeIgniter 1.7.1, it might work with previous version but please do test it out first.
- the library is build on top of Loader and Output Library allowing you to fully utilize caching, profiler output etc.
- support Parser Library.
[Click here to read more...]
Written on June 23, 2009
by Zaki
and No one have comment

Some people might find WordPress’s get_option and update_option function helpful over filesystem based configuration where you don’t want user to frequently update the configuration files. Today let me show you how we can utilize the same functionality in CodeIgniter using Option Library.
Requirements & Basic Informations
Before we start, let lay out some fact about Option Library:
- is based and developed on CodeIgniter 1.7.1, it might work with previous version but please do test it out first.
- use CodeIgniter build-in Database Class with ActiveRecord.
- we cache the result on every pageview, Option Library query the table and cached it in an Array which mean Option Library doesn’t overhaul your database.
[Click here to read more...]
Written on June 09, 2009
by Zaki
and 2 peoples have comment

FeedMalaya is a social blog aggregator that pull out the best content from Malaysian bloggers was launched on June 7th, 2009 developed by Bat InfoMalaya and myself.
[Click here to read more...]
Recent Comments