Category Archives: PHP

Contribute to PEAR: Start small

A narrative tutorial-like introduction to fixing broken stuff in projects you know little about. If you find an error, please do comment, or email. Right now is a good time to be a new PEAR hacker. Plenty of experienced mentors … Continue reading

Posted in PHP | Tagged , , , | View Comments

Contribute: Low-hanging fruit in PEAR

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?

Posted in PHP | Tagged | View Comments

Thank you, MacPorts: How to add OpenSSL support to your PHP

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, … Continue reading

Posted in PHP | Tagged , | View Comments

CakePHP: grab only the data you need

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, … Continue reading

Posted in PHP | Tagged | View Comments

Calling an XML-RPC method (PHP, Ruby)

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. … Continue reading

Posted in PHP, Technology | Tagged , , , , | View Comments

List of local geek communities (work-in-progress)

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 … Continue reading

Posted in PHP, Technology | View Comments

Drupal + CakePHP = Drake

Tutorial for using Drupal and CakePHP together, written by Felix Geisendörfer. A match made in heaven?

Posted in PHP, Technology | View Comments

CakePHP news: Data Bindings v0.1 Example

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 … Continue reading

Posted in PHP | Tagged | View Comments

Cake PHP framework in alpha

Release announcement for “cake_0.10.0.1217_alpha”, which is more stable than any other release. Most of all, this release is about making the developer experience more cohesive, and “orthogonal”. Method calls and return values look more or less the same everywhere, and … Continue reading

Posted in PHP, Technology | Tagged | View Comments

PEAR news: Validate_DK validates Danish numbers

Rejoice! A PEAR class for Danish numbers is now in alpha: Docs For Class Validate_DK are sparse, but you can see the four methods: * carReg * phoneNumber * postalCode * ssn I like this. One person, in this case … Continue reading

Posted in PHP, Technology | Tagged | View Comments