Kevin Dangoor wrote: > On Jul 31, 2006, at 2:07 AM, Max Ischenko wrote: > > > > > -1 from me. > > > > I think calling _controllers_ methods 'view' is rather un- > > intuitive. I > > like 'expose' much better cause it really about 'exposing' certain > > methods to the outside world. > > Here's the thing, though... it's not actually calling the method > itself a view. It's saying "the view for this method is this thing". > > The only wrinkle is that case where a controller is basically > providing its own view (returning a string) or just redirecting. >
http://www.shorttext.com/us9w5 That's the idea that popped in mind after seeing the new RoR restful/respond_to approach (1 month ago), at the moment we can't do the restful things so easily but I think a @respond decorator is pretty self explanatory. I think we should also move json.py and templates inside a common views subpackage. Ciao Michele --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears -~----------~----~----~----~------~----~------~--~---

