Home

There are so many interesting libraries and frameworks which help bootstrap and start building modern web apps. I decided to explore some of the choices for a personal project. I want this project to run on Google’s App Engine, using python on the server. Everything else is negotiable.

Setting up OS/X Because I’m new to OS/X, I didn’t know the ins and outs of developing on it. This is a digression from the topic of this post, but here are a few tips which would have helped me. Firstly, you must install the command-line development tools because oddly, they aren’t installed (even after installing Xcode). Secondly, save yourself some trouble and avoid Apple’s pre-installed python. Use the Homebrew version of python instead.

Choosing a framework There is no shortage of python-based web frameworks, including many which work on App Engine. Wikipedia has a comparison. Two very popular choices are Django and Pyramid. I’ve used Django before in a toy project, and its biggest selling point is its ORM. The Pylons (predecessor to Pyramid) creator thoughtfully described the differences in a StackOverflow answer. Here are a few talks worth watching discussing the options: