One alternative to decorators, IMHO, is so called front
controller+action module pattern. Here, action, instead of being a
callable method of a controller class, is a module/class outside, with
onEnter, onLeave, on{{METHOD}} (i.e., onPOST, onGET, etc).

That seems more complex than decorator usage.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss
-~----------~----~----~----~------~----~------~--~---

Reply via email to