diff options
| author | Chris McDonough <chrism@plope.com> | 2011-08-08 23:27:21 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-08-08 23:27:21 -0400 |
| commit | 932fc55e19b47ee670fa608c268a35738e499487 (patch) | |
| tree | 113f47df27536eb7b069594cbd482458f3d5b82c /docs/glossary.rst | |
| parent | 7a83ba1c6d997829f13b20676cbaaf0a6ee488ab (diff) | |
| parent | 05f610e6ed66f8d5aca9d77ae0748feb0c8f8479 (diff) | |
| download | pyramid-932fc55e19b47ee670fa608c268a35738e499487.tar.gz pyramid-932fc55e19b47ee670fa608c268a35738e499487.tar.bz2 pyramid-932fc55e19b47ee670fa608c268a35738e499487.zip | |
Merge branch 'topotween'
Diffstat (limited to 'docs/glossary.rst')
| -rw-r--r-- | docs/glossary.rst | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/docs/glossary.rst b/docs/glossary.rst index ccb62bbc8..f0ad81ded 100644 --- a/docs/glossary.rst +++ b/docs/glossary.rst @@ -920,11 +920,13 @@ Glossary tween A bit of code that sits between the Pyramid router's main request handling function and the upstream WSGI component that uses - :app:`Pyramid` as its 'app'. A tween may be used by Pyramid framework - extensions, to provide, for example, Pyramid-specific view timing - support bookkeeping code that examines exceptions before they are - returned to the upstream WSGI application. Tweens behave a bit like - :mod:`WSGI` 'middleware' but they have the benefit of running in a + :app:`Pyramid` as its 'app'. The word "tween" is a contraction of + "between". A tween may be used by Pyramid framework extensions, to + provide, for example, Pyramid-specific view timing support, bookkeeping + code that examines exceptions before they are returned to the upstream + WSGI application, or a variety of other features. Tweens behave a bit + like :mod:`WSGI` 'middleware' but they have the benefit of running in a context in which they have access to the Pyramid :term:`application - registry` as well as the Pyramid rendering machinery. + registry` as well as the Pyramid rendering machinery. See + :ref:`registering_tweens`. |
