Leandro Lucarella ha scritto: > Michele Cella, el 7 de agosto a las 21:00 me escribiste: > > gasolin wrote: > > > Damjan wrote: > > > > > > > > BTW. it contains templates, used with template plugins, it's just > > > > normal to call it "templates/" > > > > > > > > > Let's List all Proposals and see what's it look like: > > > > > > 1. @expose(template="proj.template.mypage") > > > > > > 2. @expose(template="proj.view.mypage") > > > > > > 3. @expose(view="proj.view.mypage") > > > > > > 4. @view(template="proj.template.mypage") > > > > > > > > > I like 2nd most. It's a good convention that > > > "you exposed a method by using template "mypage" in your project's > > > (proj) view folder." > > > > > > > 5. @expose(view="template.mypage") > ^ > > giving that there is a views package like that: > > > > views > > |_ templates/ > ^ > > What about the plural vs singular consistency? (BTW, I don't like plural > at all, either in controller, view or model) >
This is up to Kevin, personally I like being consistent so deciding a naming scheme to use would be great, I don't have any strong opinion regarding plural or singular. 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 -~----------~----~----~----~------~----~------~--~---

