On Aug 19, 2:37 am, "Yehuda Katz" <[EMAIL PROTECTED]> wrote:
>
> Effectively, you stick the template in a CDATA block, and it can then be
> converted in the same way I described earlier. Cool shit, huh?

Yup. This is basically how our server WCT (Wildcat Template)system
works and I have been exploring jQuery to replace/take over some of
this functionality.  The benefits is to improve server scalability by
offloading server template processing to the client.

The difference here is that we don't use {{field}} tags, but instead
@field@ tags.  So instead of this:

  <div>First Name: {{first}}</div>
   <div>Last Name: {{last}}</div>

We have:

  <div>First Name: @firs@</div>
   <div>Last Name: @last@</div>

But part of the problem in our consideration is that we might have to
use different tags to escape any @field@ processing as the server
spits out the page to the browser.

So maybe using {{tag}} could be used :-)

I'm definitely going to study your plugin.  Thanks

--
HLS




Reply via email to