From c32dd3a6664d4112d6e706809cbbbc0b8128a152 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 1 Nov 2009 23:37:55 +0000 Subject: Fix ZCML definition. --- docs/glossary.rst | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'docs') diff --git a/docs/glossary.rst b/docs/glossary.rst index 3081a5d33..1bb4dfab3 100644 --- a/docs/glossary.rst +++ b/docs/glossary.rst @@ -78,9 +78,10 @@ Glossary configuration information. This configuration information helps map the view callable to URLs and can influence the response of a view callable. :mod:`repoze.bfg` views can be configured via - :term:`ZCML` or by a special ``@bfg_view`` decorator. See + :term:`ZCML` or by a special ``@bfg_view`` decorator (see + :ref:`mapping_views_to_urls_using_a_decorator_section`.). See :ref:`views_chapter` for more information about view - configuration. + configuration. View name The "URL name" of a view, e.g ``index.html``. If a view is configured without a name, its name is considered to be the empty @@ -301,16 +302,14 @@ Glossary about route configuration. ZCML `Zope Configuration Markup Language - `_, the XML dialect - used by Zope and :mod:`repoze.bfg` to describe associating a view - with a model type. ZCML is capable of performing many different - registrations and declarations, but its primary purpose in - :mod:`repoze.bfg` is to perform view mappings via the ``view`` - declaration. The ``configure.zcml`` file in a :mod:`repoze.bfg` - application represents the application's :term:`application - registry`. You can also use decorators to configure views in - :mod:`repoze.bfg`; see - :ref:`mapping_views_to_urls_using_a_decorator_section`. + `_, an XML dialect + used by Zope and :mod:`repoze.bfg` for configuration tasks. ZCML + is capable of performing many different registrations and + declarations, but its primary purpose in :mod:`repoze.bfg` is to + perform :term:`view configuration` and :term:`route configuration` + within the ``configure.zcml`` file in a :mod:`repoze.bfg` + application. ZCML in a :mod:`repoze.bfg` application represents + the application's :term:`application registry`. Zope Component Architecture The `Zope Component Architecture `_ (aka ZCA) is a system @@ -459,7 +458,6 @@ Glossary route does not match the current request, the next route (in definition order) is attempted. Predicate - A test which returns true or false. Two different types of predicates exist in :mod:`repoze.bfg`: a :term:`view predicate` and a :term:`route predicate`. View predicates are attached to -- cgit v1.2.3