Wednesday, June 24, 2009

Google App Engine Steps in Adding New Functionality

I sure want to take note. Just so that I don't forget. I got this from this book entitled Using Google App Engine.

In order to add a new functionality to our application, take the following steps:

  1. Decide on the URL that you want to use for the new feature.
  2. Write a new handler—the handler can initially be simple and just handle a GET request that renders a new template.
  3. Add a routing entry in main() to send the URL to a new handler.
  4. Add new templates as needed.
  5. Update the _base.htm to add any new navigation that is needed.
  6. Build the rest of the handler code and test your new functionality.