From 61d07b8be9beae54d1c367adfc845dcf30a1512a Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Fri, 16 Apr 2010 12:29:52 +0200 Subject: [PATCH] Added note about decorators to becomingbig. --- docs/becomingbig.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/becomingbig.rst b/docs/becomingbig.rst index 90cc0138..c964fe27 100644 --- a/docs/becomingbig.rst +++ b/docs/becomingbig.rst @@ -31,7 +31,10 @@ scale applications: - get rid of the decorator function registering which causes a lot of troubles for applications that have circular dependencies. It 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 (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.