Categories
Uncategorized

A CodeIgniter compatible wrapper for Twitter OAuth

As part of a new iA project, we needed a clean way of authorising a user via Twitter’s new OAuth system. Not wanting to reinvent the wheel, I hunted for a good library and found TwitterOAuth, by Abraham Williams. Unfortunately the library was structured in a way that made it difficult to use with the […]

Categories
Uncategorized

A MarsEdit friendly XML-RPC server in CodeIgniter

Part of the custom software powering the new version of this site is a small and very basic MetaWeblog API compatible XML-RPC server, allowing me to manage the weblog section of the site via software such as MarsEdit, a tool I previously used when editing my Expression Engine powered website. The decision to build such […]

Categories
Uncategorized

Extending Codeigniter for REST

I’ve recently been developing a little something in CodeIgniter that features an API that is as true as possible to the principles of REST. In order to do this, I had to extend the core CodeIgniter Input library to allow access to properly escaped values from DELETE or PUT input in the same way as […]

Categories
Uncategorized

Accessing Flickr & HostIp.info with PHP

Recently, we at Outside Line launched a new website for Golden Wonder’s new noodle brand, The Nations Best. In a departure from the normal day-to-day, I built the bespoke server-side functionality to power the nifty Flash front-end. In doing so, I put together a few PHP libraries, one to access the Flickr API and one […]