location_city Bengaluru schedule Jul 25th 09:00 - 10:00 AM place Grand Ballroom

You can find solutions to thousands of jQuery problems on the Internet in blog posts, StackOverflow answers, or on Github. The problem is, many of those answers and code snippets are very obsolete! The web development world of 2006 that jQuery was born into is very different than the world of 2015, and jQuery has evolved to keep up. Yet there are still features inside of jQuery that only remain because of compatibility concerns, not because they're a good idea in modern web development.

This talk will discuss features of jQuery that are best to avoid if you want a fast web site or HTML app that works with the widest range of browsers--even browsers that haven't yet been released! You'll also learn how using some of these features can make it very hard to follow modern practices such as Responsive Design. For each feature, you'll learn the modern 2015 way to do each of these tasks.

 
 

Outline/Structure of the Keynote

  • History of jQuery
    • Released in 2006 when web dev was very different
    • A large plugin community grew ...
    • ... and grew...
    • ... and keeps growing!
  • New versions of jQuery in January 2013 (1.9, 2.0)
    • Many bad APIs and practices removed
    • jQuery Migrate plugin helps developers find problems
    • Allows older plugins to still work, but it's a crutch
  • Examples of problem APIs that remain, and better options
    • :visible, :hidden selectors
    • .hide(), .show() methods
    • Other selector extensions
    • $.ajaxSetup()
    • Executing scripts with $()
  • Expect that new versions of jQuery may break these features!
    • jQuery Migrate plugin will be updated

Learning Outcome

Write better jQuery that works faster, responsively, and with fewer bugs.

Target Audience

programmer, web developer

schedule Submitted 5 years ago