From 27862b83712010e4d3f843f74111df260188d321 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 30 Oct 2009 20:06:22 +0000 Subject: Update documentation after root factory changes. --- docs/tutorials/bfgwiki/basiclayout.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'docs/tutorials/bfgwiki/basiclayout.rst') diff --git a/docs/tutorials/bfgwiki/basiclayout.rst b/docs/tutorials/bfgwiki/basiclayout.rst index 5df7f2487..59545e7cc 100644 --- a/docs/tutorials/bfgwiki/basiclayout.rst +++ b/docs/tutorials/bfgwiki/basiclayout.rst @@ -103,11 +103,13 @@ be in ``run.py`` and its ``app`` function: file's ``[app:main]`` section. This will be a URI (something like ``file:///path/to/Data.fs``). -#. Line *16*. We create a :term:`root factory` using the - ``PersistentApplicationFinder`` helper class, passing it the - ZODB URI and our appmaker. +#. Line *16*. We create a "finder" object using the + ``PersistentApplicationFinder`` helper class, passing it the ZODB + URI and our appmaker. -#. Line *17*. We use the ``repoze.bfg.router.make_app`` to return a +#. *Lines 17 - 18*. We create a :term:`root factory` using the finder. + +#. Line *19*. We use the ``repoze.bfg.router.make_app`` to return a :term:`WSGI` application. The ``make_app`` function takes the root factory (``get_root``), the *package* representing our application, and the keywords parsed by PasteDeploy. -- cgit v1.2.3