Goals for 2013

Posted 2013-01-25
It's that time of year again. Well, it's nearly the end of January but building my list of random stupid things to do this year took me a little while to think up. 

Read More »

The Most Important Conversation Ever

Posted 2013-01-20
Category PHP
The world today has a lot of hot topics that need to be discussed. Washington needs to get together to help sort out the debt-ceiling to stop the US economy going down the drain, but the Democrats and the Republicans just cannot even vaguely get the conversation going because they are happy to just oppose each other until the end of time. Gun control is another hot topic, and I'm pretty sure the third-world is still struggling with debt and famine. But no, that stuff doesn't come close to the important conversations happening in comment threads of blogs all over the PHP community. Let's discuss what really matters.

Read More »

Building an iTunes feed with Octopress

Posted 2013-01-17
Category Ruby

 

Octopress is a great little CMS for hackers and it works on GitHub pages for free hosting, so a few PHP developers have been known to use it to smash together a basic site even thought it's using Ruby; Boo, hiss, etc. One site I've built with Octopress is for a new podcast I co-host with Ben Edmunds called PHP Town Hall. It needed an iTunes compatible RSS feed, so I built one.

Read More »

Why do some PHP Developers <3 Static APIs?

There are two kinds of PHP developers. Those who absolutely love static methods because they are easy to work with and those who think they are spawned by satan to test our devotion to proper programming practises.  This article is not intended to explain why static apis are ok, I instead hope to use my experience with a few PHP frameworks - and the power of hindsight - to explain why some developers ignore best practises and use a whole bunch of statics.

Read More »

Arguing on the Internet

Posted 2012-12-27
Category CodeIgniter

I have referenced Shawn McCool's blog a few times, "Why CodeIgniter is Dead" and people are wondering why I argued so hard against it back in May but then gave CodeIgniter such a hard time in my last article. For the record I'm not team CodeIgniter or team Laravel, I'm a PHP user who has some opinions, and some of those opinions change over time - which is fair enough. My opinions aside, his original article was wrong on a few points, so let's discuss those.

Read More »

5 Things CodeIgniter Cannot Do (without a rewrite)

CodeIgniter was build a long time ago and since its inception it has maintained the same API, without making sizable breaking changes through 3 major versions. Sadly, the API is at a point where it needs to be rewritten to support several fundamental features, which most other frameworks support. This is a walk through those features with a little insight as to what why and how from an ex core contributor.

Read More »

Why some people hate PHP

Posted 2012-12-02
Category PHP
I answered a question on Quora a while ago, which was long enough to deserve it's own blog post. Basically I explain some of the reasons people hate on PHP so hard, and while some of them are founded there are plenty of unfounded reasons that people whine about that either don't matter - or are being worked on for future versions.

Read More »

Distributed Architecture Faking with Vagrant

Posted 2012-12-02
Category DevOps
Working for Kapture I've been charged with something I've never really had to do before: Managing a big-ass architecture of different servers that all handle different tasks. Theoretically I've always known how it works, and I've worked in projects that have had these systems, but I've never been put in charge of how that whole situation works out. So this little web developer had to do a lot of learning.
 

Read More »

Puppet or Chef?

Posted 2012-10-28
Category DevOps
Back in the UK at PHPNE this May I saw an awesome talk from Ian Chilton, who explained very simply why using Vagrant for your development environments was a good idea. He mentioned briefly server provisioning but didn't get fully into it, and suggested we go out and play with Puppet and Chef to see which fit our needs. 

Read More »

Bye Bye PHP 5.2

The reason these applications do well is because PHP hosting has been widely available for over a decade. Because PHP is on 90% of hosting setups from dedicated systems to cheap $4 a month deals, application developers have targeted PHP to help them reach their highest audience. Sadly, PHP hosts have always been slow to upgrade, but now it seems like the vast majority have finally made PHP 5.3 a viable option not just for in-house teams but for those building distributable applications too. Finally bidding farewell to PHP 5.2 feels good!

Read More »