5 Dec 2008, 11:38 p.m.

Copyright/License Comment Blocks Considered Harmful

Peter Griffin - What Really Grinds my Gears?

Rant alert. You know what really grinds my gears?

It's those epically long license/copyright notice comment blocks with which some developers, particularly those behind open source PHP projects, insist on prepending source code files.

You've all seen this kind of thing. I'm using Wall4PHP to illustrate my point, but they're by no means the only offenders.

Read more »
Posted by Simon in Programming | 0 comments
23 Nov 2008, 9:34 p.m.

Sigma Notation Cheat Sheet

I'm just over a quarter of the way through MST121: Using Mathematics, which I started back in September. My impression is that it's starting to get tougher, but it may just be that my mind has been elsewhere.

One concept with which I found myself to be less confident is Sigma Notation. The principle itself is fairly straightforward (it's kind of like a for loop, if you ask me) but getting actual numbers out of the other side was another matter.

The problem was that I was consistently failing to spot the patterns that indicate that you can substitute in other, hopefully simpler, expressions. So I made a little aide memoire to print out. It covers the three four initial, erm, refactorings that have cropped up, and I figured I may as well share it.

Read more »
Posted by Simon in Maths and Open University | 0 comments
30 Sep 2008, 2:05 a.m.

"Working with Zend Platform" Published

The cover of php|architect's September 08 issue

Another month must be nearly upon us, and with it comes a spanking new issue of php|architect magazine.

I'm pleased to mention that my article all about Zend Platform is featured, along with lots of other goodness.

I found Ivo's introduction to ATK particularly interesting, and it's a tool I'll be pressing into service before long.

I have a couple of ideas for future articles, but they may take a backseat to my studies for the time being.

Read more »
Posted by Simon in PHP, Programming, Writings and Zend Platform | 0 comments
22 Sep 2008, 1:16 a.m.

I'm a Student Again

So it turns out that as of now, I'm once again a student, this time with the Open University.

Strictly speaking, the course kicks off this coming Saturday, but since I'll be in the pub from lunchtime onwards that day, and since they sent all the materials through a couple of weeks ago, I felt it might be worth cracking on.

Read more »
Posted by Simon in Open University | 0 comments
29 Aug 2008, 10:35 p.m.

August '08 Issue of php|architect Magazine Out Now

The cover of php|architect's August 08 issue

I've just spotted that the August issue of php|architect magazine is now available for download, and it's a top quality issue as always, with articles on writing Wordpress plugins and Facebook apps, an introduction to Adobe's Flex, and finally James Cauwelier's case study of scaling out an e-Commerce site to support a million products.

I'm really pleased to have been involved with the technical editing of this issue, and there's a certain swelling of pride in spotting one's name in the editorial credits (alongside Richard Harrison, I note; Richard being the man responsible for putting ElePHPants on the desks of most of London's PHP developers).

Read more »
Posted by Simon in PHP, Programming and Writings | 0 comments
22 Aug 2008, 9:02 p.m.

Presentations on Slideshare

I've been doing a bit of presenting at work recently, which has meant getting my head around making up slides (using OpenOffice, of course). It all feels a little bit Dilbert, in a way.

Anyway, there's nothing particularly groundbreaking or PlayPhone-specific about these slides, so I've put them up on Slideshare in case anyone fancies a look.

Read more »
Posted by Simon in PHP, Testing, Programming and Zend Platform | 0 comments
10 Aug 2008, 10:06 p.m.

Some Thoughts on Testing Developers

For reasons I can't quite fathom, I've been thinking a lot about testing developers recently. That's testing developers as part of the hiring process, as opposed to developer testing (which I do bang on about rather a lot, to be fair).

I say I can't fathom the reasons, because we're not actively recruiting right now, nor am I looking to be recruited (though if you have your air conditioning switched on you may be in luck).

So anyway, it's fair to say that before you hire a developer, you want to find out if they're any good at developing, right? And therein lies the problem: how on earth do you measure the candidate's skill level?

I've seen, and used, a few approaches myself, so I'll go over a few of them and see what drops out the other end.

Read more »
Posted by Simon in Jobs and Recruitment | 1 comment
29 Jul 2008, 8:41 p.m.

"PHP Tools for Mobile Web Development" Published

The cover of php|architect's July 08 issue

This is just a quick heads up to say that my article, "PHP Tools for Mobile Web Development" has today been published, and is currently gracing the cover of July's php|architect magazine.

Of course, I jinxed things a little by blogging that it would be published in June, but never mind, we got there.

Big thanks must go to Ciaran for giving the initial draft the once over (on a related note, check out Ciaran's post about web development for the iPhone). Thanks also to my occasional colleague Gerard for clueing me in to the fact that the damn thing had been published.

For what it's worth, php|architect is recommended reading even when I'm not in it, so get yourself over there and get subscribed!

Ok...now to crack on with that second article...

Read more »
Posted by Simon in PHP, Mobile, Programming and Writings | 1 comment
26 Jul 2008, 2:22 p.m.

Mobilising a Website, Part 2: Strategies

In Mobilising a Website, Part 1: The Problem I noted that this site is practically unusable when viewed using the browser on a mobile handset, and that I'd like to do something about that.

This time around, I'd like to size up some of the approaches and strategies that developers can take in order to make an existing website mobile-friendly.

Read more »
Posted by Simon in PHP, Zend Framework, Mobile and Programming | 1 comment
12 Jul 2008, 8:24 p.m.

Response to "10 Things a Developer Should Never Ignore"

Earlier this week, I stumbled across Bill Stronge's recent 10 Things a Developer Should Never Ignore over on TechRepublic. It's recommended reading, as it's an interesting piece, filled with useful advice for developers, especially those just getting started in their programming career.

Still, a couple of the points jarred with me a little, and there were a couple which I felt could have been taken further. So here's my response to Bill's 10 Things.

Read more »
Posted by Simon in Programming | 0 comments