jQuery 1.9 and 2.0 - Present and Future

  • 6,526 views
Uploaded on

jQuery has grown over 7 years to become the most widely used JavaScript library ever. This talk will cover how the jQuery project continues to support the browsers of the past, present, and future …

jQuery has grown over 7 years to become the most widely used JavaScript library ever. This talk will cover how the jQuery project continues to support the browsers of the past, present, and future while also delivering modularity, innovation, and mobile support.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
6,526
On Slideshare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
38
Comments
0
Likes
14

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. jQuery 1.9 and 2.0Present and Future
  • 2. Richard D. Worth Executive Director, jQuery Foundation @rworth richard@jquery.comjQuery UK - Oxford April 19 2013
  • 3. write less, do more
  • 4. Scope
  • 5. DOM Manipulation
  • 6. DOM ManipulationEvents
  • 7. DOM ManipulationEventsEffects
  • 8. DOM ManipulationEventsEffectsAjax
  • 9. DOM ManipulationEventsEffectsAjax
  • 10. More Less
  • 11. More LessStuff
  • 12. More LessStuff plugins
  • 13. More LessStuff pluginsUI controls
  • 14. More LessStuff pluginsUI controls jQuery UI
  • 15. More LessStuff pluginsUI controls jQuery UITouch
  • 16. More LessStuff pluginsUI controls jQuery UITouch jQuery Mobile
  • 17. More LessStuff pluginsUI controls jQuery UITouch jQuery MobileMVC
  • 18. More LessStuff pluginsUI controls jQuery UITouch jQuery MobileMVC Backbone, etc.
  • 19. jQuery 1.8 orearlier versions?
  • 20. 1.9 Upgrade Guide
  • 21. Migrate Plugin
  • 22. github.com/jquery/ jquery-migrate
  • 23. <script src="jquery.js"></script><script src="jquery-migrate.js"></script>
  • 24. Migrate Plugin Example
  • 25. trends.builtwith.com W3Techs
  • 26. 56.7%all web sites
  • 27. 61.3%top 10,000 sites
  • 28. 91.2%sites with JavaScript
  • 29. 9 out of 10web developers use jQuery
  • 30. 9 out of 10web developers use jQuery
  • 31. jQuery 2.0 Final
  • 32. blog.jquery.com
  • 33. Available now on the jQuery CDNcode.jquery.com
  • 34. Google andMicrosoft CDNs soon
  • 35. 3 Features2 Promises1 Invitation
  • 36. Feature #1
  • 37. jQuery 2.0drops support for IE 6, 7, 8
  • 38. This is NOTYMMV
  • 39. All code tomake jQuery work in IE 6, 7, 8 wasREMOVED from 2.0
  • 40. 12%smaller
  • 41. “Compatability View” modes
  • 42. X-UA-Compatibletag or HTTP header Header is recommended
  • 43. Feature #2
  • 44. jQuery 2.0 is deigned forthe modern web
  • 45. jQuery 2.0 is deigned forthe modern web
  • 46. Compatibility code for Old IE caused issues in some environments
  • 47. Perfect 2.0 Environments• Google Chrome add-ons• Mozilla XUL apps, Firefox ext.• Firefox OS apps• Chrome OS apps• Windows 8 Store (”Modern/Metro UI”) apps
  • 48. Perfect 2.0 Environments• BlackBerry 10 WebWorks apps• PhoneGap/Cordova apps• Apple UIWebView Class• Microsoft WebBrowser Control• node.js (combined with jsdom or similar)
  • 49. Modern Environments• Are themselves a work in progress• Have a unique set of rules or restrictions• Are different from typical jQuery env. - web browser
  • 50. Modern Environments• We aren’t able to test regularly in all these non-browser scenarioes• We’d like to hear about your experiences in using them
  • 51. Feature #3
  • 52. 12 optionally excludable modules
  • 53. Some Modules• Ajax • Offset• CSS • Wrap• Dimensions • Sizzle• Effects • ...
  • 54. DOM Manip. & Selecting
  • 55. The core ofjQuery Core 2.0 10k minified + gzipped
  • 56. 3 Features2 Promises1 Invitation
  • 57. 3 Features2 Promises1 Invitation
  • 58. Promise #1
  • 59. The jQuery Team will support jQuery v1.X for as long asIE 6, 7, 8 is revelant
  • 60. Several More Years
  • 61. ConditionalComments
  • 62. If you need tosupport IE 6, 7, 8 use 1.9 / 1.X
  • 63. Please test jQuery 2.0 onyour site, even if you use 1.9
  • 64. Promise #2
  • 65. The jQuery Team will supportAPI equivalence between 1.1X and 2.X
  • 66. 1.10 will bereleased within a couple of months
  • 67. 1.1X <-> 2.X1.10 <-> 2.0 1.11 <-> 2.11.12 <-> 2.2
  • 68. Invitation
  • 69. Join Us• learn.jquery.com• contribute.jquery.org• jquery.org/join
  • 70. membership@jquery.com