On Thu, Mar 31, 2005 at 04:41:38PM +0100, Dan Thomas wrote:
> Well. Reimplementing TT2 in js *IS* a completely nonsensical idea, due
> to the way it works.. (re: my comment previously about reimplementing
> perl in js ;)) 

I don't believe the suggestion was to port TT, function by function, as
much as to create something akin to TT in JS.

> I'm pretty sure google do not have their pages split up into multiple
> files that are called individually via xmlhttp and combined into a
> single document in the client.. that would be horribly inefficient.

You seem to be focussing on one particular aspect of TT (which no-one
other than you has been suggesting that this mythical TT-JS would even
have), and extrapolating from that that the whole idea is flawed. (Just
as no-one is suggesting that this TT-JS would use EVAL_PERL either ...)

> Generally these client-side apps tend to either render the entire UI
> with JS, or serve the UI as a complete page from the server, then load
> the data in as xml (or whatever) and apply it to the page

I believe that's pretty much what we were talking about, except with
avoiding the XML part.

Tony

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to