diff options
| author | Chris McDonough <chrism@plope.com> | 2010-12-23 20:01:42 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-12-23 20:01:42 -0500 |
| commit | b743bb4da42198f223ec756936dc0c581b08b534 (patch) | |
| tree | 73c030ae3ffd241f5dc3dcebb72de661d6afd57a /docs/tutorials/wiki/basiclayout.rst | |
| parent | d1138fdd4fe55358dcb583c5ddee3f45043d1fb5 (diff) | |
| download | pyramid-b743bb4da42198f223ec756936dc0c581b08b534.tar.gz pyramid-b743bb4da42198f223ec756936dc0c581b08b534.tar.bz2 pyramid-b743bb4da42198f223ec756936dc0c581b08b534.zip | |
tutorial accuracy and wording improvements
Diffstat (limited to 'docs/tutorials/wiki/basiclayout.rst')
| -rw-r--r-- | docs/tutorials/wiki/basiclayout.rst | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/docs/tutorials/wiki/basiclayout.rst b/docs/tutorials/wiki/basiclayout.rst index 8e6e89e57..f6e1f800a 100644 --- a/docs/tutorials/wiki/basiclayout.rst +++ b/docs/tutorials/wiki/basiclayout.rst @@ -2,10 +2,9 @@ Basic Layout ============ -The starter files generated by the ``pyramid_zodb`` template 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. +The starter files generated by the ``pyramid_zodb`` template 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. The source code for this tutorial stage can be browsed via `http://github.com/Pylons/pyramid/tree/master/docs/tutorials/wiki/src/basiclayout/ @@ -78,11 +77,10 @@ Resources and Models with ``models.py`` hierarchically in a :term:`resource tree`. This tree is consulted by :term:`traversal` to map URLs to code. In this application, the resource tree represents the site structure, but it *also* represents the -:term:`domain model` of the application, because eeach resource is a node +: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`` Paster template put the classes that implement our -resource objects, each of which happens also to be a domain model -object. +resource objects, each of which happens also to be a domain model object. Here is the source for ``models.py``: |
