News for hackers. Stuff that matters.
Re:JQuery Blueprint - a js templating framework in just 30 l... by bunchesofdonald on Monday September 20, 2010 @03:14PM (#1710122)
As 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.

There are no comments on this comment yet.