PHPNews

Transducers in PHP

Rich Hickey recently announced that transducers are going to be added to Clojure, and it prompted quite a bit of discussion . After a somewhat brief announcement , Hickey followed up with a couple videos that describe transducers in much more detail: Transducers and Inside Transducers + more.async …

Continue reading »

Written by unknown - - Aggregated on Thursday December 4, 2014


Transducers in PHP

Rich Hickey recently announced that transducers are going to be added to Clojure, and it prompted quite a bit of discussion . After a somewhat brief announcement , Hickey followed up with a couple videos that describe transducers in much more detail: Transducers and Inside Transducers + more.async …

Continue reading »

Written by unknown - - Aggregated on Thursday December 4, 2014


Transducers in PHP

Rich Hickey recently announced that transducers are going to be added to Clojure, and it prompted quite a bit of discussion . After a somewhat brief announcement , Hickey followed up with a couple videos that describe transducers in much more detail: Transducers and Inside Transducers + more.async …

Continue reading »

Written by unknown - - Aggregated on Thursday December 4, 2014


Cron Expression Parsing in PHP

As a PHP developer, I’ve often been faced with the task of ensuring something happens on a recurring schedule or determining the next date in time an event will occur. At my previous job, we needed to run scheduled Gearman jobs on a recurring basis. We chose to use cron as the serialization format of our schedules, …

Continue reading »

Written by unknown - - Aggregated on Saturday November 15, 2014


Requiring cURL in Your PHP Library

I sometimes hear that people don’t want to use Guzzle (a PHP HTTP client) because it requires cURL and they want their library to be “portable”. In this post, I’ll attempt to convince you that cURL is the best option for sending HTTP requests in PHP, compare cURL against more “portable” PHP alternatives, and prove …

Continue reading »

Written by unknown - - Aggregated on Saturday November 15, 2014


Guzzle 4 Release Candidate

After nearly 8 months of development, I’m happy to announce a Guzzle 4 release candidate. Guzzle 4 is a huge step forward for the project and brings with it a number of improvements over previous versions. Swappable HTTP adapters Guzzle no longer requires cURL. New in Guzzle 4 is the ability to swap out the HTTP …

Continue reading »

Written by unknown - - Aggregated on Saturday November 15, 2014


Favor Hash Lookups Over Array Searches

A common programming requirement is to match a string against a set of known strings. For example, let’s say you were iterating over the words in a forum post and testing to see if a word is in a list of prohibited words. A common approach to this problem is to create an array of the known prohibited words and then …

Continue reading »

Written by unknown - - Aggregated on Saturday November 15, 2014


Guzzle 4.0

Guzzle 4.0 has arrived! The new version of Guzzle is now simpler, faster, more flexible, and more powerful than ever. You can install Guzzle 4 using Composer: { "require": { "guzzlehttp/guzzle": "4.*" } } View the documentation at http://guzzlephp.org View the source and contribut…

Continue reading »

Written by unknown - - Aggregated on Saturday November 15, 2014


A Case for Higher Level PHP Streams in PSR-7

There’s been a lot of talk lately about the PSR HTTP message proposal , PSR-7. The purpose of the proposal is to create a shared interface that can be used by projects to interact with HTTP messages for both clients and servers. When I created the proposal, I envisioned the purpose is not to say projects that …

Continue reading »

Written by unknown - - Aggregated on Saturday November 15, 2014


RingPHP and Future Responses

Guzzle 4 has been out for a little over six months. It has proven to be leaps and bounds better than Guzzle 3, and I’ve been very happy with the design so far. However, after the release of Guzzle 4, I’ve received feedback from numerous members of the PHP community that can be boiled down to “Guzzle needs async …

Continue reading »

Written by unknown - - Aggregated on Saturday November 15, 2014


Guzzle 5 and RingPHP

Guzzle 5 has been officially released. Guzzle 5 now utilizes RingPHP as the transport layer, making it significantly easier to bind Guzzle to existing networking libraries (e.g., sockets, event loop libraries, etc.). Guzzle 5 can now send both synchronous and asynchronous requests using a consistent interface. …

Continue reading »

Written by unknown - - Aggregated on Saturday November 15, 2014


Managing Changelogs with Chag

Open source projects often include some kind of changelog file that helps consumers of the project to be aware of any important changes that have been made between versions. The format and filename of a changelog typically varies from project to project; however, there’s some promising news… http://keepachangelog.com …

Continue reading »

Written by unknown - - Aggregated on Saturday November 15, 2014


Managing Changelogs with Chag

Open source projects often include some kind of changelog file that helps consumers of the project to be aware of any important changes that have been made between versions. The format and filename of a changelog typically varies from project to project; however, there’s some promising news… http://keepachangelog.com …

Continue reading »

Written by unknown - - Aggregated on Sunday October 26, 2014


Managing Changelogs with Chag

Open source projects often include some kind of changelog file that helps consumers of the project to be aware of any important changes that have been made between versions. The format and filename of a changelog typically varies from project to project; however, there’s some promising news… http://keepachangelog.com …

Continue reading »

Written by unknown - - Aggregated on Sunday October 26, 2014


Guzzle 5 and RingPHP

Guzzle 5 has been officially released. Guzzle 5 now utilizes RingPHP as the transport layer, making it significantly easier to bind Guzzle to existing networking libraries (e.g., sockets, event loop libraries, etc.). Guzzle 5 can now send both synchronous and asynchronous requests using a consistent interface. …

Continue reading »

Written by unknown - - Aggregated on Monday October 13, 2014


Guzzle 5 and RingPHP

Guzzle 5 has been officially released. Guzzle 5 now utilizes RingPHP as the transport layer, making it significantly easier to bind Guzzle to existing networking libraries (e.g., sockets, event loop libraries, etc.). Guzzle 5 can now send both synchronous and asynchronous requests using a consistent interface. …

Continue reading »

Written by unknown - - Aggregated on Monday October 13, 2014


RingPHP and Future Responses

Guzzle 4 has been out for a little over six months. It has proven to be leaps and bounds better than Guzzle 3, and I’ve been very happy with the design so far. However, after the release of Guzzle 4, I’ve received feedback from numerous members of the PHP community that can be boiled down to “Guzzle needs async …

Continue reading »

Written by unknown - - Aggregated on Sunday September 28, 2014


A Case for Higher Level PHP Streams in PSR-7

There’s been a lot of talk lately about the PSR HTTP message proposal , PSR-7. The purpose of the proposal is to create a shared interface that can be used by projects to interact with HTTP messages for both clients and servers. When I created the proposal, I envisioned the purpose is not to say projects that …

Continue reading »

Written by unknown - - Aggregated on Thursday July 3, 2014


A Case for Higher Level PHP Streams in PSR-7

There’s been a lot of talk lately about the PSR HTTP message proposal , PSR-7. The purpose of the proposal is to create a shared interface that can be used by projects to interact with HTTP messages for both clients and servers. When I created the proposal, I envisioned the purpose is not to say projects that …

Continue reading »

Written by unknown - - Aggregated on Thursday July 3, 2014