Subscribe to ITTreats.com - PHP

POSTing JSON Data With PHP cURL – Lorna Mitchell

I got this question the other day: how to send a POST request from PHP with correctly-formatted JSON data? I referred to the slides from my web services tutorial for the answer, and I thought I’d also put it here, with a bit of explanation. After all, publishing your slides is all very well, but [...]

PHPBuilder.com: Talking to Facebook’s Social Graph with PHP

On PHPBuilder.com there’s a recent post showing you how to connect your application with Facebook’s graph API and grabbing the current user’s public profile information. In recent years, [Facebook's] influence has dramatically grown thanks to the Facebook Platform, a set of APIs which third-parties can use to create or extend applications which tightly integrate with [...]

Ibuildings techPortal: DPC Radio: Distributed Couch Apps – Embracing eventual consistency

On the Ibuildings techPortal today they’ve posted the latest episode of their DPC Radio series of podcasts, recordings of sessions from this year’s Dutch PHP Conference. In this new episode they share the presentation by Kore Nordmann “Distributed Couch Apps – Embracing eventual consistency”. CouchDB is a prominent representative of the NoSQL movement. Using its [...]

PHPMaster.com: Localizing PHP Applications "The Right Way", Part 4

In the latest installment of their “Localizing PHP Applications ‘The Right Way’” tutorial series (part four), they show off a feature of gettext that makes it simpler to deal with singular versus plural versions of your translations. In Part 3 you learned some of the more important aspects of real-world localizing your application, such as [...]

Kevin Schroeder’s Blog: Connecting to the Zend Developer Cloud with PHPStorm

A few days ago Kevin Schroeder showed how to connect the Zend cloud services with the Zend Studio IDE. In this new post he shows how to connect another popular IDE – PHPStorm. Just because you want to use the Zend Developer Cloud at phpcloud.com doesn’t mean that you necessarily use Zend Studio. While I [...]

Community News: Latest PEAR Releases for 11.21.2011

Latest PEAR Releases: Net_IPv6 1.2.2b

Derick Rethans’ Blog: Twig extension

In a new post from Derick Rethans he talks about an extension version of Twig, the popular templating engine from the creators of the Symfony framework. A while ago, Fabien asked me to have a look at porting one of Twig’s slowest methods, TwigTemplate::getAttribute(), into a PHP extension. It is a complex method that does [...]

Horde Hackathon 2011 part 1 – Horde news

A few more details about my personal programming projects during the Horde Hackathon 2011 in Boston last weekend. There’s also some insight into how timezones work in Horde and a new PHP library for timezone support that might be interesting for other projects too.