PHPNews

I work at Yelp now!

In a twisted turn of events, I suddenly find myself to be working for Yelp ! It sounds a bit like it was a surprise, and it kind of was. Only 6 months after I started my job at Turnstyle , it got acquired by Yelp . I would joke “I must have done something right”, but the truth is that I work with some extremely …

Continue reading »

Written by Evert Pot - - Aggregated on Friday April 21, 2017


After 10 years, I'm stopping my work on sabre/dav

Almost 10 years ago in 2007, I started a project called sabre/dav . I originally was looking to scratch an itch and solve a real problem we had in our company. A lot of people ended up being pretty excited about it. In 2010 I got to a point where doing consulting around this project allowed me to travel around the …

Continue reading »

Written by Evert Pot - - Aggregated on Thursday March 9, 2017


Working with HAL in PUT requests

At my new company , we’re developing a REST api. We’re trying to strike the balance between ‘easy to use’ and sticking to the rules of REST, and that’s given us more than a few unforseen benefits. When you work within a framework that a lot of people have spent time thinking about, there’s a lot of answers if you …

Continue reading »

Written by Evert Pot - - Aggregated on Thursday December 15, 2016


Switching to Google AMP and back

A few months ago I added support for AMP to this blog. Not that it desperately needed it, but the premise seemed interesting and I figured it would be good to get some experience with new technology. The real selling point for me is how fast this website would appear in search results. The switch to AMP This …

Continue reading »

Written by Evert Pot - - Aggregated on Tuesday October 25, 2016


Syntax highlighting in presentations

I often go back and forward between presentations software, trying to find the best one, never being happy. I recently used cleaver , which is nice for simple stuff, but this time I’m back to LibreOffice Impress because I don’t want to spend a long time fighting with layout. One task that’s never super obvious is …

Continue reading »

Written by Evert Pot - - Aggregated on Wednesday October 19, 2016


sabre/event 4 released for PHP 7

I just released sabre/event 4. This version is PHP-7 only, and allowed me to figure out what it means for a project to take advantage of type-hints in PHP 7. I decided to put the declare statement right on the first line of every PHP file, so every file starts like this: <?php declare (strict_types=1); ?&…

Continue reading »

Written by Evert Pot - - Aggregated on Tuesday September 20, 2016


Go for PHP programmers

Yesterday I did a talk titled “Go for PHP programmers” at the Toronto PHP meetup. The slides don’t properly represent what I talked about there, as I chatted a lot more about PHP, while showing Go examples, but if you’re interested, the slides are here. For the slides I decided to use cleaver this time, which is …

Continue reading »

Written by Evert Pot - - Aggregated on Wednesday September 14, 2016


REST is in the eye of the beholder

The first time I came across the term REST must have been around 2005 or 2006 via Flickr , which was back then in many ways a pioneer in terms of how web applications should be built and designed. REST, at the time, was a breath of fresh air and it seemed very sane in a world where SOAP and XML-RPC were …

Continue reading »

Written by Evert Pot - - Aggregated on Tuesday July 26, 2016


PHP Sucks

I think PHP sucks, but not for the obvious reasons. Today I got into a mild discussion on twitter, sparked by the following tweet: Every time someone says "PHP sucks" an elephpant laughs and keeps counting their money earned from getting things done — (((Chris Hartjes))) (@grmpyprogrammer) June 15, 2016 …

Continue reading »

Written by Evert Pot - - Aggregated on Tuesday June 14, 2016


Blogging for 10 years!

10 years ago today I first started this blog. I guess at this point it might be the longest running ‘thing’ I’ve ever done. Back then I had never been on an airplane, but since then I’ve blogged from every continent except Antartica. Although blogging isn’t nearly as cool as it used to be, and twitter has largely …

Continue reading »

Written by Evert Pot - - Aggregated on Saturday May 28, 2016


sabre/xml and repeating elements

We recently got a support ticket with a simple sabre/xml question. Because it’s a nice demonstration for sabre/xml, I thought it would make for a short and sweet blog post. eddy8 asks (paraphrased): how do I repeat the same xml element name, to create a structure such as this: <?xml version="1.0"?>…

Continue reading »

Written by Evert Pot - - Aggregated on Thursday May 19, 2016


Why PHP-FIG matters

The PHP-FIG is currently going through some growing pains. I recently resigned as a voting rep, and after some juvenile controversy Lavarel, Doctrine and Propel have as well. Since its inception 8 years ago, the groups greatest problem has been to properly organize itself. From having followed the mailing lists …

Continue reading »

Written by Evert Pot - - Aggregated on Friday May 13, 2016


WebDAV resource sharing: an overview

I’ve been working on a specification for WebDAV resource sharing since early 2014, and it’s getting fairly close to completion. Time for a blog post! Background At CalConnect 29 in San Francisco it became apparent that there was a need to standardize CardDAV address book sharing. There is currently no standard …

Continue reading »

Written by Evert Pot - - Aggregated on Tuesday March 29, 2016


Drop 'public' not 'var'!

Bikeshedding time! A PHP RFC vote has started to deprecate the var keyword in PHP 7.1 and remove it in PHP 8. At the time of writing, there 23 who say it should be removed, and 18 who say it should not. I suspect that most people in the “no” camp, feel that way about var because There’s not a big …

Continue reading »

Written by Evert Pot - - Aggregated on Saturday March 26, 2016