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,
and calls a method that happens to live in views.py instead of the class
itself using something I can conceptualize as multiple dispatch.

If I click on a .txt in the filesystem the operating system knows to load it
with an associated application, if I visit an object in Pyramid the
framework knows to run an associated view method. Bam! I love traversal.

Of course it's OK to be used to URL dispatch and Pyramid will accommodate,
but do you remember when you saw that first list of regexps in some
tutorial? URL dispatch and traversal both add a level of indirection between
your URLs and your code. They are a tremendous conceptual leap from the bad
but approachable old days of 'put a .php script in a directory'.

Daniel

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To post to this group, send email to pylons-de...@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en.

Reply via email to