From e4e3aa3449d3ae390402a9cead205626816a2938 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 27 Dec 2009 15:32:14 +0000 Subject: Rendering cleanups. --- docs/narr/introduction.rst | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'docs/narr/introduction.rst') diff --git a/docs/narr/introduction.rst b/docs/narr/introduction.rst index 09b690a12..6b5494d76 100644 --- a/docs/narr/introduction.rst +++ b/docs/narr/introduction.rst @@ -117,19 +117,18 @@ Differences from Other Web Frameworks ------------------------------------- Like :term:`Zope`, the :mod:`repoze.bfg` framework imposes more -`control inversion `_ upon -application developers than other Python frameworks such as -:term:`Pylons`. For example :mod:`repoze.bfg` allows you to -explicitly resolve a URL to a :term:`context` object before invoking a -:term:`view`. Pylons and other Python "MVC" frameworks have no such -intermediate step; they resolve a URL directly to a "controller". -Another example: using the :mod:`repoze.bfg` security subsystem -assumes that you're willing to attach an :term:`ACL` to a -:term:`context` object; the ACL is checked by the framework itself -instead of by user code, and access is permitted or denied by the -framework itself rather than by user code. Such a task would -typically be performed by user-space decorators in other Python web -frameworks. +*control inversion* upon application developers than other Python +frameworks such as :term:`Pylons`. For example :mod:`repoze.bfg` +allows you to explicitly resolve a URL to a :term:`context` object +before invoking a :term:`view`. Pylons and other Python "MVC" +frameworks have no such intermediate step; they resolve a URL directly +to a "controller". Another example: using the :mod:`repoze.bfg` +security subsystem assumes that you're willing to attach an +:term:`ACL` to a :term:`context` object; the ACL is checked by the +framework itself instead of by user code, and access is permitted or +denied by the framework itself rather than by user code. Such a task +would typically be performed by user-space decorators in other Python +web frameworks. Like Zope, but unlike :term:`Pylons` applications or most :term:`Django` applications, when you build a :mod:`repoze.bfg` -- cgit v1.2.3