diff options
| author | Chris McDonough <chrism@plope.com> | 2011-11-11 12:25:59 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-11-11 12:25:59 -0500 |
| commit | c8e2f8e35c99b4f35d53ed0bb73e737e97ef345c (patch) | |
| tree | 117cd5f89699c22bbb112bcf1a1d71b26037de15 /docs/tutorials/wiki/basiclayout.rst | |
| parent | 9da33516637075b5a41b2e8bf500297a4cb71166 (diff) | |
| parent | 41de98e3287b8ddd457c24ea952839261b3b462f (diff) | |
| download | pyramid-c8e2f8e35c99b4f35d53ed0bb73e737e97ef345c.tar.gz pyramid-c8e2f8e35c99b4f35d53ed0bb73e737e97ef345c.tar.bz2 pyramid-c8e2f8e35c99b4f35d53ed0bb73e737e97ef345c.zip | |
Merge branch 'master' of github.com:Pylons/pyramid
Diffstat (limited to 'docs/tutorials/wiki/basiclayout.rst')
| -rw-r--r-- | docs/tutorials/wiki/basiclayout.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/tutorials/wiki/basiclayout.rst b/docs/tutorials/wiki/basiclayout.rst index 311352f5b..897775428 100644 --- a/docs/tutorials/wiki/basiclayout.rst +++ b/docs/tutorials/wiki/basiclayout.rst @@ -2,7 +2,7 @@ Basic Layout ============ -The starter files generated by the ``pyramid_zodb`` scaffold are basic, but +The starter files generated by the ``zodb`` scaffold are basic, but they provide a good orientation for the high-level patterns common to most :term:`traversal` -based :app:`Pyramid` (and :term:`ZODB` based) projects. @@ -69,7 +69,7 @@ hierarchically in a :term:`resource tree`. This tree is consulted by tree represents the site structure, but it *also* represents the :term:`domain model` of the application, because each resource is a node stored persistently in a :term:`ZODB` database. The ``models.py`` file is -where the ``pyramid_zodb`` scaffold put the classes that implement our +where the ``zodb`` scaffold put the classes that implement our resource objects, each of which happens also to be a domain model object. Here is the source for ``models.py``: @@ -144,7 +144,7 @@ Let's try to understand the components in this module: #. *Lines 5-6*. We define a :term:`view callable` named ``my_view``, which we decorated in the step above. This view callable is a *function* we - write generated by the ``pyramid_zodb`` scaffold that is given a + write generated by the ``zodb`` scaffold that is given a ``request`` and which returns a dictionary. The ``mytemplate.pt`` :term:`renderer` named by the asset specification in the step above will convert this dictionary to a :term:`response` on our behalf. |
