Database Transactions in Laravel

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.

So You Got Yourself a Load Balancer

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.

Managing the Iptables Firewall

Your firewall is an important first line of defense on any publicly-accessible server. In previous articles I listed how to set up a firewall without getting into any detail. This article goes into depth with configuring your iptables firewall.

Vim and Tmux on your Mac

Setting up your computer for Vim and Tmux often comes with a few issues. Here's how to manage plugins for Vim and use Tmux to boost your productivity, as well as settle a few common issues.

Your Mac as a Server

Mac's come with the ability to serve static content out of the box! and there are simple options to get fancier with dynamic content. Here are some examples.

Full-Site Delivery with Cloudfront

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.

Install Older Versions of NodeJS

NodeJS introduced some breaking changes in its 0.10 version. 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.