On Mon, Apr 14, 2008 at 9:55 AM, Mike Orr <[EMAIL PROTECTED]> wrote: > On Mon, Apr 14, 2008 at 7:33 AM, Marcin Kasperski > > Well, one thing StackedObjectProxies do is that I do not need to > > pass environ to every function anymore, referring pseudo-globals > > is easier and smoother. > > It's easier but it makes everything depend on this non-straightforward > structure.
Quixote has top-level functions instead: quixote.get_request(), quixote.get_session(). At first I really liked pylons.request etc, but after seeing how much magic the StackedObjectProxies do, I wish Pylons had gone with functions because they make explicit that "something" is happening. But the pylons.request style has been established in Pylons for so long that it can't be changed. -- Mike Orr <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
