From ea18a50b5e38afdc01748473036988be5289718a Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 24 Jun 2009 19:41:09 +0000 Subject: - ``repoze.bfg`` no longer relies on the Routes package to interpret URL paths. --- docs/glossary.rst | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'docs/glossary.rst') diff --git a/docs/glossary.rst b/docs/glossary.rst index 217c70098..7382a389e 100644 --- a/docs/glossary.rst +++ b/docs/glossary.rst @@ -84,11 +84,13 @@ Glossary returns responses to the WSGI server on behalf of your :mod:`repoze.bfg` application. URL dispatch + An alternative to graph traversal as a mechanism for locating a - :term:`context` for a :term:`view`. When you use :term:`Routes` + :term:`context` for a :term:`view`. When you use a :term:`route` in your :mod:`repoze.bfg` application via a ```` declaration in ZCML, you are using URL dispatch. See the :ref:`urldispatch_chapter` for more information. + Context An object in the system that is found during :term:`traversal` or :term:`URL dispatch` based on URL data; if it's found via @@ -251,14 +253,13 @@ Glossary Routes A `system by Ben Bangert `_ which parses URLs and compares them against a number of user defined - mappings. In terms of :mod:`repoze.bfg`, a Route can supplant - graph traversal when deciding which *view* should be called. See - :ref:`urldispatch_chapter` for more information about Routes integration - in :mod:`repoze.bfg`. + mappings. The URL pattern matching syntax in :mod:`repoze.bfg` is + inspired by the Routes syntax (which was inspired by Ruby On + Rails pattern syntax). Route - A single pattern matched by the :term:`Routes` subsystem, which - generally resolves to a :term:`root factory` (and then ultimately - a :term:`view`). See also :term:`url dispatch`. + A single pattern matched by the :term:`url dispatch` subsystem, + which generally resolves to a :term:`root factory` (and then + ultimately a :term:`view`). See also :term:`url dispatch`. ZCML `Zope Configuration Markup Language `_, the XML dialect -- cgit v1.2.3