Tag javascript

Validating a Username via jQuery with Ajax

The phrase 'simplifying the user experience' (or it's cousins) is thrown around regularly these days, without many examples on HOW to actually make life easier for the end user. In my opinion it's about removing needless junk wherever possible, letting the user focus on what's actually important. A simple example I've extracted from a current project is minimising needless page loads. Read on to find out how I validate availability of a username during the Django registration process.

Using Subdomains with Django

Sometimes it's really handy to give users their own sub-domain, especially when they're uploading their own content to your Django application. I've done this for a few private projects so far, and it's really quite an easy way to give people an extra level of customisation in your application - it also allows you to make even more beautiful URL's that you might otherwise be doing.

Simple Javascript Spell Checking

In a project I've been working on lately, it's been an important requirement to allow users to spell-check the text they're entering, as it's going to be seen by their family and friends. I spent a bit of time looking at different spell-checking options, which ranged from simple checkers to what seemed to be complete working realtime MS Word™-style spell checkers with underlining and right-click support. In the interests of keeping everything simple to use and as cross-browser as possible, I've settled on a simple yet elegant solution.