What about looking at it this way:

It's all Controller logic until the @view decorator is added. The
decorator adds view logic, and without it there is no user interface to
the outside world.

Concerning the JSON, it's true you don't literally see it but you also
don't literally see HTML in the template, either. What you will see is
the result of what the javascript does with the JSON in the user's
browser. It still has everything to do with the user interface.

What's more, template is a common word in the world of web
applications. It's also very correct in how it's used right now.
Expose, on the other hand, is specific to cherrypy. To someone looking
at the framework right now, they would not have an intuitive idea of
what it is that expose does. All our other decorators
(error_handling,identity,validate) are almost self explanatory to
someone outside the project. Why not this too?


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

Reply via email to