Defiant.js - build smart templates and query selections applicable on JSON objects

added by JavaScript Kicks
10/16/2014 9:39:00 AM


With defiant.js, you can write logical templates with powerful technologies such as XSLT & XPath, applicable on JSON objects. Besides the fact that XSLT is a proven Turing-complete language, it is also standardized and supported by all major browsers. Furthermore, defiant.js is the only Javascript library that offers fullscale XPath implementaion on JSON objects, as opposed to the smart but unstandardized JSONPath.


Robert Greyling
10/16/2014 9:39:58 AM
Woohoo! I knew all that Xpath learning I did would come in handy again some day :) Just kidding - does look pretty interesting though...

Drew Peterson
10/17/2014 6:02:39 PM
I like the idea of leveraging XPath, but I wish the syntax felt less like XML (obviously, since it's XSLT) and more like other js templating libraries. I would definitely go for something that gave XPath querying capabilities married with something like Knockout. Data binding to an XPath query? Yes please.