OpCache is like APC - it caches your compiled PHP so you don't need to rebuild it on every request. PHP 5.5 comes with OpCache out of the box. I happen to have PHP 5.4 and wanted it now, so I decided to install it. Here's how.
NodeJS introduced some breaking changes in its [0.10 version](http://blog.nodejs.org/2012/12/20/streams2/). Because this breaks so many packages, I often need to install pre-0.10 versions of Node. Here's how to do that in Ubuntu 12.04 server.
If you have a highly-trafficked site or want the best site-speed for global traffic, using a CDN such as Amazon's Cloudfront might be worth your time. Here I investigate whether it's worth using Cloudfront to deliver not just static assets, but your whole site.
Your firewall is an important first line of defense on any publicly-accessible server. In [previous](http://fideloper.com/ubuntu-12-04-lamp-server-setup "ubuntu php apache setup") [articles](http://fideloper.com/ubuntu-12-04-lemp-nginx-setup "ubuntu php nginx setup") I listed how to set up a firewall without getting …
When you put your web application behind a load balancer, or any type of reverse proxy, you immediately need to take some important factors into consideration. This article will cover those considerations, as well as discuss common solutions.
Laravel's documentation on Database Transactions describes wrapping our database calls within a closure. What if we need more power? Let's dig in to see what's going on behind the scenes, and what tools we have to work with Database Transactions in Laravel.
Lots of people have been asking about how to install HHVM with Nginx for use with Laravel. Here's how! This will cover material used in [Vaprobash](https://github.com/fideloper/Vaprobash), my project for configuring Ubuntu virtual machine with Vagrant.
In this article, I'm going to cover an example of implementing some business logic in our usual Active Record patterns, and then I'll show how the same logic can be applied using the Data Mapper pattern. In both cases, we'll see how we can move our business logic into our business entities, thus avoiding anemic …
I recently gave a talk on Hexagonal Architecture at Laracon NYC. The feedback was great, but seemed to have left people wanting for some extra explanation and of course examples. This is an attempt to expand on the ideas of that presentation.