[Catalyst] Alternatives to DBIx?

Andrew Rodland andrew at cleverdomain.org
Sun Apr 18 06:38:55 GMT 2010


On Sunday, April 18, 2010 12:14:55 am Eden Cardim wrote:
> On Sat, Apr 17, 2010 at 8:04 PM, John Karr <brainbuz at brainbuz.org> wrote:
> > Both Fey and SQLDB are a nativist approach to SQL (much like TT is to
> > html)
> 
> TT isn't a native approach to html, by far. In fact, it has quite a
> few things going against it's use to generate html. Besides what
> jshirley already said, it doesn't produce streamable output and once
> your documents get complex, it's not very easy to produce nicely
> indented code with it. For a "native approach" to html, try
> HTML::Zoom.

Very true. In fact, ignoring the fact that it ships with a couple default 
plugins that know how to do HTML-compatible string encoding, TT doesn't 
actually know anything about HTML. It's not actually an HTML tool at all; it's 
a tool for pasting strings together. It's entirely possible for those strings 
to be HTML tags, but since TT is agnostic, it's equally good at producing 
completely mangled, invalid HTML as it is at producing useful HTML (note: not 
a value judgment, just a simple fact!) If that's what "nativist" means, and 
you're looking for a tool that takes a string-schlepping approach to *SQL*, 
then you need look no further than a hundred thousand shitty PHP apps ;)

Andrew



More information about the Catalyst mailing list