On Mon, 5 Sep 2005, Michael Graham wrote:

>
> I think a cgiapp book is a great idea!  I'd be happy to help if you need
> contributors, proof readers, etc.
>
> > Ch 12:  Alternative Templating
> >
> > Template Toolkit and C::A::P::TT.  C::A::P::HtDot, C::A::P::PageBuilder,
> > C::A::P::TemplateRunner, C::A::P::AnyTemplate
>
> Okay, I know I'm biased, but I think that "alternate" template systems
> should be featured more prominently - not just left to their own
> chapter.
>
> If nothing else, if the book is to be an advertisement to the Perl web
> programming community, it had better stress right up front that Template
> Toolkit is fully integrated and works right out of the box; that it's
> not just an afterthought.
>
> The cgiapp community is still split about 50:50 on HTML::Template vs.
> Template Toolkit, so I don't think it's a great idea to push people
> towards HTML::Template just because it's the default.
>

The reason I split this into two chapters is that CGI::Apps integration
with HTML::Template means you can get an immediate advantage over straight
CGI.pm right away.  And although I did use Template Toolkit in my last
project, to be honest it doesn't seem to have huge advantages over
HTML::Template.  I'm sure thats just a matter of taste though.

> Plus, a greater percentage of the community is friendly to the "magic
> dot" feature, regardless of whether the feature is used from within TT
> or from within HT::Dot.
>

So perhaps I should cover HT::Dot in the introductory chapter, and TT and
the rest in Ch. 12?


-- 
Jaldhar H. Vyas <[EMAIL PROTECTED]>

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to