Adder: an adding machine sample application
This Tutorial applies to:
1.0a4
This Tutorial is intended for:
Any audience.
All content on one page (useful for printing, presentation mode etc.)
- Installing a Grok Application Learn how to install an existing Grok application, and
- A Grok Application and a Grok Model A Grok Application is something that can be installed. A Grok Model is an object that is saved in the Zope Object Database.
- A Grok View and a Grok Template By design, our Model is not capable of interacting directly a web browser. Components that can respond to requests, typically returning HTML, are called View components. Since mixing HTML inside Python can get very messy, a Template component may be associated with a View component.
- Adder: app.py Main source code for the Adder application.