The steps of the novice web developer are fraught with peril. They begin with HTML, then move onto CSS. They learn a web framework or two, and they finally start to wrangle with JavaScript. This tutorial aims to help the developer who has taken their first steps with Django, and wants to begin experimenting with adding JavaScript and Ajax to their webapps.
When I develop with Django I'm constantly searching documentation, trying to figure out new modules and generally looking for answers to new problems as they arise. Today I'm introducing a new project, Findjango, which hopes to being a valuable resource for searching on Django-related topics.
One of the most common quickie projects on the web is to screenscrape a website and play around with its data. These projects are a lot of fun, and can allow for inventive mashups, but often the screepscraping scripts cause unnecessary load on the site's servers due to inconsiderate technique. This is an introduction to the art of compassionate screenscraping.
A simple but helpful trick for using optional parameters in Django views to allow one view to serve multiple urls with varying parameters.
Moving along in the Two-Faced-Django series, we look at using JQuery for Ajax in the webapp portion of our program.
Luke and I competed in DjangoDash a few weeks ago, and hey, we actually finished a site.
I've been working on a Facebook application with a couple of friends recently. We decided to use PyFacebook library, but there was a brief period of intense confusion on my part about how to use the PyFacebook library without the included middleware. I worked through it, though, and this article has some advice on how you can do the same.
I spent a bit of time this evening writing a template filter for Django that accepts a string of code (and optionally the name of the Pygments lexer to use for highlighting) and returns the code nicely syntax colored. A simple but slightly helpful addition to your templating arsenal.
Over the weekend I needed to create a slightly complex static website, and decided to make a go at using Django templates to build it. I was not disappointed.
A rather rough and tumble walkthrough for using Django and JQuery to make autocomplete input fields.
Your delightful host.
Email: lethain[at]gmail
Develop at SocialCode.
Used to Digg, and Y!.
All Rights Reserved, Will Larson 2007 - 2013.