That's very cool - haven't seen Sinatra before, but it's also very impressive.
I'm a little torn as to if I think this is a good idea. I like opening a file and seeing the url-to-class mapping at the top. Also, it's nice if you want 2 URLs using the same class to have that mapping next to each other. In terms of implementation, the inspect module feels like a hack to me... but that's just me. I could be off on this, but I think it's not great for performance either. On Mar 4, 2:19 pm, Andrew Gwozdziewycz <[email protected]> wrote: > Hi Aaron, > > I actually wrote that article, and was inspired by sinatra. I haven't > gotten a chance to integrate the ideas into web.py though, otherwise I > would have posted here first about it. I probably won't get a chance > to do any more with it for a while, so don't wait for me, if you think > it's a fit for web.py. > > Andrew > > On Wed, Mar 4, 2009 at 2:05 PM, Aaron Swartz <[email protected]> wrote: > > > This article has a good proposal: > > >http://sigusr2.net/2009/Mar/04/dispatching-with-with.html > > > This would make it more like Sinatra, which I'm a bit jealous of at the > > moment. > > --http://www.apgwoz.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
