summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki/design.rst
diff options
context:
space:
mode:
authorPatricio Paez <nospam@pp.com.mx>2012-04-17 05:39:54 -0700
committerPatricio Paez <nospam@pp.com.mx>2012-04-17 05:39:54 -0700
commit73a54603c26ae3f6faad5b46334da8634028dfe5 (patch)
treec38830a5f8f7356f8a1461719156708e7daa1852 /docs/tutorials/wiki/design.rst
parentc8aab32b60706f700b7f6a70d967727c353e3d54 (diff)
parent607524abda505e53a9851026e8e9d16de7b58053 (diff)
downloadpyramid-73a54603c26ae3f6faad5b46334da8634028dfe5.tar.gz
pyramid-73a54603c26ae3f6faad5b46334da8634028dfe5.tar.bz2
pyramid-73a54603c26ae3f6faad5b46334da8634028dfe5.zip
Merge pull request #533 from ppaez/paulos-list
Paulos list
Diffstat (limited to 'docs/tutorials/wiki/design.rst')
-rw-r--r--docs/tutorials/wiki/design.rst19
1 files changed, 14 insertions, 5 deletions
diff --git a/docs/tutorials/wiki/design.rst b/docs/tutorials/wiki/design.rst
index 2b613377a..c94612fb1 100644
--- a/docs/tutorials/wiki/design.rst
+++ b/docs/tutorials/wiki/design.rst
@@ -36,9 +36,16 @@ be used as the wiki home page.
Views
-----
-There will be four views to handle the normal operations of
-viewing, editing and adding wiki pages. Two additional views
-will handle the login and logout tasks related to security.
+There will be three views to handle the normal operations of adding,
+editing and viewing wiki pages, plus one view for the wiki front page.
+Two templates will be used, one for viewing, and one for both for adding
+and editing wiki pages.
+
+The default templating systems in :app:`Pyramid` are
+:term:`Chameleon` and :term:`Mako`. Chameleon is a variant of
+:term:`ZPT`, which is an XML-based templating language. Mako is a
+non-XML-based templating language. Because we had to pick one,
+we chose Chameleon for this tutorial.
Security
--------
@@ -52,11 +59,11 @@ use to do this are below.
- GROUPS, a dictionary mapping user names to a
list of groups they belong to.
-- *groupfinder*, an *authorization callback* that looks up
+- ``groupfinder``, an *authorization callback* that looks up
USERS and GROUPS. It will be provided in a new
*security.py* file.
-- An :term:`ACL` is attached to the root resource. Each
+- An :term:`ACL` is attached to the root :term:`resource`. Each
row below details an :term:`ACE`:
+----------+----------------+----------------+
@@ -70,6 +77,8 @@ use to do this are below.
- Permission declarations are added to the views to assert the security
policies as each request is handled.
+Two additional views and one template will handle the login and
+logout tasks.
Summary
-------