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)

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
 .------------------------------------------------------------------------,
  \  GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05 /
   '--------------------------------------------------------------------'
Y cuando llegamos a nuestro hogar ella saca de su bolsillo derecho un
casete de Ricardo Montaner y nos dice: "Ponelo! Ponelo!"; nos
desilusionamos un poco, pero a esa altura... Todo da igual.
        -- Sidharta Kiwi

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