On Nov 29, 2007 2:45 PM, Michael Marth <[EMAIL PROTECTED]> wrote:

> ...2. Having the same templating language on client and server is nice, but
> maybe different delimiters would be a good idea. If the same ones are used
> we cannot combine server-side and client-side parts in one script....

> ...btw: reminded me of the TrimPath stuff now at
> http://code.google.com/p/trimpath/wiki/JavaScriptTemplates...

That library might be the best choice for people who want to combine
client-side with server-side templating: use microsling-provided stuff
server-side, and use JavaScriptTemplates (or any other library)
client-side.

In this way we don't have to reimplement that, and people are free to combine.

The aim of SLING-114 (just committed a first version, revision 600516)
is a bit different, as it provides in one HTTP request  a default HTML
rendering (for search engines), a javascript variable intialized via
our JSON rendering, and a conversion of the ECT template into
client-side rendering code. This is experimental, feedback is welcome
of course.

-Bertrand

Reply via email to