Andrew Gwozdziewycz wrote:
> On Wed, Mar 4, 2009 at 2:32 PM, justin davis <[email protected]> wrote:
>   
>
>   
>> 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.
>>     
>
> It's definitely a hack. There shouldn't be any performance concerns
> except for app startup time (and that's probably minimal). If you're
> using fastcgi, or mod_python, this is a non-issue as the app only
> starts once.
>
>   
werkzeug uses decorators to do the same kind of routing (in their case 
at the function vs the class) - not sure how different their internals 
to the decorator approach is  - organizationally I've always felt it's 
much nicer to have the routing right at the class - much less scrolling 
and thus possible errors between the two different program locations. 



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to