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.

Monthly Archives: May 2008

Uploading huge files (i mean huge ones, like 5Gig and upwards). No PHP :P

Okay, here is an interesting find. Although I have never had a client who asked me to upload files larger than 10MB , i have always wondered if there was a better way to do it without using PHP. The … Continue reading

Posted in General | Tagged , , | 1 Comment

Bored.

Posted in General | Tagged | 6 Comments

Booklet Creator :)

http://bookletcreator.com/ There!

Posted in General | Tagged | 1 Comment

A Simple Recommendation System in MySQL

I am posting this because I know I will need this soon or later. I have built a simple recommendation for one of the websites I work with. It is only based on social relationships and does not take into … Continue reading

Posted in General | Tagged , | Leave a comment

Morph Exchange to offer PHP

Morph Exchange brought by Mor.ph is “Software as a Service” company that provides applications spaces/platforms for Ruby on Rails and just recently Java. A few weeks back, I emailed them if they have support for PHP. And guess what, they … Continue reading

Posted in General | Tagged , , , , | 3 Comments

Zend Framework and Dojo Javascript Toolkit Partners

This has been out like crazy in the PHP Community. All my RSS Feeds for PHP have like 2 or 3 links related to the ZF and Dojo partnership so you have probably heard of this post. I have known … Continue reading

Posted in General | Tagged , , , | 2 Comments

Zend Framework How To: Handling checkboxes using Zend_Form and jQuery

I am sharing this because it took me a while to figure out how to handle checkboxes using jQuery. First off, let us create a checkbox using Zend_Form. class forms_CoolForm extends Zend_Form { public function __construct($options = NULL) { parent::__construct($options); … Continue reading

Posted in General | Tagged , , | 9 Comments

Zend Framework How To: Creating your own validator for confirm passwords and emails

Last night I was working on the registration page of my pet-project. I am using Zend_Form for it but I had difficulties creating a validator to confirm 2 fields in the form. I chatted around #zftalk and checked the ZF … Continue reading

Posted in General | Tagged , , | 2 Comments

Very nice syntax highlighting for Aptana

I found this really nice syntax highlighting for Aptana — its called Green Chaud. The color is similar to Zenburn for Vim. It’s been a few months since I planned to make public my Aptana color theme. After the lasts … Continue reading

Posted in General | Tagged , | 4 Comments

PHP: Ternary Operator

This is one my favorites. Sometimes I use this when I come around “short” conditions in variable assignments. Instead of writing something like this: if (isset($myvar)) { $temp = $myvar; } else { $temp = ""; //i need to set … Continue reading

Posted in General | Tagged , | 2 Comments