Understanding Circumstance

Posted 2012-08-22
"I have been working for years in this industry and I have never needed to do what you do. Therefore your opinion is obviously wrong."

Read More »

CICONF - Mission Complete

Posted 2012-08-21
Category Events
Another trip to the States and another CodeIgniter Conference complete. This is a quick roundup for anyone who didn't make it to the conference this year.

Read More »

Why PHP DateTime Rocks

Posted 2012-08-01
Category PHP
Working as a freelancer and contracter sometimes I come accross some code that is so terrible I have to laugh, then immediately tweet a screenshot for others to laugh. I think this is fairly healthy, but one reaction I get fairly often is "Yuck, PHP!". Really that should be "Yuck, PHP 4!" I've been using PHP since 4.0.1 and I remember it well. It was terrible. Whenever I see these chunks of code I like to see how clean I can make them with PHP 5.3 + code and DateTime has saved me a lot of lines.

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 »

PHP: Ecosystem Update

Posted 2012-07-10
Category PHP
Don't worry guys, this isn't another PHP apologist or PHP hater blog. We've all had enough of those recently. This is a quick heads up on two projects that are doing what they can to make the PHP ecosystem a better place.

Read More »

CodeIgniter Conference 2012 SF

Posted 2012-05-31
Category CodeIgniter
So only two months until the return of CICONF to America! Last year was CICONF2011 NY which was a great experience. There we announced the availability of CodeIgniter on GitHub, released CodeIgniter 2.1-dev and saw over 50 pull requests get made to CodeIgniter by developers trying to win my iPad. Then we had CICONF2012 in London, and now it's off to San Francisco for more CodeIgniter nerdery.

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 »

CMS: Interesting History, Powerful Future

Posted 2012-04-24
Category PHP
As a CMS developer on the PyroCMS team, a common problem I have to deal with on an almost daily basis is peoples strange fear of using a CMS as a base for a project. People often suggest the tools of my trade are not appropriate, are only for "small sites" or should not be used as a base for an application. I know there are plenty of awful content management systems around, but I propose a few rules for CMS developers to follow so we can shirk this dark cloud that hangs over us.

Read More »

Packages: The Way Forward for PHP

Posted 2012-03-06
Category PHP

A package is a piece of reusable code that can be dropped into any application and be used without any tinkering to add functionality to that code. You don't need to know what is happening inside, only what the API for the class(es) are so that you can archive your goal. This is how most modern programming languages work, but to make a generalisation: PHP developers hate packages. Why?

Read More »