PHP
Composer with CodeIgniter
Posted: 2012-05-07
Category: PHP
Tagged: codeigniter, composer, fuelphp, laravel, packages, php
Hijacking Headers to Force Downloads
Posted: 2012-03-28
Category: PHP
Tagged: apache, hack, performance
A while back I asked a tricky question on Twitter and got a whole bunch of really useless answers, except for one - which was a pure stroke of genius. At the time I was just happy to have the goal met on the client project and I tucked the snippet away, but I needed it once again so I thought I'd blog it up, for others to use it in the future: How to force a download of any file you want to link to, anywhere on the internet.
Packages: The Way Forward for PHP
Posted: 2012-03-06
Category: PHP
Tagged: frameworks, packages, php, rant
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?
2012: The year of PHP cloud hosting
Posted: 2012-01-02
Category: PHP
Tagged: cloud hosting, paas, pagodabox, php, phpfog
Cloud hosting is nothing new. Seeing as "cloud" is such a loosely used term some will consider their VPS solutions on Slicehost or Rackspace to be "cloud hosting". Thats partially true, but this article covers how PHP is getting some serious attention in the PaaS (Platform as a Service) field. This year you will almost certainly find yourself making the decision wether or not to move some of your applications and services accross to the cloud, and this article can hopefully help you work out why and how.
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.
After years of being an active member in the CodeIgniter community I have decided it is time to change things up and move on. Where is that move taking me? Recently I have been doing a lot of research into various frameworks and I have made a final decision. Read on to find out what framework I decided to go with and why.
Having a quiet night in before a long day of kayaking I thought I'd write some fun code instead of banging out the usual shit like I've been doing all day. Convert between Array, Object, JSON, XML, CSV and Serialized data and back again easily. I'll add a few more types like YAML when I can be arsed to work out PECL for MAMP.
