News for hackers. Stuff that matters.
Re:Utterly sensible HTML templating in Common Lisp by Vekz on Tuesday November 16, 2010 @03:17PM (#1911448)
I am spoiled by nodejs and its live server side DOM rendering. Having one layer of template code reusable on the client and server is too powerful. You would think people would be sick of writing duplicate server templates and ajax templates. To me anything else is a step in the wrong direction.
Re:Utterly sensible HTML templating in Common Lisp by sgrove on Tuesday November 16, 2010 @03:21PM (#1911466)
I think you're pointing out Dave Glass' technique over at yahoo, right? This one http://www.yuiblog.com/blog/2010/04/09/node-js-yui-3-dom-man... ?

The ideas there are definitely very powerful... and just plain sensible. I'd like to find a way to work this in, but it will take time. Do you see any fundamental reason a lisp equivalent of this technique couldn't be reproduced, using something like parenscript?

Re:Utterly sensible HTML templating in Common Lisp by sedachv on Tuesday November 16, 2010 @04:25PM (#1911752)
Re:Utterly sensible HTML templating in Common Lisp by sgrove on Tuesday November 16, 2010 @05:04PM (#1911913)
That's extremely different from the technique that Glass is demoing - in fact, it's the antithesis. It takes care of unifying the server/client templates (by introducing an unnecessary layer, imo), but it's very obviously string-based output rather than live DOM manipulation like Enlive or YUI on node.js