Laurent built a Growl notifier for PHPUnit test results so that you can see red/green as a Growl notification on your Mac.
This link post is quite irrelevant should you never be using PHP. Therefore, I categorized it. Published in 2010, Unix manual pages for PHP functions is still a useful tip. A decade of using Python, and you don’t ask yourself where the argument goes in a function you use daily. Experienced PHP developers look at […]
When working with unit testing in PHP, you might already be using my favorite PHP unit testing tool PHPUnit. If you are, perhaps you’ve heard of the TicketListener interface. No? Then read on. Raphael Stolt closes GitHub issues from his PHPUnit tests. Which is cool. He inspired me. I wrote some code. You can now […]
Here is a list of very simple bugs to fix, to make PEAR better: Deprecation bugs for PEAR code. I fixed two. The list was a wee bit shorter when I reloaded its tab. How many of these bugs remain?
Many interesting web APIs require SSL, for instance Google’s GData API. This adds OpenSSL support to your MacPorts-installed PHP, so that you can use the “ssl” transport layer: sudo port install php5-openssl Done. Thanks, jmr_mp in the MacPorts IRC channel, for telling me about the existence of this short and neat patch-applying port, so that […]
When dealing with an abstraction that outputs dynamic SQL “behind your back”, it’s often easy to forget that some of the queries are… too greedy and grab unneeded data. Here is how to ask for less data, using CakePHP. Today, I listed only name and id fields of a Model, and to restrict the findAll() […]
Calling web services. Great fun when it works. Thanks to XML-RPC’s simplicity, it’s quite easy to cobble together a working client. Here is me using the Technorati “ping” service, which tells them about the Copenhagen Ruby Brigade’s weblog being updated. And then, prints the result. My PHP take on this looks klutzy. But the request […]
I talked with a local PHP developer today, who’d seen my blog, and we talked some CakePHP, frameworks, servers, the general state of scripting languages, and so forth. And then we came to the subject of local communities, where developers meet up and talk shop. And, as a Copenhagener, I don’t know very much about […]
Tutorial for using Drupal and CakePHP together, written by Felix GeisendÃ¶rfer. A match made in heaven?
You might know that I am involved in the [CakePHP framework](http://www.cakephp.org/) project, and I’m developing web sites with it now. On the IRC channel today, I was alerted to the existence of the Bindings sister project. Now they have an example up, for all to see. Data Bindings v0.1 Example is a piece of very […]