Pick PHP Requirements for Packages Responsibly

Posted 2013-03-23
Category PHP
Which version of PHP to use for anything is always much debated in the PHP community. I'm luck enough to have kissed sweet goodbye to PHP 5.2 a while back, but PHP 5.4 and PHP 5.3 are both actively used by different projects and recently I have come across a few packages that have been using PHP 5.4 almost exclusively just to use short aray syntax, which to me is short sighted and selfish. I tried tweeting about this and everyone seemeed to be a little confused, so instead of 140 characters I thought I'd try 7051.

Read More »

Help test PHP 5.5 beta1

Posted 2013-03-22
Category PHP
Yesterday PHP.net announced the release of PHP 5.5 Beta-1. This is a great news after the concerns that merging Zend Optimizer would really slow things down, but the releases are still ticking along. So, what can you do to help out? Test it, without doing any work.

Read More »

Catapult into PyroCMS

It's been a little while in the making, but my first book is out: Catapult into PyroCMS. This is being released as an eBook only at this point, but who knows what the future might hold.

Read More »

PHP 6: Pissing in the Wind

Posted 2013-01-26
Category PHP
This article is completely pointless, im just saying what everyone is thinking - just so we have a record of it. PHP is well known for having an inconsistent API when it comes to PHP functions. Anyone with an anti-PHP point of view will use this as one of their top 3 arguments for why PHP sucks, while most PHP developers will point out that they don't really care. This is mostly because we're either used to it, have a god-like photographic memory or our IDE handles auto-complete so it's a moot point. For me I'm not too fussed because I spend more time trying Googling words like recepie (see, I got that wrong) recipe than I ever spend looking up PHP functions. This is how we could fix the situation - but we never will.

Read More »

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 »