[Petal] Javascript TAL

Joachim Zobel jzobel at heute-morgen.de
Thu Jan 13 18:43:46 GMT 2005


Am Mi, den 12.01.2005 schrieb William McKee um 15:54:
> Wow, that presents some interesting ideas! If nothing else, this is the
> first client-side templating system I've seen. Was it a programming
> exercise or is it in production use?

This is not in production use. It does not work with IE 5 and has only
been tested with Mozilla and IE 6. It needs few DOM functions, but these
are not easily replaced. It is mainly research for an interesting future
option.

> As for integrating it, you could simply populate the oData structure*
> and let the JavaScript implementation drive the data replacement. This
> would certainly push some of the workload off to the client.

My idea is not to push worload to the client, but to seperate moving
data (to the client side) from static data (to the server side) to get
better page caching. 

Have a look at http://www.music-head.de/ and put something in the cart.
The cart is displayed using images with numbers, while the catalog pages
have a last modified and do not change. This could be done much better
with domtal.

However experience tells me, that client side javascript is best
avoided. So I am a bit unsure if domtal is a good idea at all.

> It's at least worthy of a mention at the TAL frontpage[1] on Zope.org.
> You should try to submit it.

It is an experiment with an uncertain future.

Sincerely,
Joachim

-- 
"... ein Geschlecht erfinderischer Zwerge, die fuer alles gemietet werden 
koennen."                            - Bertolt Brecht - Leben des Galilei 



More information about the Petal mailing list