ZODB + Traversal Wiki TutorialΒΆ
This tutorial introduces a traversal -based Pyramid application to a developer familiar with Python. It will be most familiar to developers with previous Zope experience. When we’re done with the tutorial, the developer will have created a basic Wiki application with authentication.
For cut and paste purposes, the source code for all stages of this tutorial can be browsed at http://github.com/Pylons/pyramid/tree/1.2-branch/docs/tutorials/wiki/src/.
- Background
- Installation
- Basic Layout
- Defining the Domain Model
- Defining Views
- Adding Authorization
- Adding Authentication and Authorization Policies
- Adding
security.py
- Giving Our Root Resource an ACL
- Adding Login and Logout Views
- Changing Existing Views
- Adding
permission
Declarations to ourview_config
Decorators - Adding the
login.pt
Template - Change
view.pt
andedit.pt
- Seeing Our Changes To
views.py
and our Templates - Viewing the Application in a Browser
- Adding Tests
- Distributing Your Application