4 ms·
care to elaborate how it compares to other js templating frameworks? (ie. features, speed)
by tariq 16y ago
care to elaborate how it compares to other js templating frameworks? (ie. features, speed)
- bunchesofdonald 16y agoAs far as features, there aren't many. I'd looked at all the other js templaters and they all seemed to do too much, IMO. I just wanted one that would take an html template, let me give it a data object, and have it render it into an element on the page. Speed wise, I haven't benchmarked it, but it uses regex (admittedly not the best way) and jquery.append() to do the heavy-lifting, that combined with the fact it's doing very little, it should be very fast. I'm working on making it parse the template first that way I can get rid of the regex, or at least minimize it's usage.