who's doing what? (was Re: [CAF] CAF development roadmap)

Michael Graham magog at the-wire.com
Thu Oct 20 17:05:16 EDT 2005


> > Coming from a Mason world and only using H::Template and T::Toolkit a small
> > number of times over the years, is the a _best_ templating system to use?
> >
> > For instance, T::T seems like overkill for CAF.
> >
> > Biased opinions are welcome ;)

I use TT.  It is teh roxor.


> I've never used T::T.  I'm wary of the power it provides right in the template
> as that stuff tends to get rapidly abused to the point that conceptual lines
> between M, V and C are broken quickly.  (Ditto as my objection to Mason, PHP,
> ASP, CF, etc.)

Actually, this depends on where and how you draw the conceptual line
between View and Controller.  Some people say "The View must contain no
logic!  I draw the line here!".  Other people say "The Controller must
contain no Presentation logic!  I draw the line here!"

I tend to fall into the latter camp.  I want Controller and View to be
cleanly separated, and sometimes that means putting a small amount of
presentation logic into the template, in order to keep it out of the
controller.

I wrote up some examples of this issue in a comment I posted on
use.perl.org:

     http://use.perl.org/comments.pl?sid=28143&op=&threshold=0&commentsort=0&mode=thread&tid=34&pid=42698#42757



Michael


---
Michael Graham <magog at the-wire.com>





More information about the caf mailing list