Code & Extras
This is where you'll find the example code for the book, and links to other resources.
Example Code
All of the code examples featured in the book are available as a downloadable archive of runnable apps, and in a Mercurial repository.
You can clone the Mercurial repository using the following command:
hg clone https://pgae-examples.googlecode.com/hg/ pgae
For more information on Mercurial, see the Mercurial website.
Useful Downloads
Some useful things to download for App Engine developers, from other places:
- The App Engine SDK for Windows, Mac OS X and other platforms such as Linux. You can also get a downloadable version of the official documentation there.
- Python. Be sure to get the latest Python 2.5.x release (not 2.6 or 3.1) to ensure your app will be compatible with App Engine's Python runtime environment.
- The Eclipse development environment. Java developers should install the Google Plugin for Eclipse, which includes the App Engine SDK. Python developers can also use Eclipse with PyDev, a good Python IDE; see this video and this article for set-up instructions.
- For Python developers, the App Engine SDK includes two versions of Django, a web application framework that works well with App Engine: 0.96 and 1.2. For backwards compatibility, App Engine defaults to Django version 0.96, but you can use a bit of code to select Django 1.2 (included in the SDK) or Django 1.3 (the latest, built into the runtime environment). The 1st edition of the book describes the Django App Engine Helper, but Django developers might prefer a newer project, django-nonrel.


