On Thu, Jun 18, 2009 at 01:42:32AM +0300, Sergey Schetinin wrote: > But let's go back to bobo, I can see how URL paths derived from file > and function names are nice and make sense, but I'm not as thrilled > with declaring the app path in a decorator. When looking at it from > the perspective of "caller defines when and how the subroutine is > called" I see that the entire (and very useful) level of abstraction > is gone -- the application path is defined right where the application > itself is defined. It's almost like declaring a piece of code and > saying "just inject this into file X at line Y" -- not pretty. > However, I have to admit, that if taken as an iterative improvement > over file/function name it looks very reasonable.
Seems like this style of declaring routes may be more like what you want: http://bobo.digicool.com/more.html#configured-routes -- Brian Sutherland _______________________________________________ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com