Re: [Templates] javascript implementation of tt?

[prev] [thread] [next] [Date index for 2005/03/31]

From: J. Shirley
Subject: Re: [Templates] javascript implementation of tt?
Date: 15:18 on 31 Mar 2005
On Thu, 31 Mar 2005 09:52:29 -0500, qbxk <qbxk@xxxxxx.xxx> wrote:
> Tony is my friend.   he knows.
> 
> >> I still think client side templating is a daft idea.. Server-side
> >> templating systems such as TT2 have grown with the assumption that
> >> including another file is a relatively cheap and reliable process, and
> >> using seperate template files is basically how they provide
> >> modularity.. but the situation is very different client side, fetching
> >> a new template is a slow complicated procedure that may or may not
> >> work,
> >>
> >
> >
> > Google seem to have got it working pretty well.
> >
> >
> damn right.
> 
> _______________________________________________
> templates mailing list
> templates@xxxxxxxxxxxxxxxx.xxx
> http://lists.template-toolkit.org/mailman/listinfo/templates
> 

I've been doing quite a bit with XmlHTTPRequest (Apple docs are a
great resource to brush up on
http://developer.apple.com/internet/webcontent/xmlhttpreq.html) -- You
already have a "template" Engine, it's called the DOM :)

It's just a heirarchical display device... JavaScript already supports
callbacks.  I have a system in place (not in any state to release, but
I can writeup a doc on it) that accepts callbacks loaded from an
XmlHTTPRequest datagram and processes it.  This way you just hack in a
display handler in JavaScript and away it goes.

This, in conjunction with TT has proven to be quite the useful tool.
        -- 
        J. Shirley >> jshirley@xxxxx.xxx
Kill Two Stones with One Bird
http://www.toeat.com | http://www.new-wheel.com

_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

(message missing)

RE: [Templates] javascript implementation of tt?
Jose Luis Martinez 08:55 on 31 Mar 2005

Re: [Templates] javascript implementation of tt?
J. Shirley 15:18 on 31 Mar 2005

Re: [Templates] javascript implementation of tt?
Buddy Burden 15:50 on 08 Apr 2005

Re: [Templates] javascript implementation of tt?
Sebastian Riedel 16:04 on 08 Apr 2005

Generated at 14:44 on 11 Apr 2005 by mariachi v0.52