This morning I was thinking about widgets and where to put then and I
remenber the discussion that was raised about @view vrs @template,
then I realize why don't we have a view.py file?

- in view.py there will be all the python code related to the view,
that is all the project widgets, and probably some helper functions
for example one that takes a variable and creates a link (a tag), and
any code related directly to the view.
- This will help clarify the issue that people new to the framework
will say well this is MVC we have model.py, controller.py and
templates?!?!
- for now view.py is totally optional, and will have a big comment on
top saying what the intention of it is.

what do you think?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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-trunk
-~----------~----~----~----~------~----~------~--~---

Reply via email to