Butterfly

Consuming REST with PHP and Streams


Josetteorama, May 2013

I had the privilege of being asked to write for Josetteorama recently, and here is my article now published there: http://www.josetteorama.com/consuming-rest-with-php-and-streams-2/. The idea is to give some practical examples of using streams, which I think are a hugely under-appreciated feature of PHP. You can handle data piecewise, add filters as you please, and it has all the options you'll ever need (and probably a few you won't!) for working with HTTP.