I usually use the results that come from the models as objects (not as arrays). However, there are moments when I need to work with […]
Continue readingCategory: Codeigniter
How to use a “Cookbook” with Codeigniter
I was asked to do a review for Codeigniter 2 Cookbook, written by Rob Foster and published by Packt Publishing (to be honest, I actually […]
Continue readingCodeigniter: Install Swift Mailer using Composer
Composer is the new kid on the block. Composer is a tool used to distribute and manage packages. I first heard of it while taking […]
Continue readingForms? Keep the validation rules inside the model
As always, when talking about forms we also talk about validation. For a long time I’ve validated the forms inside the controllers because it is […]
Continue readingCodeigniter: My MY_Model or “How not to repeat yourself”
Often times I find myself doing the same queries over and over again for each table used by an application. This is why I needed to […]
Continue readingA new book about CodeIgniter from Packt Publishing
The CodeIgniter community is still thriving, despite the recent events at EllisLab (http://ellislab.com/blog/entry/ellislab-seeking-new-owner-for-codeigniter). A 3.0 version is in the works down at GitHub and a […]
Continue readingCodeigniter – Connect to two different (multiple) databases
In a job application interview, the employer asked me if I made some “database scalability” in the past. To my shame, I didn’t even understand […]
Continue readingCodeigniter – Create a CAPTCHA with Sessions using the Codeigniter’s Captcha helper
Now and then there is the need to create a captcha spam protection to stop spiders from spamming your website’s forms. Codeigniter framework has a […]
Continue readingCodeIgniter: How to retrieve data from a database
What is a dynamic site without databases, right? Yesterday someone asked me to make a tutorial about retrieving data from a database using CodeIgniter. As […]
Continue readingCodeIgniter: How to export data to Excel file
I will assume that you know how to use CodeIgniter, know what controllers, models and views are and what they do. If you don’t know […]
Continue reading