1. 4

  2. 1

    I haven’t done much jQuery stuff in about a year, other than tweaking some existing things. Has much changed since then that one should consider some sort of refresher course?

    My sense a year ago was that once you understand some fundamental concepts and looked at some examples you could pretty much figure out how most things worked, and then it was a matter of searching for this or that plugin-in when you had some particular need beyond basic event handling or dynamic page updating.

    1. 2

      Probably the biggest change has been the rewrite of $.ajax() and the corresponding introduction of deferreds and promises, which provide a great API for dealing with async operations. Other than that, probably the other biggest change has been the centralization of the event-binding API under the .on() method, which basically replaces .bind(), .delegate(), and the long-ago deprecated .live(). The event changes are pretty easy to get caught up with, but I’ve found that people tend to take a little while to catch on to deferreds and promises if they haven’t encountered them before.

      While it’s somewhat true that learning jQuery is simply a matter of learning some general concepts, jQuery Fundamentals tries to provide a structured introduction to jQuery development, targeted largely at front-end devs who might not have much programming experience. For example, it spends a healthy amount of time on JavaScript basics, with a goal of giving people a firm foundation rather than encouraging them to settle for copy & paste :)