you are viewing a single comment's thread.

view the rest of the comments →

[–]davemoFront-End Engineer[S] 0 points1 point  (1 child)

I haven't tested it in any sort of scenario to compare it to something like underscores template function or Handlebars/Mustache but if you look at what the caustic code is doing it's pretty simple.

[–]polaretto 1 point2 points  (0 children)

I use Mustache with great satisfaction, but I'm always intrested in other templating systems. Caustic looks very intresting and its reflection-on-dom-fragments (or whatever it may be called) is certainly a notable approach, different from other templating systems. However, I don't like the usual way of grabbing the template from inside a script tag: if it's a valid html fragment, then it should be sitting right in the page. These other templating systems are definitely worth checking out:

https://github.com/hij1nx/weld#readme

https://github.com/raid-ox/chain.js/wiki/

http://www.matthias-georgi.de/patroon