[Repoze-checkins] r1475 - in repoze.bfg/trunk/docs: narr tutorials/lxmlgraph

Paul Everitt paul at agendaless.com
Fri Jul 25 10:28:24 EDT 2008


Author: Paul Everitt <paul at agendaless.com>
Date: Fri Jul 25 10:28:23 2008
New Revision: 1475

Log:
Remove reference to view factory

Modified:
   repoze.bfg/trunk/docs/narr/traversal.rst
   repoze.bfg/trunk/docs/tutorials/lxmlgraph/background.rst

Modified: repoze.bfg/trunk/docs/narr/traversal.rst
==============================================================================
--- repoze.bfg/trunk/docs/narr/traversal.rst	(original)
+++ repoze.bfg/trunk/docs/narr/traversal.rst	Fri Jul 25 10:28:23 2008
@@ -166,7 +166,7 @@
  8.  Armed with the context, the view name, and the subpath, the
      router performs a view lookup.  It attemtps to look up a view
      from the :mod:`repoze.bfg` application registry using the view
-     name and the context.  If a view factory is found, it is called
+     name and the context.  If a view function is found, it is called
      with the context and the request.  It returns a response, which
      is fed back upstream.  If a view is not found, a generic WSGI
      ``NotFound`` application is constructed.

Modified: repoze.bfg/trunk/docs/tutorials/lxmlgraph/background.rst
==============================================================================
--- repoze.bfg/trunk/docs/tutorials/lxmlgraph/background.rst	(original)
+++ repoze.bfg/trunk/docs/tutorials/lxmlgraph/background.rst	Fri Jul 25 10:28:23 2008
@@ -100,9 +100,10 @@
 
 #. **Multiple views**.  Instead of just having a single default view
    on a node, I can allow other view names, all pointing at the same
-   factory and XSLT.  I simple grab that name and pass it in as a
-   paramter to the XSLT, which will run a different rule for
-   rendering.
+   view function and XSLT.  I simple grab that name and pass it in as
+   a paramter to the XSLT, which will run a different rule for
+   rendering.  Adding a view would no longer required editing ZCML and
+   adding a function.
 
 #. **Forms**.  To edit data in the model, I need to render a form,
    then handle post data on the way back in.  For the former, it's


More information about the Repoze-checkins mailing list