Re: URL dispatch vs traversal

2010-12-13 Thread Rob Miller
On 12/07/2010 04:47 AM, Paul Everitt wrote: I'll add a little historical perspective to the traversal approach. Way, way back, before Zope was Zope and before there was a full ZODB, we had this approach called "object publishing". It was Python objects, published on the web. A URL pointed you a

Re: URL dispatch vs traversal

2010-12-08 Thread Paul Everitt
I'll add a little historical perspective to the traversal approach. Way, way back, before Zope was Zope and before there was a full ZODB, we had this approach called "object publishing". It was Python objects, published on the web. A URL pointed you at an object. The next hop in the URL po

Re: URL dispatch vs traversal

2010-12-06 Thread Daniel Holth
I don't know what all you guys are smoking with this half-cocked "routes" system. Personally it makes no sense to me. I started developing web pages by putting index.html in a folder, and if I visited that folder I would see index.html. Now I put an object in a nested dict, the framework finds it,

Re: URL dispatch vs traversal

2010-12-06 Thread Mike Orr
On Mon, Dec 6, 2010 at 8:01 PM, jorge.var...@gmail.com wrote: > On Nov 24, 2:41 am, Mike Orr wrote: >> the first matching route specifies which view callable to invoke. The >> other way is called Traversal, which is familiar to BFG, TurboGears, >> and Zope users. ^Wrong. This is whe

Re: URL dispatch vs traversal

2010-12-06 Thread jorge.var...@gmail.com
On Nov 24, 2:41 am, Mike Orr wrote: > On Tue, Nov 23, 2010 at 8:21 PM, Mike Orr wrote: > > On Tue, Nov 23, 2010 at 8:00 PM, Chris McDonough wrote: > >> On Tue, 2010-11-23 at 19:35 -0800, Mike Orr wrote: > >>> I wonder if it would be clearer to to put the URL Dispatch chapter > >>> before Context

Re: URL dispatch vs traversal

2010-11-24 Thread Chris McDonough
Thanks for this. I'll refer to it once it comes around on the guitar to unscrew the views chapter. - C On Tue, 2010-11-23 at 22:41 -0800, Mike Orr wrote: > On Tue, Nov 23, 2010 at 8:21 PM, Mike Orr wrote: > > On Tue, Nov 23, 2010 at 8:00 PM, Chris McDonough wrote: > >> On Tue, 2010-11-23 at 19

Re: URL dispatch vs traversal

2010-11-23 Thread Mike Orr
On Tue, Nov 23, 2010 at 8:21 PM, Mike Orr wrote: > On Tue, Nov 23, 2010 at 8:00 PM, Chris McDonough wrote: >> On Tue, 2010-11-23 at 19:35 -0800, Mike Orr wrote: >>> I wonder if it would be clearer to to put the URL Dispatch chapter >>> before Context Finding and Traversal in the manual. >> >> I s

Re: URL dispatch vs traversal

2010-11-23 Thread Mike Orr
On Tue, Nov 23, 2010 at 8:00 PM, Chris McDonough wrote: > On Tue, 2010-11-23 at 19:35 -0800, Mike Orr wrote: >> I wonder if it would be clearer to to put the URL Dispatch chapter >> before Context Finding and Traversal in the manual. URL Dispatch seems >> to be simpler, and it doesn't require lear

Re: URL dispatch vs traversal

2010-11-23 Thread Chris McDonough
On Tue, 2010-11-23 at 19:35 -0800, Mike Orr wrote: > I wonder if it would be clearer to to put the URL Dispatch chapter > before Context Finding and Traversal in the manual. URL Dispatch seems > to be simpler, and it doesn't require learning about the root object, > context object, and context find