My programming story... so far

Early days When I was 12, I was given a Raspberry Pi. For the first couple of days, it was really fun. After I had browsed the web for a while and played a bit of Minecraft, it sat in it's box for a few months. I really had no idea what to do with it. That was until I discovered that I could build a website with it. Wow, that was cool. I installed Apache and spent some time finding out where I needed to put the code. I started off getting to grips with HTML in nano (using inline styling, of course) until I realised I could write CSS in separate files and load them in. That was continue...

Real time PHP applications

I admit it, I've started writing all of my new projects in Node.js. Why? Because most of them are lightweight and I want them to be real time. PHP can be a real pain when it comes to doing anything remotely real time. First off, it's designed to execute as quickly as possible and send a response to the client, which is of course good. However, what is bad about that is that it doesn't stay alive - it does its stuff and then dies. Node.js on the other hand runs in a single process, which stays running all the time. This is perfect for real time applications because you can fire off an event to Node.js continue...