idiots guide to jquery

21
An iDiots gUide to jQuery Mark Casias [email protected] @teampoop Thursday, August 12, 2010

Upload: mark-casias

Post on 18-Jun-2015

2.264 views

Category:

Technology


2 download

DESCRIPTION

My slides to my presentation at Webuquerque in August 2010

TRANSCRIPT

Page 1: Idiots guide to jquery

An iDiots gUide to jQuery

Mark [email protected]

@teampoop

Thursday, August 12, 2010

Page 2: Idiots guide to jquery

What is jQuery

Thursday, August 12, 2010

Page 3: Idiots guide to jquery

Why jQuery

Small footprintEasy to read documentslarge communitypopular open source

Thursday, August 12, 2010

Page 4: Idiots guide to jquery

sElecting iTemsSimple CSS Selectors$(“#id”)Cascading$(“body div.fred p.alt”)xpath compatability$(“input[name=‘betty’]”)

Thursday, August 12, 2010

Page 5: Idiots guide to jquery

$(“#the_id”) != document.getElementById(‘the_id’)

Thursday, August 12, 2010

Page 6: Idiots guide to jquery

$.fn.get(0) == document.getElementById(‘the_id’)

Thursday, August 12, 2010

Page 7: Idiots guide to jquery

What do I mean by $.fn?

$(“#this_statement”)

Thursday, August 12, 2010

Page 8: Idiots guide to jquery

mAnipulating iTems

add/remove classesinsert/append contentupdate text/HTMLreposition

Thursday, August 12, 2010

Page 9: Idiots guide to jquery

Dealing with Events

Click / Drag / Submit..All the stars3 ways to add actions

Thursday, August 12, 2010

Page 10: Idiots guide to jquery

AJAX!

Load data directly into object with $.fn.load(‘url’)Pass data objects to serverReturns various data types

Thursday, August 12, 2010

Page 11: Idiots guide to jquery

jQuery UI

Tools to help your User InterfaceObviously namedThemed sites

Thursday, August 12, 2010

Page 12: Idiots guide to jquery

Theme Roller!

jqueryui.com/themerollermodifies the whole sites lookpackages base jquery and ui componentsmakes your life easier

Thursday, August 12, 2010

Page 13: Idiots guide to jquery

Obligatory Cute Animal

Thursday, August 12, 2010

Page 14: Idiots guide to jquery

TabsDialog Boxes (LightBox)Date PickersAccordionsAutocomplete

jQuery uI

Thursday, August 12, 2010

Page 15: Idiots guide to jquery

Buttons

New to 1.8Consistent User Interface

Thursday, August 12, 2010

Page 16: Idiots guide to jquery

Positioning

Thursday, August 12, 2010

Page 17: Idiots guide to jquery

Third Party Plug-ins

User created.Completely open source9/10 Something you want is already doneplugins.jquery.com

Thursday, August 12, 2010

Page 18: Idiots guide to jquery

oTher lIbraries

PrototypeYUI (Yahoooooooo)Sencha (formerly EXT JS)MooTools

Thursday, August 12, 2010

Page 19: Idiots guide to jquery

Resourcesjquery.com & jqueryui.comjQuery Fundamentals (jqfundamentals.com)YayQuery PodcastMultiple books and more!

Thursday, August 12, 2010

Page 20: Idiots guide to jquery

Resourcesjquery.com & jqueryui.comjQuery Fundamentals (jqfundamentals.com)YayQuery PodcastMultiple books and more! And Me!

Thursday, August 12, 2010

Page 21: Idiots guide to jquery

Thanks

Photos blatantly lifted from dailysquee.com

Thursday, August 12, 2010