Working out widths of a text element before the element has rendered in the DOM takes a little trickery, but is relatively easy. I thought through a few different ways to accomplish this and settled on rendering a span element outside of the viewable page. The throw away element, once rendered, has any required classes […]
The little counters in the corner of Facebook icons are really good for letting users of the social networking platform know that there is a message or notification waiting for them. Integrating this into your own application can be done without too much hassle and is well worth it for the usability gains achieved. This […]
Most people are familiar with how to create a RESTful application, or at least a RESTlike application using their preferred language. In most languages there are even frameworks that allow for easily creating a RESTful application . You can see this post as the personal ramblings of an interested person or just as some personal […]
After the great talk from Ole Michaelis on Service Oriented Architecture (SOA) I was inspired to come up with a better way of building a website for myself using SOA ideas. The idea is to make use of an api service that can be called by the frontend service and by the client’s browser. This allows the […]
Recently as more people learn Node.js and various other software services I have come across more queries revolving around running them publicly on the internet. This ends up being a problem as a lot of people getting into Node.js are front end or beginner developers, not that there is anything wrong with this. Correctly setting up […]
After going to a few great talks at PHPUK14, I thought I would chime in on the security band wagon. The talks were predominantly aimed at clean up post intrusion and covered the topic well. So here is one method I have put together a prototype for that should work on versions of PHP back to […]
I think this is the longest title for a post so far! Well, best make it a good one then… I recently came across a problem at work where I had to go through an object (with potentially multiple nested layers), an array or a string and replace any HTML special characters with the plain […]
To start this week I’m not going to do anything code wise on my blog as I am working quite hard on a Go implementation of Graphics Magick so here is a talk on creativity from John Cleese thanks to Dmitriy Kubyshkin This post has been viewed 743 times.