diff options
| author | Chris McDonough <chrism@plope.com> | 2011-07-14 18:36:35 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-07-14 18:36:35 -0400 |
| commit | 1d197536090ecbd6df2dba96f96233c6526968e9 (patch) | |
| tree | ab369ae41168bfb095f51686feda352987a24d22 | |
| parent | 0a585a85a73e276cc4c3e75beb040e4abf952e37 (diff) | |
| download | pyramid-1d197536090ecbd6df2dba96f96233c6526968e9.tar.gz pyramid-1d197536090ecbd6df2dba96f96233c6526968e9.tar.bz2 pyramid-1d197536090ecbd6df2dba96f96233c6526968e9.zip | |
mention traversal
| -rw-r--r-- | docs/designdefense.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/designdefense.rst b/docs/designdefense.rst index cc46462da..ddc643e09 100644 --- a/docs/designdefense.rst +++ b/docs/designdefense.rst @@ -1503,6 +1503,13 @@ which contain configuration decorations somehow for their configuration to be executed. Does that make you a little uncomfortable? It should, because :ref:`you_dont_own_modulescope`. +In the meantime, in Pyramid, if you don't want to have to maintain relative +route ordering imperatively, you can use :term:`traversal` instead of route +matching, which is a completely declarative (and completely predictable) +mechanism to map code to URLs. While URL dispatch is easier to understand +for small non-extensible applications, traversal is a great fit for very +large applications and applications that need to be arbitrarily extensible. + "Stacked Object Proxies" Are Too Clever / Thread Locals Are A Nuisance ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
