Writing Javascript that runs in multiple environments (with a one-liner)

With the introduction of server-side javascript, it’s nice to be able to utilise any Javascript libraries you may write in both the browser and on the server. I’ve seen a few different approaches to this but wanted a one-liner that I could just stick at the top of an anonymous function… this is what I […]

Super simple jQuery templating

Working with jQuery, it is common to find yourself needing some kind of templating solution. There are plenty out there, however sometimes the use-case is simple enough that you don’t really need a fully blow templating plugin. We’ll take a task list as an example (just to be original). Lets say you have the following […]

Simply RESTful… "The missing action"

UPDATE 15/03/10: The debate continues… The ideas in this article came about whilst I was test-driving the Simply RESTful plugin following DHH’s RailsConf keynote on the subject. The philosophy The first thing I came across whilst experimenting with Simply RESTful (which is great by the way), was that there is no real way of deleting […]