Browse Source

Added note about decorators to becomingbig.

pull/1638/head
Armin Ronacher 15 years ago
parent
commit
61d07b8be9
  1. 5
      docs/becomingbig.rst

5
docs/becomingbig.rst

@ -31,7 +31,10 @@ scale applications:
- get rid of the decorator function registering which causes a lot - get rid of the decorator function registering which causes a lot
of troubles for applications that have circular dependencies. It of troubles for applications that have circular dependencies. It
also requires that the whole application is imported when the system also requires that the whole application is imported when the system
initializes or certain URLs will not be available right away. initializes or certain URLs will not be available right away. A
better solution would be to have one module with all URLs in there and
specifing the target functions explictliy or by name and importing
them when needed.
- switch to explicit request object passing. This makes it more to type - switch to explicit request object passing. This makes it more to type
(because you now have something to pass around) but it makes it a (because you now have something to pass around) but it makes it a
whole lot easier to debug hairy situations and to test the code. whole lot easier to debug hairy situations and to test the code.

Loading…
Cancel
Save