Improve performance by reusing PHP objects

By Josh Sherman
1 min read
development
php

I’ve been doing a ton of optimizations on one of my main sites and one thing that I’ve been doing more and more is trying to reuse objects whenever possible. What’s this entail? All it takes is creating a static function to return an instance of the object instead of […]

How I saw the test-driven light

By Josh Sherman
2 min read
development
tdd
php
retrospection

Aside from dealing with financial transactions, I’ve generally avoided test-driven development as part of my day to day workflow. Why? The usual reasons, but mostly because I didn’t want to incur the overhead of additional development. As a single founder / developer you’re always looking for ways to lighten the […]

PHP 5.5 syntax highlighting for Vim

By Josh Sherman
1 min read
development
php
vim

Now that I’m using PHP 5.5 I’m finding that my Vim syntax highlighting is a bit off. After some digging around I found a syntax file that was updated to PHP 5.5 RC1 but hasn’t been updated since. In true hacker fashion I went ahead and forked the project and […]

Upgrade from PHP 5.3 to PHP 5.5 on Ubuntu 12.04 LTS

By Josh Sherman
2 min read
development
php
linux
ubuntu

Recently I made the decision to stop living in the past and start living in the present by using the latest stable release of PHP, version 5.5.8. Unfortunately on Ubuntu 12.04 LTS (I always run LTS releases on my servers) the latest version of PHP available is from the 5.3 […]

Domains are worthless without traffic

By Josh Sherman
2 min read
development

If you know anything about my growth strategy for my social network, it’s that I’m expanding my platform horizontally across multiple domains and allowing each site to grow organically. This has led me down the road of being one of those guys that owns a ton of domains but has […]