Re: Javascript TAL
William McKee <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.petal |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Jan 13, 2005 at 07:43:46PM +0100, Joachim Zobel wrote: > 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. Is this the XML data island concept? > 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. I experienced a bit of waiting and flashing using Firefox under Linux. But it wasn't an entire page refresh and, considering the site is across the Atlantic, it was a pretty quick update. > 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. Yeah, I try to at least provide an alternative option for crucial elements of the site. That means templates which display content could be problematic. I know that Jean-Michel abhorred the use of JavaScript. However, there are some cases where it really makes an application easier to use (e.g., popup calendars, data verification before posting). > It is an experiment with an uncertain future. Nonetheless a cool concept. Keep up posted if you do anything with it in the future. William -- Knowmad Services Inc. http://www.knowmad.com