The "Framework" is Dead, Long live the Framework

Posted 2014-01-13
Category PHP
There have been a few posts over the last few months saying that the age of the framework is dead, and that Composer is the true savior, and other similar messages. This is half-true, but lots of people have been using the word "framework" differently over the years and I wanted to really work out a good definition of what a "framework" was in relation to PHP development, and in relation to these discussions. 

Read More »

Beware the Route to Evil

Posted 2013-07-23
Category PHP
As a programmer we should all be used to the fact that our personal preferences and habits are all subject to change. I used to be a big fan of Alman and tabs > spaces, now I follow PSR-2 happily which contradicts those two rules and couldn't care less. Another contradiction to my personal preferences has been "automagical routing" verses "verbose routing", and this article explains why I changed my opinon on that.

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 »

Moving On

My entire career seems to have come from being a CodeIgniter developer, and a vocal one at that. Since then I have risen up through the ranks of CodeIgniter developers to be active in maintaining it, but with my new job I just don't need to be on the team anymore. PHP 5.2 is finally dead to me, and as such I do not need to be part of a framework which focuses of PHP 5.2 compatability! It's not just CodeIgniter though, I am dropping as many of my responsibilities as I can to make way for an exciting [secret] new job.

Read More »

Blooie: Chat has Changed

Posted 2012-07-24
Category FuelPHP
The last few months have been pretty mad for me. As well as the usual client work for HappyNinjas, I've been flying backwards and forwards to America for various reasons, building business around PyroCMS as it spins off into its own American "LLC", creating a 15-part screencast series for FuelPHP and the most exciting: working on a few startups with friends.

Read More »

Laravel is Awesome

Posted 2012-05-22
Category PHP
You might not expect to hear that from a CodeIgniter and FuelPHP developer, but it's true. Taylor has done a brilliant job writing code that is clean, functional and has built a huge community of smart developers in less than a year of active development. People are flooding to Laravel from other frameworks and that's great for the PHP community, read on to find out why.

Read More »

Composer with CodeIgniter

Composer is the best thing for PHP since sliced arrays and using it in your applications means you have easy access to a large selection of well written PHP packages that plug and play with any framework that supports PSR-0 namespacing. This is BRILLIANT as it means less reliablity on the framework and framework-specific code, and helps you get towards the goal of portable code where the framework is essentially just the wrapper. FuelPHP will support Composer packages out of the box as does Symfony2 and I hear Drupal are working it in too. This interoperability is brilliant, but how do you use it with CodeIgniter?

Read More »

PHP Basher Bashing

Posted 2011-12-20
Category PHP

Anyone who has used PHP for a while knows that it has its ugly parts. Recently I've seen a whole swathe of PHP-bashing articles and that would be fine if they were making a valid point, but some of it has just been - as I tweeted recently - "absolute drivel". He didn't like that very much so I thought I'd follow his follow-up with an article of my own.

Read More »