Tag Archives: web development

Custom tags for node links in Drupal 6

In this post I’m going to try and explain how to add custom tags that link to node pages to a Drupal 6 input format. That probably sounds a bit far-fetched, so I’ll attempt to clarify by using my own project as an example.
last.fm has this nifty feature where you can write [artist]Meshuggah[/artist] and it’ll [...]

Capturing the mouse with jQuery

I’ve been working on a Javascript-driven Django application pretty much non-stop for the last week or so. I’ll leave my experiences with the Django framework for another post1. There’s more than twice as much Javascript code in this application than there is Python code, so I can’t really claim that I know Django yet, to [...]

Installing Phusion Passenger on Ubuntu 8.04

There seems to be a bug in passenger-2.0.6 that makes the Apache module installation fail. I was just installing Ruby Enterprise Edition 1.8.6-20081215 and Phusion Passenger (AKA mod_rack or mod_rails), and it bailed out on me saying:
root@evidence:~# /opt/ruby-enterprise-1.8.6-20081215/bin/passenger-install-apache2-module
[...]
Compiling and installing Apache 2 module…
cd /opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/passenger-2.0.6
/opt/ruby-enterprise-1.8.6-20081215/bin/ruby -S rake clean apache2
/opt/ruby-enterprise-1.8.6-20081215/bin/ruby: No such file or directory — rake [...]

Javascript arrays smell

Last night I was writing some Javascript for a Django1 application I’ve been working on. I was discussing some of Javascript’s quirks on IRC with someone else who was also scripting.
He wanted to know what happens when you add both values indexed by number, and values indexed by strings (e.g. expando properties – no, I’m [...]

Merb is getting merged into Rails 3! Hell yes!

Rails is an MVC web development framework for Ruby. Rails is awesome and magical! Rails helps speed up development, and it’s just a lot of fun to use because it takes care of all the stuff that is annoying about developing web applications. Most of it, anyways.
Merb is an MVC web development framework for Ruby. [...]

The Power of Javascript

I came across this presentation on infoQ.com yesterday, about the power of Javascript. I’d never heard of Glenn Vanderburg before, but he does a good job keeping things interesting for the whole whopping 56 minutes
He mentions some interesting details about the history of the language that I hadn’t picked up from Douglas Crockford’s [...]