jQuery Anti-Patterns for Performance and Compression 3.98 http://spkr8.com/t/1401

Description:

If you've seen the results from TaskSpeed, you know that the sexy syntactical sugar of jQuery comes with a few performance disadvantages. jQuery makes it quite easy for you to write some pretty inefficient code, so we'll discuss how to develop in a terse style but with the best possible performance.

We'll cover:

  • Why everything you've learned about the context argument is wrong.
  • Optimal code architecture approaches, e.g. Module Pattern, Constructors, Object Literal
  • Why your selectors in jQuery shouldn't match your ones in CSS
  • Where Sizzle doesn't optimize where you'd think it would
  • How to write jQuery plugins that are blazingly fast

In this session we'll also touch on how to prepare your code for a run through the YUI Compressor. Using real-world examples, we'll reduce the minified size of scripts by 50% using techniques that retain readability and maintainability.

Comments on this Talk

Missing sbujold, 12 Sep 18:24

This user has yet to validate her/his profile with LinkedIn. It is therefore simple to assume that she/he is but a charlatan or common hoaxster.

Too quick, did not see the real-world examples. Some of the content had jsut been covered by the previous talk

Stream akahn, 13 Sep 15:54

This user has yet to validate her/his profile with LinkedIn. It is therefore simple to assume that she/he is but a charlatan or common hoaxster.

Code at the bottom of the slides was difficult to read from the back row, even for a tall guy. Lots of good, reliable, real-world info.

Missing estherswhite, 13 Sep 16:03

This user has yet to validate her/his profile with LinkedIn. It is therefore simple to assume that she/he is but a charlatan or common hoaxster.

A lot of information to cover, would have been great if the presentation was about 15 minutes longer so Paul could slow down a bit.

Stream grahamb, 14 Sep 13:18

This user has yet to validate her/his profile with LinkedIn. It is therefore simple to assume that she/he is but a charlatan or common hoaxster.

Agreed on all the above points: could have been longer, slides were hard to read from the back of the room. Great info and presentation style.

Stream miketaylr, 14 Sep 14:13

This user has yet to validate her/his profile with LinkedIn. It is therefore simple to assume that she/he is but a charlatan or common hoaxster.

I enjoyed the pace, knowing that the slides would be available for me later at Paul's blog to digest. Fun talk.

Rebecca_bw Rebecca Murphey, 14 Sep 19:09

This user has yet to validate her/his profile with LinkedIn. It is therefore simple to assume that she/he is but a charlatan or common hoaxster.

This was a content-packed presentation that put together a lot of research in the form of best practices. That the content duplicated some of what was in the previous talk was no fault of the speaker's.

Stream Alex Sexton, 15 Sep 23:21

This user has yet to validate her/his profile with LinkedIn. It is therefore simple to assume that she/he is but a charlatan or common hoaxster.

I thought this was some of the best information at the conference. A lot of the data that Paul collected for this talk was original and new. You could tell that he had done his research. Blame Microsoft for the projectors, not Paul.

Missing lukeb, 16 Sep 01:06

This user has yet to validate her/his profile with LinkedIn. It is therefore simple to assume that she/he is but a charlatan or common hoaxster.

The performance information given in this talk was some of the most useful information in the weekend.

Missing junli, 30 Dec 11:48

This user has yet to validate her/his profile with LinkedIn. It is therefore simple to assume that she/he is but a charlatan or common hoaxster.

Hello Paul Irish?I'm china developer. I want to Translated <jquery> into Chinese. Desire To get your permission. msn:jsczlj@126.com.

Have an account? Sign in.

Leave a Comment

Remember to keep it constructive! Identify strengths and areas for improvement, and make suggestions!

28 Ratings: 3.98

Delivery: 3.82

Content: 4.15

Your Rating: 2.5

I'll Rate It! I was there.

Last Five Ratings

Time & Location

September 12, 2009 — 12:00 PM
Microsoft Cambridge (Map It)

Welcome to the SpeakerRate Beta! Have feedback? Let us know over at Get Satisfaction (but be nice).