Selenium & Saucelenium: installation and dbus-xorg-woes

We’re about to launch a new product, and this time it’s pretty client-side-intense. The application is powered by a lot of JavaScript(-mvc) and jQuery, which do xhr calls to a ZF/CouchDB powered backend. While js-mvc has unit-testing sort of covetred, I was also looking for some integration testing, multiple browsers and all that. Selenium vs. Saucelenium I can’t really say if you want one or the other. Revisiting Selenium in general, it’s IMHO the only viable and suitable thing for a PHP shop....

September 7, 2010 · 2 min

Looking for Two PHP Developers in NYC

Hey everyone, it’s my sincere pleasure to announce that we’re looking to fill two positions for PHP developers (entry/junior) in NYC. Expectations This is what we look for from candidates: A strong and firm knowledge of PHP5 First hand experience with the Zend Framework You’ve heard of PHPUnit and TDD An idea of what a HTTP request is and the different applications that take part in one You heard of CouchDB, MongoDB or Redis (generally “NoSQL”) before Last but absolutely not least:...

August 12, 2010 · 1 min

Monkey patching in PHP

I haven’t really had the chance or time to play with PHP 5.3 until recently when Ubuntu 10.04 upgraded my local installations and kind of forced me to dive into it a little. And I’m also probably the last person on the planet to notice, but namespaces in PHP 5.3 allow you to monkey-patch core PHP code. What’s monkey patching? So monkey patching is a technique to replace functions at runtime....

June 22, 2010 · 2 min

PHP, APC and sessions

Playing with redis/Rediska and sessions, I wanted to get more numbers to compare this solution to a traditional MySQL-based approach which also made me revisit the idea of a CouchDB-based session handler for Zend_Session. Implementing this handler, I ran into a weird issue: Fatal error: Undefined class constant 'ALLOW_ALL' in /usr/home/till/foo/trunk/library/Zend/Uri/Http.php on line 447 Call Stack # Time Memory Function Location 1 0.7357 3914816 Foo_Session_SaveHandler_Couchdb->write( ) ../Couchdb.php:0 2 0.7358 3916600 Foo_Couchdb->query( ) ....

May 26, 2010 · 3 min

PHP: So you'd like to migrate from MySQL to CouchDB? - Part III

This is part three of a beginner series for people with a MySQL/PHP background. Apologies for the delay, this blog entry has been in draft since the 13th December of last year (2009). Follow these links for the previous parts: part I part II Recap Part I introduced the CouchDB basics which included basic requests using PHP and cURL. Part II focused on create, read, update and delete operations in CouchDB....

May 17, 2010 · 3 min