On Apr 3, 2013, at 12:39 PM, Tauren Mills <[email protected]> wrote:
> 
> I tried out a completely logic-less engine called Plates [3], but it was far 
> too buggy at the time. I haven't used transparency [4] yet, but it appears 
> very similar to plates. Unfortunately, I doubt I would use it since it 
> requires a DOM, which makes it less usable server-side. 


I evaluated both Plates and Transparency for the browser-side and chose the 
latter because it does not pollute JavaScript with HTML (the reverse problem). 
It has worked out well for me, thus far. As someone noted in a blog post, DOM 
based templating is probably something that browsers can and will support 
inherently, in the future, which would mean native browser support (not 
necessarily with Transparency or Plates syntax) as well as performance.

For the server-side, I looked at using JSDOM but that seemed overkill just to 
be able to use Transparency. My server-side needs were so simple that in the 
end I wrote my own variable substitution code, but if not for that, I would 
probably have picked Handlebars like you did.

For me, it’s all work on the way to ultimately using Meteor :-).

2 cents,

        —ravi

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to