diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-11-23 11:29:22 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-11-23 11:29:22 +0000 |
| commit | 4e2c2ddae01aef751b29cf7bb9f594d962fec7c6 (patch) | |
| tree | 85ddd092f82785492d1dee0918df5b8783b7de8e | |
| parent | 5453b7bc96005c7607338c24e9ccf858f7cfe153 (diff) | |
| download | pyramid-4e2c2ddae01aef751b29cf7bb9f594d962fec7c6.tar.gz pyramid-4e2c2ddae01aef751b29cf7bb9f594d962fec7c6.tar.bz2 pyramid-4e2c2ddae01aef751b29cf7bb9f594d962fec7c6.zip | |
| -rw-r--r-- | docs/narr/configuration.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/narr/configuration.rst b/docs/narr/configuration.rst index 7f1952c0d..ae36e10c2 100644 --- a/docs/narr/configuration.rst +++ b/docs/narr/configuration.rst @@ -295,8 +295,8 @@ Finally, we actually serve the application to requestors by starting up a WSGI server. We happen to use the ``wsgiref.simple_server`` WSGI server implementation, telling it to serve the application on TCP port 8080, and we pass it the ``app`` object (an instance of -``repoze.bfg.router.Router``) as the application we wish to server. -We then call the ``serve_forever`` method of the result to +``repoze.bfg.router.Router``) as the application we wish to serve. We +then call the ``serve_forever`` method of the result to ``simple_server.make_server``, causing the server to start listening on the TCP port. It will serve requests forever, or at least until we stop it by killing the process which runs it. @@ -321,8 +321,8 @@ an XML dialect. Declarative configuration mode is the configuration mode in which developers cede the most amount of control to the framework itself. -Because application developers cede a more control to the framework, -it is also harder to understand than purely imperative configuration. +Because application developers cede more control to the framework, it +is also harder to understand than purely imperative configuration. However, using declarative configuration has a number of benefits, the primary benefit being that applications configured declaratively can be *overridden* and *extended* by third parties without requiring the |
