PHPNews

New Job With Siftware

After 4 years of working independently, today I start my new job! I'll be Principal Developer with Siftware , a small development agency specialising in project rescue, migrations, and generally being excellent at things that need business-conscious development skills applied to them. They're UK-based but …

Continue reading »

Written by Lorna Jane - - Aggregated on Monday November 17, 2014


New Job With Siftware

After 4 years of working independently, today I start my new job! I'll be Principal Developer with Siftware , a small development agency specialising in project rescue, migrations, and generally being excellent at things that need business-conscious development skills applied to them. They're UK-based but …

Continue reading »

Written by Lorna Jane - - Aggregated on Monday November 17, 2014


New Job With Siftware

After 4 years of working independently, today I start my new job! I'll be Principal Developer with Siftware , a small development agency specialising in project rescue, migrations, and generally being excellent at things that need business-conscious development skills applied to them. They're UK-based but …

Continue reading »

Written by Lorna Jane - - Aggregated on Monday November 17, 2014


Yitzchok Willroth at php[world]

I had been waiting all day for this talk and at 2:50 p.m. I rushed into a room filled with six long tables. I took a seat on the front row so I wouldn’t miss anything. Waiting to greet me was an index card, a pen, and a sticker. All branded with the speakers avatar. It was an impressive first impression! I have …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Monday November 17, 2014


Designing a DSL with interfaces

During the prep for the Test Double talk I gave at Symfony Live, I read through the paper Evolving an Embedded Domain-Specific Language in Java and it really struck a chord with me for two reasons. Firstly, it gave me further insight in to the theory behind my talk and secondly, because it detailed a process I was …

Continue reading »

Written by Dave Marshall - - Aggregated on Sunday November 16, 2014


Working towards a new Mockery TestDouble API

One of the things that I realised while preparing my Mocks aren't Stubs, Fakes, Dummies or Spies talk, was that none of the major php test double libraries have an API that let's you ask for a particular kind of test double, communicating in your test arrangement what you intend to do with this test double. This led …

Continue reading »

Written by Dave Marshall - - Aggregated on Sunday November 16, 2014


Alien Status: Extraordinary Again

A few months ago I wrote a bit of an emotional article about my visa status, and how I was in a bit of a pickle. A few people since have wanted an update, so here it is. I had lost my job when the startup I worked for imploded shortly after entering the States, which in turn invalidated my work visa. A conference …

Continue reading »

Written by Phil Sturgeon - - Aggregated on Saturday November 15, 2014


Practical OOP: Building a Quiz App – MVC

In part one of this series we began, using the bottom-up design approach, by creating our Quiz and Question entities, writing a dummy Data Mapper class for the Quiz entities, and sketching the interface for our main service, \QuizApp\Service\Quiz , which will define the flow for a user solving a quiz. If you …

Continue reading »

Written by Sitepoint - - 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


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


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 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


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


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


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


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


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