i could write xsl templates and send xml from the server, it looks like it's fairly easy to do that, but as i said, i've written a lot of html using xsl and it's not fun. i'd rather write tt code and have the server emit js hashes that get eval'ed and then template processed
Tony Bowden wrote:
On Thu, Mar 31, 2005 at 01:13:59PM +0100, Dan Thomas wrote:
Client side templating isn't a very good idea anyway, what are you
expecting to happen? grab each template via an http request? sounds
like a very inefficient way to make dynamic webpages to me.
The obvious usage of it would be in an Ajax style application, where the template is served up, and then the application would request new data parcels from the server and then re-process the template with the new data to update the display.
This is easier to do with XML, but having a TT-style approach may be an alternate approach for people who don't like XML.
Tony
_______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
_______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
