2. Overview
• Building Rich Internet Applications
• ChoosingjQuery
• Making a mess of your project
• Questions
3. Rich Internet Applications
• 1995 is history
• Customers want interactive, easy-to-use web applications
• HTML falls short
• HTML5 is not the answer
11. jQuery
• Gooddocumentation – http://api.jquery.com
• Large community
• No-nonsense API
• Open-ended
• jQueryPlugins
• jQuery UI
• Sounds nice?
12. Oneminuteintroduction
• jQueryworks on sets of DOM nodes:
$(“selectorpattern”)
• This set (the “matched set”) canbetraversed:
$(“input[type=„submit‟]”).closest(“form”);
• The contents canbemanipulated:
$(“div.notification”).fadeOut(“slow”);
15. Reminder
The theory is verysimple:
– HTML forstructure
– CSS fordesign
– JavaScriptforinteractivity
16. The twobasicproblems
• HTML
– Usedforstructure
– Alsoused to do what CSS can’t do
– Alsoused to implement complex JS widgets
• Classes and IDs
– Usedfor CSS
– Usedfor JS Selectors