Big companies that use PHP

Every now and then there’s still some people who can’t believe PHP can be used for a big, successful project, when actually there are several examples of huge sites using PHP.

Here’s how some of them share their experience.

Facebook

With over 1.49 billion active users, Facebook has been forced into finding creative, out-of-the-box solutions to scaling.

First, they introduced HipHop for PHP on 2010, a transpiler that took PHP code and converted it into a C++ binary.

Even though the project was largely successful, it forced an elaborate deployment process and several incompatibilities with some PHP language features.

On December 2011, they released the HipHop Virtual Machine (HHVM), an open source virtual machine based on Just-In-Time compilation that allowed the greatly improved performance with an easier development and deployment process.

HHVM helped boost the PHP language development introducing lots of new features and a massive performance improvement on PHP7.

Continue reading “Big companies that use PHP”

Revisiting the “Cookieless Domain” Recommendation

It’s always nice to see someone question established beliefs, specially on the highly evolving world of web development.

Jonathan Klein from Etsy revisits the “cookieless domain” recommendation for serving static assets (CSS in particular) and analyses the pros, cons and the importance of taking DNS lookups and latency into consideration.

Revisiting the “Cookieless Domain” Recommendation

Debian Lenny Vagrant base box

I was recently working on a project where they’re still using Debian 5.0 as their OS. Since I couldn’t find a Vagrant base box with it, I rolled up my sleeves and created my own, so here it is: felipelavinz/debian-lenny

In case you need to create another rare base box, you might want to check this excellent tutorial on creating a Vagrant base box as an starting point.