3 ms·
Likewise. Two other template engines you might be interested in are Knockout.js (http://knockoutjs.com/ http://knockoutjs.com/) and the template engine from the
by eob 15y ago
Likewise. Two other template engines you might be interested in are Knockout.js (http://knockoutjs.com/ http://knockoutjs.com/) and the template engine from the Lift web framework. Both play relatively well within HTML.
And Stanford has done some nice work on segmenting the DOM into semantic chunks. The site appears to be down now, but it's usually hosted at http://bricolage.stanford.edu/ http://bricolage.stanford.edu/. Check out their paper on the "Bento" algorithm.
- sorenbs 15y agoThe lift book is worth a quick look if you are interested in templating engines. In short, instead of logic in the view, css selectors are used on the server side to transform small chunks of the website in a statically typed and safe (the dom structure is carried around as xml instead of a string which makes it possible to prevent most of the common security problems on the web) way http://simply.liftweb.net/ http://simply.liftweb.net/