Cleveland C#/VB.Net User Group February 24, 2009 Marv Schwartz mss@case.

edu

net software? you write javascript? you write jQuery? you enjoy writing javascript? .ƒ ƒ ƒ ƒ ƒ you write cascading style sheets (css) you write ASP.

info/.ƒ ƒ ƒ ƒ ƒ Why YOU might use jQuery How to update VS-2008 for jQuery Write some jQuery code Ideas for debugging jQuery code References Sam Nasr has kindly agreed to post these slides on http://www.clevelanddotnet. .

.

but Javascript is not a good language design Javascript has become bloated  DOM navigation  Browser differences ƒ Writing Javascript code is tedious. and error-prone .ƒ ƒ ƒ Javascript has become essential to current web page development. timeconsuming.

ƒ jQuery makes writing Javascript much easier  DOM navigation (css-like syntax)  Apply methods to sets of DOM elements  Builder model (chain method calls)  Extensible and there are tons of libraries  Handles most browser differences so you don t have to ƒ ƒ Server provides data jQuery on client provides presentation .

WPF. Silverlight and Mobile ƒ jQuery and Microsoft (Google ScottGu jQuery) .Scott Guthrie is a Corporate Vice President in the Microsoft Developer Division.NET.NET ƒ Silverlight ƒ WPF ƒ IIS 7.NET Base Class Libraries ƒ ASP.0 ƒ Visual Studio Tools for ASP. He runs the development teams that build the following products/technologies: ƒ CLR and the core .

Scott Guthrie announced that Microsoft will be shipping jQuery with Visual Studio going forward. We will distribute the jQuery JavaScript library as-is. We will also distribute intellisense-annotated versions that provide great Visual Studio intellisense and help-integration at design-time . The files will continue to use and ship under the existing jQuery MIT license. and will not be forking or changing the source from the main jQuery branch.

asp.msdn.microsoft. jQuery Intellisense in VS 2008 http://weblogs.js IntelliSense documentation files http://code.aspx ƒ ƒ VS2008 sp1 KB958502-JScript Editor support for -vsdoc.ƒ ScottGu.com/KB958502/Release/ProjectReleases.net/scottgu/archive/2008/11/21/jquery-intellisense-in-vs-2008.aspx?ReleaseId=1736 .

YUI. including: Sizzle: A cross-browser. JavaScript. Processing. JavaScript library for implementing CSS selector DOM selection in JavaScript. 2009 FLOSS Weekly 55: jQuery Hosts: Randal Schwartz and Leo Laporte jQuery. project lead and the head of the development team of the jQuery JavaScript library. and writing. released in January. standalone. performance analysis. Prototype. Resig also speaks on the Open Web Podcast with Dion Almaer and Alex Russel. 2006.February 7th. and browsers. For Resig's day job he works as a JavaScript Evangelist for the Mozilla Corporation. where they discuss web standards. and MochiKIt. speaking.js: A port of the Processing visualization language to JavaScript (running in an HTML 5 canvas element). a lightweight JavaScript library emphasizing JavaScript and HTML interaction. where he does JavaScript testing. Guest: John Resig for jQuery TWiT Wiki for this show John Resig is the creator. He's also the author of a number of other projects. Sizzle. He's the author of the book "Pro JavaScript Techniques" and is working on his second book: "Secrets of the JavaScript Ninja" (due out in 2009) . which is in the process of being integrated into jQuery.

ƒ HTML only  Text  Tables ƒ ASP.net AJAX .

net No ScriptHandler Uses WebMethods Uses query string .ƒ ƒ ƒ ƒ ASP.

js or use Google to host jQuery http://code.3.ƒ ƒ Compress jQuery-1.3.google.js .vsdoc.com/apis/ajax/documentation/ ƒ Not needed: jQuery-1.2.2.

ƒ ƒ Plugins: http://docs.jquery.com/Plugins and Google returns many more  flot  SimpleModal .

html chapter2\lab.wrapped.set.manning.html .com/bibeault/ chapter2\lab selectors.ƒ jQuery in Action ƒ ƒ ƒ http://www.

net/scottgu/ Rick Strahl s blog: http://www.asp.com/ Scott Guthrie s blog: http://weblogs.ƒ ƒ http://jquery.com/weblog/ Book: jQuery in Action ƒ ƒ .west-wind.

Some break things. Marv Schwartz mss@case. Be wary of old hints. Integration with Visual Studio 2008 is improving quickly.A problem with Google is that it finds outdated information as easily as current information. Go code some cool web pages using jQuery. Thank you.edu . Some are unnecessary.

Sign up to vote on this title
UsefulNot useful