My good friend Christer has written a simple tutorial on how to write a custom validator for a Zend_Form_Element. If you’ve ever laid your hands on Zend_Form, you’ll want to have a look at this for a short and concise introduction to the topic. He’ll show you how to create a “repeat the password”-field by creating a custom validator and hooking it onto the original password field. Neat stuff.
Category: Uncategorized
Yay for PDO_MYSQLND!
Just found a post detailing the release of the preview version of the MYSQLND support for PDO! For those of us who have grown fond of PDO during the last years and still uses MySQL, this is great news! The MYSQLND library is a reimplementation of the MySQL library, intended for native PHP usage instead of bridging it with the regular interface to libmysql. This brings a neat speed increase and overall goodness.
All hail MYSQLND! I’ll try to give the preview version a try over the weekend. You can read even more over at The PDO/MYSQLND Annoucement at lists.mysql.com or you can have a look at the installation procedure.