Manifest caching is one of the lovely new features of HTML5. It allows you to define a list of files to be cached for off-line access (among other nice features). One of the points to consider when making changes to cached files, is that the browser won’t know to download…
I’ve been thinking about building responsive web sites lately. This has lead me down the path towards fluid image scaling and on to the problem of serving appropriately sized images for the client platform. In other words, how can we serve up small scale images for mobiles and tablets and…
Thanks to this post on Think Vitamin, I’ve today discovered Rapportive. Rapportive is a browser plugin for Firefox, Safari, Chrome and Mailplane, which displays social network information for your mail contacts. That in itself is alright, but the juicy part is the API. You can write your own “raplets” to…
Here’s how to get data from a CSV file and store put the data in to an array. The function assumes that the first line of the CSV is the field headings, it uses these headings to set the key values in an associative array. So it takes an input…
I’ve been playing around with the Twitter API a bit today. Here’s a handy little code snippet to get data from the api in to a php array. 1 2 3 4 5 6 <?php
Tumblr broke today (and still is at the time of writing). This is sad. But at least they have a mighty handsome error message (I’m not the only one to notice). Pretty aint it? But wait, it uses images – bleugh! Us web developers don’t need no Photoshop, we’ve got…
The version tool Git has had quite a bit of attention recently. I don’t know why this is, it’s been around for ages. Zeitgeist perhaps? Either way, here’s some of the better articles and resources I’ve found over the past few weeks. Why You Should Switch from Subversion to Git…
Yesterday I was looking around for a php library for working with LDAP servers. I couldn’t find much. I did find adLDAP, which is a nice enough implementation but it’s entirely focussed on working with Active Directory (we use eDirectory). It doesn’t allow you to work with custom schemas (which…