Archive for the ‘Open Source’ Category

jQuery development marches on (1.2.6)

Wednesday, June 4th, 2008

jQuery 1.2.6 was released recently, with plenty of bug-fixes and speed improvements. Most notably event handling was sped up 103% and the dimensions plugin was integrated into the framework (the dimensions plugin is an API to calculate elements sizes in a cross-browser and reliable way).

In addition, jQuery UI has recently reached release-candidate status, which means all non minor or trivial issues were solved and it's getting to the point that it will production ready shortly. I have been using its components for a while in anticipation of such release, and hopefully they will have their documentation up soon.

Good times to be jQuery developers :)

PHP Versus The World

Thursday, May 22nd, 2008

php vs worldApparently PHP has a lot of functions starting with the letter A, and people find it offensive (Read a pro-PHP response to that article here).

(more...)

Models In The Zend Framework – Part 2

Wednesday, May 21st, 2008

Continuing with this series, we'll get right to business.

Filtering and validation

Filtering and validation are the basics of dealing with user input in the web. We filter data before passing it to the database to prevent attacks (such as SQL Injections) and we validate user input to make sure it is what we expect it to be (hence, valid).

I will be using the Zend_Filter and Zend_Validate components to deal with those two tasks, and combine their usage via the Zend_Filter_Input component. Zend_Filter and Zend_Validate are self explanatory, however I will cover Zend_Filter_Input in brief.

(more...)

Models in the Zend Framework – Part 1

Sunday, May 18th, 2008

Preamble: This series of articles deals with providing a generic model class for use in the Zend Framework.
(more...)

PHP CMS packages are bad, mmkay?

Friday, May 16th, 2008

Something that keeps bothering me is how badly written the major CMS packages for PHP are. Yes, I'm talking about wordpress and drupal amongst others, that are so insanely popular but are just as insanely procedural hack-fest mess.

Lets get this out of the door - I'm an Object Oriented guy. I strongly believe OO methodology to be superior in so many ways to procedural code. Given that, I have seen procedural code that is very neatly organized (almost to the point that it emulates OO standards using function hierarchy). WordPress and drupal code however, is not.
(more...)