What is The League of Extraordinary Packages?

Posted 2014-10-16
Category PHP
This is the story of group of friends, who decided to write some code, but somehow confused and angered everyone with a keyboard.

Read More »

Try out PHPbrew and VirtPHP

Posted 2014-10-12
Category PHP
As a developer working with multiple languages regularly, I come across a lot of different ways of doing things. Some of the flows and development tools available in other languages are nothing at all to do with the language, they were just something a developer using that language decided to do. Now and then, those things cross the "barriers" between languages, and PHP gets some nice new toys.

Read More »

Stop Pretending Everything Is OK

Posted 2014-08-15
Category Personal
We work in an industry where far too many people pretend that everything is O.K. We pretend that sexism isn't rife. We pretend that startup failures are a "success" in some way. We ignore negative feedback and only publish success. We pretend that our work is amazing and worry too much about how it was a good idea, and never admit that it became outdated. That is unrealistic bullshit and I am asking you to stop.

Read More »

I was an Extraordinary Alien... For a Week

Posted 2014-08-04
Category Personal
A personal write-up of something I've not been able to talk about for a while. Probably the most complicated year of my life.

Read More »

The Neverending Muppet Debate of PHP 6 v PHP 7

Posted 2014-07-23
Category PHP
There are a few major, important conversations happening in the PHP internals mailing list as we speak... and then there is the discussion about calling the version that comes after PHP 5 either PHP 6 or PHP 7. Um?

Read More »

Send PSR-0 to the Standards Farm in the Sky

Posted 2014-07-19
Category PHP
This article attempts to convince you that deprecating the PSR-0 auto-loading standard in favor of the PSR-4 auto-loading standard is not only a good idea, but a problemless wonderland of happy benefits, in the hope that when I try to get this done on the FIG mailing list, people will be happy about it instead of sad or rage-mode.

Read More »

The Pocket Guide to Sexism in Tech

Posted 2014-05-31
I had somebody explain to me on Reddit that they just didn't believe there was a problem with sexism in tech. Just flat out said it is not a thing. I explained things I have seen and heard with my own eyes and ears in various jobs and events and still, apparently that was just anecdotal - which was somehow not relevant. He wanted cold, hard proof. This is me trying out a little thing called Google.

Read More »

Fractal v0.8.0, now with Serializers

Posted 2014-05-29
Category PHP
A new version of Fractal is out, which is a package aimed at making life easier to API developers handling output. At a basic level it acts as a way to typecast an array of data, like array_map() but defined in classes, but at most it can do much more. It can help include other resources inside the response based on user input, so /books?include=author,comments for example will give you exactly what you expect without hardcoding it to always display. The new version provides some serializers, to allow you to change the way that data is represented as output.

Read More »

RESTful Deletions, Restorations and Revisions

Posted 2014-05-25
Category REST
A friend asked me for some advice on how to approach building article revisions and restoring deleted content from API in a RESTful way. With most things, it didn't fit on Twitter, so I promised him a blog. 

Read More »

RESTful URLs: Actions Need Not Apply

Posted 2014-05-11
Category REST
I was doing a little consulting for a company while I was out in South Africa and we played the game. You fire SOAP functionality at me, and I write down RESTful endpoints. Once or twice I found myself considering suggesting a dodgy unRESTful endpoints, but each time I wrangled my brain a little harder to work out what combinations of slashes and squiggles would appease the RESTful Overlords, and avoid them throwing lightning bolts down from upon high.

Read More »