Archive for the ‘Code’ Category
Working with Google Analytics API
July 24th, 2009 - Code, The Web
A few weeks ago I was approached by WhyCommunicate, a company run by a friend of mine, who were hoping to use the newly released Google Analytics API to provide client's with analytics information in their existing extranet. I loved the ambition of it, and I hadn't worked with an API before so I thought this was a great venture for me and went for it. You can see the finished result over here in ...
PHP Class: PageTree
May 16th, 2009 - Code
Around a year ago now, when I was working at Active Webdezign, I built a small CMS for a website, no more that 5 pages to it. One thing I was thinking of back then was the ability to create a system where you could have a single table for all pages, but have the ability to havarte parent and child pages without the need to create another table. Basically like Wordpress does it. And at the time, I knew ...
Evolution of a Programmer
January 29th, 2009 - Code
Over the dark, dank winter break I took quite a bit of time to myself to indulge in one of my favourite passtimes that has been sidelined in recent years: reading a good old book. I read a few great works of fiction, The Bridge by Iain Banks standing out particularly, as well as finally getting round to reading Don't Make Me Think, which I am ...
Decompressing (p,a,c,k,e,d) Javascript Files
May 12th, 2008 - Code
Now, I know why most people compress they're js files, because they don't won't people to steal the code, but it must be the case that sometimes, like what happened to me today, you've just gotta crack that encryption. I'm a bit worried about posting this, so I hope it's in someway new and/or useful. Basically we need to go into a js file that was given to us, in order to change a few DOM-based functions. I opened up the ...
Rewriting URLs: Good for the Soul
April 24th, 2008 - Code
The Caribbean property website I've been working on at Webdezign is nearing completion. Nothing to show quite yet, but I've very happy about it, and I got to flex my UI design skills in the administration section (the front-end design was ably undertaken by Peter). One of the multitude of new things I had to learn with this project was mod rewriting URLs using the APACHE rewrite module, which, even if I only used it ...
PHP Class: DataDump
December 31st, 2007 - Code
Been working on this on and off for the past few weeks (mainly off if I'm honest). Not sure how useful this will be, but here goes! Basically, this is sort of a utility class designed to let you see the results of a search query in a number of formats: an array, un-ordered lists or a table. This can either be printed or returned as a variable for later use. The idea behind this was to let the developer ...
Top of the class
December 13th, 2007 - Code
It's quiet on the interwebs, isn't it. Admittably, I have been busy at work, grinding my druid, and playing the old rugger, but I should a PHP class I'm working on in 'beta' soon, i.e. finished until someone points out a bug/'improvement' to me. Stay tuned...
LOLcode: The new PHP
October 26th, 2007 - Code
I think I'm going to have to completely dump my current knowledge and move over onto LOLcode. IT IZ IN YR FOOTYOUR, STEALING YUR SKILLZ>.