A web developer's blog. PHP, MySQL, CakePHP, Zend Framework, Wordpress, Code Igniter, Django, Python, CSS, Javascript, jQuery, Knockout.js, and other web development topics.

Tag Archives: Code Igniter

Code Igniter: Resize image and save to database; Generate thumbnails

Probably my first Code Igniter tutorial. This one shows you how you can save an image to a database. But before saving that image to a blob field, the image is re-sized first. This behavior is similar to Friendster’s image … Continue reading

Posted in General | Tagged , , , | 8 Comments

jQuery: Select all options in a Multiple-option Select Box

Alright, here is a quick example of how to use jQuery to select all of the items in a multiple-option select box. //Javascript part assuming that you have already included jquery.js in your header $(document).ready(function() { $("#select_all_col_managers").click(function() { $("#col_manager_list").each(function(){ $("#col_manager_list … Continue reading

Posted in General | Tagged , , | 16 Comments

Why I hate Code Igniter (and why is ZF FTW!)

Here is a snippet from my code… public function transaction($company_var=”, $company_value=”, $parent_var = ”, $parent_value=”, $current_page=’1′, $offset_value=”) { $data = array(); //GET VARIABLES PASSED THRU FUNCTION //I hate code igniter for this. //I found out that you can have query … Continue reading

Posted in General | Tagged , | 25 Comments

A Very Quick Zend Framework VS. Code Igniter Comparison

Before anything else, I want the readers to know that I have used Zend Framework for a few months prior to using Code Igniter. I hang out in #zftalk (freenode) when I have time. So I am more of a … Continue reading

Posted in General | Tagged , | 15 Comments

Getting started with: Zend Framework, symfony and CakePHP

This article was posted at IBM developerWorks a few days ago – I don’t know how I missed it. The article gets you started on three of the most popular PHP MVC Frameworks. Surprisingly, Code Igniter, which is my second … Continue reading

Posted in General | Tagged , , , , | Leave a comment