Introduction
| Author: | Väinö Järvelä |
|---|---|
| Date: | 2009-06-30 |
| Copyright: | 2009 by Väinö Järvelä, Code from zope.app.form documentation Zope Corporation and Contributors |
| License: | ZPL 2.1 |
This tutorial shows how to implement a simple polling application using Grok. Grok is a Web application framework based on Zope Toolkit [1]; for a proper introduction please read more about it on the Grok Web site [2].
| [1] | Zope Web site <http://www.zope.org/> and Zope Toolkit documentation <http://docs.zope.org/zopetoolkit/> |
| [2] | Grok Web site <http://grok.zope.org/> |
The core audience of this tutorial is programmers that already are already familiar with Python and Web development, but might not know anything about Zope. I will try to explain the basics of some Zope concepts -- interfaces and adapters for example, but most of the details are left out; but I will try to provide links to other articles for more info. The tutorial should be read in a linear order, as I will try to build on concepts sequentially.
The application that is implemented in this tutorial is similar to Django's introductory tutorial [3]. Except that Django uses it's excellent administration panel which allows them to skip many details, such as form generation, which has to be implemented manually in Grok.
I am not an experienced Zope or Grok developer, and this tutorial is also made for my own learning purposes; thus there might be errors and I might not use best practices. Please contact me for any corrections or improvements.
| [3] | Django Tutorial Web site <http://docs.djangoproject.com/en/dev/intro/> |

