I'm Ross. These are my blog posts written in 2006.

Simple Javascript Spell Checking

Posted 11:41 a.m., Sunday 10 December, 2006. Tagged javascript, geeky and programming

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[HTML_REMOVED]-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.

The Pareto principle (Or, why the 80/20 rule always bites us in the ass)

Posted 11:57 a.m., Monday 13 November, 2006. Tagged rants, geeky, django and programming

There is a common saying that 80% of a project takes 20% of the time and budget - and the remaining 20% of the work takes 80% of the time. This is no more correct than in the software development environment. Warning: Rant ahead!

ChangeManipulators on only part of a model

Posted 1:02 p.m., Wednesday 23 August, 2006. Tagged geeky, django and programming

There is a cool function in Django for managing forms, and automatically doing data validation and manipulation before updating the database. That same cool function also has a critical issue in it that makes it impossible to reliably only update part of a model - except that critical issue has a critical fix that has been around for almost a year now and has never been documented.

Housekeeping

Posted 8:02 a.m., Friday 11 August, 2006. Tagged programming

I've done some minor changes to the website recently to make life easier - including a new website template.

Sending E-Mails via Templates

Posted 8:30 a.m., Tuesday 11 July, 2006. Tagged geeky, django and programming

Django's templates are fantastic for displaying content on your website, but what if you could use the power of the template system in other areas, such as e-mails sent from your application for registration or update purposes? Well, you can do just that - read on for an example.

Using Django's TemplateTags

Posted 7:30 a.m., Friday 23 June, 2006. Tagged geeky, django and programming

Often times on a website you will want to include the same block of dynamic data in your template, regardless of the view that generated the page. Common examples are lists of tags or categories, navigation bars (built from the database) and other such lists - such as those on the right side of this page. The good news is that you don't have to modify every single view to add these details to the template context. The better news is that it's fantasmically powerful with Django.

A Django Blog: Redux

Posted 10:28 a.m., Thursday 8 June, 2006. Tagged geeky, django and programming

A recent upgrade to Django has made some drastic and far-reaching changes, called 'Magic Removal'. As such, all earlier code that relies on Django has to be updated - including my blog tutorials. Read on for a summary of the changes you'll have to make.

XSS Vulnerability

Posted 10:13 a.m., Thursday 8 June, 2006. Tagged geeky, django and programming

Simon Greenhill, a New Zealand based programmer, has alerted me to a cross-site scripting (XSS) vulnerability in the comments portion of my blog - that seems to extend to the comments module in ALL django applications.

Django: Magic-Removal Upgrade

Posted 7:55 a.m., Monday 15 May, 2006. Tagged geeky, django and programming

I've updated my websites to run on the latest Django code base, named 'magic removal'. The updated blog code is coming soon, as it has to be altered in many ways to make it work on the new code. This should be the last major base change to Django before their 1.0 release.

Building A Blog with Django #3

Posted 10:28 a.m., Friday 17 February, 2006. Tagged geeky, django and programming

The third portion of my series on building a weblog application with Django: learn how to add the global Django comments module to your application, and list all posts for a given tag.

Engagement Party Photos Done

Posted 1:05 p.m., Thursday 2 February, 2006. Tagged photography, wedding and personal

Lauren and I recently had our engagement party, and the photos are now all online.

Building a Blog with Django #2

Posted 12:21 p.m., Thursday 2 February, 2006. Tagged geeky, django and programming

The second part of my 'Building A Blog with Django' series, showing how to actually make your database visible to the world - you'll be putting your weblog online for all to see. See part 1 for information on creating the database.

Engagement Party Photos

Posted 12:12 p.m., Tuesday 31 January, 2006. Tagged photography, wedding and personal

Lauren and I recently got engaged - and the first batch of photos are online.

Gallery is Online Again

Posted 11:55 a.m., Wednesday 25 January, 2006. Tagged personal and photography

I've written a new photo gallery application in Django, in complete Web 2.0 style with google maps embedded in the page - and it's online for all to see.

Building a Blog with Django

Posted 3:31 p.m., Monday 23 January, 2006. Tagged geeky and django

The first in a multi-part series on building a weblog using Django. This first article covers getting started, creating your database, and using the automated Django Administration screens to enter data. Stay tuned for more articles including putting your blog online, adding user comments, and more.

Stock Photos & Web Templates

Posted 4:28 p.m., Thursday 12 January, 2006. Tagged design and links

A few links that I use regularly when building web applications are stock.xchng for stock photography, and Open Web Design for web templates (such as this one you're seeing now). Read on for details.

Django: My First Impressions

Posted 9 a.m., Tuesday 10 January, 2006. Tagged geeky, django and programming

I've always been a PHP coder - everything web-based that I wrote was in PHP. Until last week. I've discovered Django, and I'm wishing I found it earlier. And why haven't I been using Python until now? Read on for my first impressions of the Django web framework.

Getting Started With Django

Posted 1:11 p.m., Monday 9 January, 2006. Tagged geeky and django

I've got a new weblog online built using Django, a Python web application framework.

More...

Want to see more? Check out the yearly archives below.