Live data from Hacker News

JQuery 1.5 Released

code.jquery.com

11–20 of 33 posts

Re: JQuery 1.5 Released

#13
post #5

I guess there’s be a blog post coming up soonish, but for me the big deal is integration of a templating language. We experimented with the MS-written templating plugin that’s now been integrated and it seems pretty good.

That's not happening in this release - that's just an official jQuery plugin that we released and maintain separately.

We have been using jQuery-TMPL and it is very cool.

Re: JQuery 1.5 Released

#14
post #10

Very readable code, I'm sure I could learn a lot by perusing it :)

If you want to do that, I recommend starting by watching Paul Irish's "10 Things I Learned from the jQuery Source" [0] and "11 More Things I Learned from the jQuery Source" [1] as he does exactly that.

There's also jQuery Deconstructed [2] to navigate the jQuery source in... an interesting manner.

[0] http://paulirish.com/2010/10-things-i-learned-from-the-jquer...

[1] http://paulirish.com/2011/11-more-things-i-learned-from-the-...

[2] http://www.keyframesandcode.com/resources/javascript/deconst...

Re: JQuery 1.5 Released

#15
post #10

Very readable code, I'm sure I could learn a lot by perusing it :)

If you want to do that, I recommend starting by watching Paul Irish's "10 Things I Learned from the jQuery Source" [0] and "11 More Things I Learned from the jQuery Source" [1] as he does exactly that. There's also jQuery Deconstructed [2] to navigate the jQuery source in... an interesting manner. [0] http://paulirish.com/2010/10-things-i-learned-from-the-jquer... [1] http://paulirish.com/2011/11-more-things-i-learne…

Wow thanks, I'll read through those first.

Re: JQuery 1.5 Released

#17
post #9

Does anyone know what the new features of this version are? I can't wait for the blog post and haven't been following development closely :)

The jQuery 1.5b1 announcement is probably a good start, it lists a lot of stuff (though not all new features, in fact most of it is bugfixes from 1.4): http://blog.jquery.com/2011/01/14/jquery-1-5-beta-1-released...

The most important new features are probably: the rewritten $.ajax [0] which returns a promise [1] in the manner of e.g. Mochikit and the subclassable jQuery object [2]

[0] http://blog.jquery.com/2010/12/28/jquery-community-updates-f...

[1] http://en.wikipedia.org/wiki/Promise_(programming)

[2] https://github.com/deadlyicon/jquery/commit/4024e67d0f352e4a...

Re: JQuery 1.5 Released

#20

I guess there’s be a blog post coming up soonish, but for me the big deal is integration of a templating language. We experimented with the MS-written templating plugin that’s now been integrated and it seems pretty good.

Beware of Microsoft's jQuery-tmpl templates, if you care about being able to render your views with reasonable performance. You can benchmark 'em yourself here:

http://jsperf.com/dom-vs-innerhtml-based-templating/73

TL, Didn't Benchmark: Two orders of magnitude slower (approx) than other engines. On the iPad, for example, jQuery-tmpl was able to render a small template 181 times in a second, whereas Eco, at the other end of the scale, was able to render the same template 11,549 times.

Post reply on HN