SlideShare a Scribd company logo
javascript libraries:  jQuery and Prototype
jQuery:  Introduction "jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for  rapid web development ." jquery.com  
jQuery:  A little less information "The Write Less,  Do More , Javascript Library" jquery.com    Lightweight Footprint CSS3 Compliant Cross-Browser Compliant
jQuery:  A business approach Open License     jQuery is currently available for use in all personal or commercial projects under both MIT and GPL licenses. This means that you can choose the license that best suits your project, and use it accordingly.    Ongoing Refinement   jQuery has 5 core teams that  Development Team Evangelist Team jQuery UI Team Plugins Team Web and Design Team   jQuery has an additional unofficial team The web community jQuery extension authors 3rd party contributors  You!

Recommended for you

Jquery 1
Jquery 1Jquery 1
Jquery 1

Jquery is a JavaScript library that simplifies HTML document traversal, event handling, animating, and Ajax interactions. It is built on JavaScript and provides shortcuts and abstractions for many common tasks. Some key benefits of Jquery include providing cross-browser compatibility, an easy to use syntax, and a large number of plugins and functions to extend its capabilities.

what is jqueryintro to jqueryjquery
WordCamp ABQ 2013: Making the leap from Designer to Designer/Developer
WordCamp ABQ 2013: Making the leap from Designer to Designer/DeveloperWordCamp ABQ 2013: Making the leap from Designer to Designer/Developer
WordCamp ABQ 2013: Making the leap from Designer to Designer/Developer

This document summarizes Ray Gulick's presentation at WordCamp Albuquerque 2013 about making the transition from designer to designer/developer. It discusses how coding skills are an essential part of design work. It provides an overview of key WordPress coding concepts like PHP, tags, custom fields, custom post types, and using WP_Query to manage listings. Code examples are provided to demonstrate how to display custom fields and create a custom post type listing with pagination. The goal is to illustrate that becoming a designer/developer is a process of learning by doing and mastering these foundational skills.

wordpressdeveloperwordcamp
AJAX Workshop Notes
AJAX Workshop NotesAJAX Workshop Notes
AJAX Workshop Notes

Put on by USC's Upsilon Pi Epsilon as part of Wonderful World of Web2.0 Workshop Series. http://pollux.usc.edu/~upe/

ajaxuscupe
jQuery:  Show me the  money $ The dollar sign   ($)   is  your first step in talking to jQuery   The basics:   CSS selectors            $ ( ".className" ); DOM selectors           $ ( "a" ); classes, methods       $ . fn ();
jQuery:  Where the  action  is $ (). action () $(). action ()   is  how you perform your action on all of your items   *note:  actions  are stackable   *note:  actions  accept arguments and callbacks  Example:   simple fade in                                      $ ( "a" ). fadeIn (); hide, then fade in all anchor tags        $ ( "a" ). hide (). fadeIn (); fade in all anchor tags w/ callback      $ ( "a" ). fadeIn ( 'slow' ,  function (){});
jQuery:  Moving pictures $ (). animate () $(). animate () ;   the key aspect of this function is the object of style properties that will be animated, and to what end.  Animation: Animated effects can be controlled further and customized using jQuery's  $ (). animate ();  method // fade in: same as   $ (). fadeIn ();           $ ( "a" ). animate (      {          "opacity" :1      },      {          "duration" :500      } );    // fade in, change dimensions, left position add a callback  $ ( "a" ). animate (      {            "opacity" :1,          "height" :500,          "width" :400,          "left" :250       },      {          "duration" :500,          "complete" : function (){}       } );
jQuery:  per- form -ing relationship $ ( ":input" ) Collect all your form input fields in one step:  $ ( ":input" )   *more refined selects are available Example:   collect only checkboxes                        $ ( ":checkbox" ); collect only hidden inputs                      $ ( ":hidden" ); collect only text inputs + iterate             $ ( ":text" );

Recommended for you

Wordcamp abq cf-cpt
Wordcamp abq cf-cptWordcamp abq cf-cpt
Wordcamp abq cf-cpt

WordCamp ABQ presentation on WordPress Custom Post Types, Custom Fields and altering TinyMCE Editor to create a powerful flexible CMS.

wordpresswordcamp albuquerque
Learn javascript easy steps
Learn javascript easy stepsLearn javascript easy steps
Learn javascript easy steps

JavaScript is an object-based scripting language used to add interactivity to web pages in browsers by manipulating HTML objects and handling events. It was originally developed at Netscape to enable dynamic and interactive pages but is now supported by all major browsers. The document provides an overview of JavaScript objects, events, and how to get started using it with HTML.

learn javascript easy stepsjavascripthtml 5 easy learn
Pragmatics of Declarative Ajax
Pragmatics of Declarative AjaxPragmatics of Declarative Ajax
Pragmatics of Declarative Ajax

The document discusses declarative approaches to building user interfaces, which focus on describing what user interface elements to display rather than how to display them. Declarative languages allow for easier design, reuse, and sharing of information compared to imperative languages. Some challenges of declarative approaches include cross-browser compatibility issues and a lack of support for certain features in some browsers.

jQuery:  In the  event  of... events jQuery's event system normalizes the event object according to W3C standards. The event object is guaranteed to be passed to the event handler.   *2 approaches exist, direct event, and binding event listeners Example:   perform a click                     $ ( "a" ). click ( function (){ alert ( 'you clinked' )});  bind a click                           $ ( "a" ). bind ( 'click' ,  function (){ alert ( 'you clinked' )}); call that event                      $ ( "a" ). trigger ( 'click' );  // calls #2 unbind that event                 $ ( "a" ). unbind ( 'click' );   *jQuery currently has support for over 39 different events! and that's just the core 
jQuery:  Are you  ready ? events: ready One of the more important events listener / broadcasters that jQuery support is the  ready  event. It truly is about being prepared, and  ready  will tell you when!   Example:   document                     $ ( document ). ready ( function (){ // ready when you are  });  shorthand                     $ ( function (){ // ready when you are  });
jQuery:  extensions : your deadline needn't one $ . extend () Extend one object with one or more others, returning the original, modified, object.   *hang on, this is how jQuery's core works, so...   Let's extend jQuery! // we need an extension that will bold all selected objects $ . extend (      {          bold :  function (obj)          {              $ (obj).each(                  function ()                  {                       $ ( this ). css ({ "font-weight" : "bold" });                  }               )           }      }  ) // usage  $ . bold ( "a" );
jQuery:  express -ions: faster and simpler  $ . expr () We can use  $ . extend  also to extend other objects defined inside of jQuery, eg. to add new selectors:    *hang on, this is how jQuery's core works, so... We've already seen, and used some of jQuery's extension expression method:   $ ( ":input" )   Let's express with jQuery! // we need an expression (filter) that will find all selected objects that are bold  $ . extend (    $ . expr [ ':' ],    {       bold: function (arg)       {         return ( $ (arg). css ( "font-weight" ) ===  "bold" )        }    } ) //usage $ ( ":bold" )

Recommended for you

Fundamental JavaScript [In Control 2009]
Fundamental JavaScript [In Control 2009]Fundamental JavaScript [In Control 2009]
Fundamental JavaScript [In Control 2009]

In this session, Aaron Gustafson introduces attendees to the client-side scripting language known as JavaScript. After being taken on a quick tour through the language's features and syntax, attendees will be introduced through a series of examples to ways in which JavaScript can progressively enhance the user experience and really make their designs sing. This session also introduces attendees to several JavaScript libraries and demonstrate how to execute the same task in each.

enhancementyuiprogressive
Architecture | Busy Java Developers Guide to NoSQL | Ted Neward
Architecture | Busy Java Developers Guide to NoSQL | Ted NewardArchitecture | Busy Java Developers Guide to NoSQL | Ted Neward
Architecture | Busy Java Developers Guide to NoSQL | Ted Neward

2011-11-02 | 03:45 PM - 04:35 PM | The NoSQL movement has stormed onto the development scene, and it’s left a few developers scratching their heads, trying to figure out when to use a NoSQL database instead of a regular database, much less which NoSQL database to use. In this session, we’ll examine the NoSQL ecosystem, look at the major players, how the compare and contrast, and what sort of architectural implications they have for software systems in general.

jaxjax londonnosql
Java script
Java scriptJava script
Java script

This document provides an overview of JavaScript fundamentals including a brief history of JavaScript, its uses, language features, inclusion of scripts in HTML documents, and the JavaScript object model. It discusses the window object and properties like location, frames, history. It also covers variables and data types, operators, control structures, arrays, functions, and communicating with the user through prompts, alerts and changing the status bar.

event handlingdisabling eventjavascript
jQuery:  AJAX  - fast data  $ . ajax () jQuery's  $ . ajax  provides a rich and robust method for handling data transport and manipulation. In addition to the low-level  $ . ajax  ( read:   more control ) method, we also have available to use high-level ( read:   quick and dirty ) methods as well, including:  $ . load,  $ . get  and   $ . post Let's take a look! // newsletter opt-in subscriber $ . ajax ( {      url : "http://someurl.com/newsletter.php" ,      cache : false ,      data :{action: "subscribe" ,email: "eugene.andruszczenko@gmail.com" ,name: "eugene" },      dataType : "json" ,     // [xml, html, script, json, jsonp, text]      type : "POST" ,         // [POST, GET, PUT, DELETE]      success :function(response)      {          // response is the data returned: in this case it will be expecting  json  data          // {success:true|false}                },      error :function()      {          // something went wrong!!!      } } )
libraries:  Rapid Development Cheaper, Better & Faster     The case used to be pick two of the above! You can't have all three. Until now!!!   javscript. library  =  { cheaper : true ,  better : true ,  faster : true } This holds true for being able to develop through the use of javascript libraries on the front end. Most common example: Typically in project estimation, there is still a fundamental amount of custom code that needs to be written and allotted for. In addition to that, the time is typically shortened through the process of not deliberating if the project will make use of a javascript library to leverage for your project development, but rather which one!!! As with other development languages, libraries for those languages will create a unified base for developers at all tiers of the projects   backend. developer  <=>  middleware. developer  <=>  frontend. developer
libraries:  Proof of Concept POC not POS     Don't throw away those prototype builds!!!   javscript. library  >>   POC   >>   Production This holds true for being able to develop through the use of javascript libraries on the front end. Most common example: Typically in project estimation, there is still a fundamental amount of custom code that needs to be written and allotted for. In addition to that, the time is typically shortened through the process of not deliberating if the project will make use of a javascript library to leverage for your project development, but rather which one!!! As with other development languages, libraries for those languages will create a unified base for developers at all tiers of the projects   backend. developer  <=>  middleware. developer  <=>  frontend. developer
libraries:  Studio Approach Easy to interpret     Through exposure and usage, a common language  (code & spoken)  will typically evolve within any size of given studio where developers, designer and the like work together on projects   designer . idea  =  developer . code  =   client .satisfaction Communication barriers fall and ideas blossom as to the handling of effects, motion, manipulation. If you are a  designer , how many times have you asked something similar to:  Can't you just make it slide up and fade at the same time?   If you are a  designer , how many times have you been asked similarly:  Make it slide up and fade at the same time? With the most common functionality already handled by most javascript framework, the guess work, browser compliance, backwards compatibility...    ...big list of client requirements  (are you still paying attention) ...    ...these now become and extension of your code without deteriorating the core intentions

Recommended for you

Javascript and Jquery Best practices
Javascript and Jquery Best practicesJavascript and Jquery Best practices
Javascript and Jquery Best practices

Jquery and JavaScript Best practices and Tips and tricks Cheat-sheet. This presentation very helpful for web developer.

tips & tricksjquerycheatsheet
Java scripts
Java scriptsJava scripts
Java scripts

JavaScript events allow code to run in response to user actions or changes to the document. Common events include onclick which fires when the user clicks an element, and onload which fires when a page finishes loading. JavaScript code is associated with events using HTML event handler attributes or by registering event listeners in the code. Events help make pages dynamic and interactive by triggering JavaScript functions in response to user input.

javascript
Scripting The Dom
Scripting The DomScripting The Dom
Scripting The Dom

This document provides an overview of how to script the DOM using JavaScript. It discusses how the browser parses HTML into a DOM tree, with the window and document objects being the root nodes. It then explains how to access and manipulate DOM elements using the body, JavaScript functions, and events. Finally, it covers creating custom objects and namespacing in JavaScript.

libraries:  ROI Return on Investment   Othe than the $ being standard notation for both jQuery and Prototype there is it's literal interpretation...   ...$ the dollar sign!!!   javscript. library  =  { free : true ,  margin : true ,  profit : true } How it's done! Under both MIT and GPL licenses. This means that you can choose the license that best suits your project, and use it accordingly. Learning is easy! Both libraries leverage HTML and CSS (Cascading Style Sheets) knowledge as a stepping stone into javascript library usage. Getting your feet wet does not require expert knowledge of javascript. Additionally, these libraries provide a  framework unification  of  CSS, DOM (document object model) and javascript , providing and enabling even non developers to create proof of concept work! Recently javascript library support has been introduced in Adobe's Dreamweaver CS3 (through extensions) and is fully supported in CS4. Pick your library, highlight your object, pick your action(), done! Code hinting and coloring also supported.
libraries:  Out of the basement Real world libraries, Real world clients   Tech Google BIM Dell Intel AOL Oracle News BBC NBC BusinessWeek Newsweek Reuturs CBS News Sales|Services NBC Amazon NetFlix SalesForce Dominos US Airways Prototype jQuery Tech Apple Tivo NASA Microsoft  News NBC CNN.com ESPN Globe and Mail Sales|Services eBay H&M Sony DropSend Other Ruby on Rails
Thanks:  So long and thanks for all the  $ $ . thanks () The obligatory (often overlooked) thank you page   *copy, paste, and run!   // we need an extension that will bold all selected objects <script src=&quot;http://jqueryjs.googlecode.com/files/jquery-1.2.3.min.js&quot; type=&quot;text/javascript&quot;></script>     <script> $.extend(     {         thanks:function(obj){$(obj).each(function(i){             var text    = this.toString();             setTimeout(function(){var li    = $(document.createElement(&quot;li&quot;));li.text(text).hide().fadeIn('slow');$(&quot;body&quot;).append(li);},(i * 1000))         })}     } );          $(document).ready(function(){     $.thanks(         [&quot;refresh events&quot;, &quot;justin kuzoch&quot;,    &quot;centre for social innovation&quot;,    &quot;YOU&quot;]     )         }) </script> <body><h1>big thanks to:</h1></body>

More Related Content

What's hot

jQuery Anti-Patterns for Performance & Compression
jQuery Anti-Patterns for Performance & CompressionjQuery Anti-Patterns for Performance & Compression
jQuery Anti-Patterns for Performance & Compression
Paul Irish
 
JavaScript Needn't Hurt!
JavaScript Needn't Hurt!JavaScript Needn't Hurt!
JavaScript Needn't Hurt!
Thomas Kjeldahl Nilsson
 
Lecture 3 Javascript1
Lecture 3  Javascript1Lecture 3  Javascript1
Lecture 3 Javascript1
Sur College of Applied Sciences
 
Jquery 1
Jquery 1Jquery 1
WordCamp ABQ 2013: Making the leap from Designer to Designer/Developer
WordCamp ABQ 2013: Making the leap from Designer to Designer/DeveloperWordCamp ABQ 2013: Making the leap from Designer to Designer/Developer
WordCamp ABQ 2013: Making the leap from Designer to Designer/Developer
my easel
 
AJAX Workshop Notes
AJAX Workshop NotesAJAX Workshop Notes
AJAX Workshop Notes
Pamela Fox
 
Wordcamp abq cf-cpt
Wordcamp abq cf-cptWordcamp abq cf-cpt
Wordcamp abq cf-cpt
my easel
 
Learn javascript easy steps
Learn javascript easy stepsLearn javascript easy steps
Learn javascript easy steps
prince Loffar
 
Pragmatics of Declarative Ajax
Pragmatics of Declarative AjaxPragmatics of Declarative Ajax
Pragmatics of Declarative Ajax
davejohnson
 
Fundamental JavaScript [In Control 2009]
Fundamental JavaScript [In Control 2009]Fundamental JavaScript [In Control 2009]
Fundamental JavaScript [In Control 2009]
Aaron Gustafson
 
Architecture | Busy Java Developers Guide to NoSQL | Ted Neward
Architecture | Busy Java Developers Guide to NoSQL | Ted NewardArchitecture | Busy Java Developers Guide to NoSQL | Ted Neward
Architecture | Busy Java Developers Guide to NoSQL | Ted Neward
JAX London
 
Java script
Java scriptJava script
Java script
Soham Sengupta
 
Javascript and Jquery Best practices
Javascript and Jquery Best practicesJavascript and Jquery Best practices
Javascript and Jquery Best practices
Sultan Khan
 
Java scripts
Java scriptsJava scripts
Java scripts
Capgemini India
 
Scripting The Dom
Scripting The DomScripting The Dom
Scripting The Dom
Ara Pehlivanian
 
Rich faces
Rich facesRich faces
Rich faces
BG Java EE Course
 
jQuery introduction
jQuery introductionjQuery introduction
jQuery introduction
Tomi Juhola
 
Basics java scripts
Basics java scriptsBasics java scripts
Basics java scripts
ch samaram
 
Qpsmtpd
QpsmtpdQpsmtpd
Qpsmtpd
Fred Moyer
 
Introduction to Prototype JS Framework
Introduction to Prototype JS FrameworkIntroduction to Prototype JS Framework
Introduction to Prototype JS Framework
Mohd Imran
 

What's hot (20)

jQuery Anti-Patterns for Performance & Compression
jQuery Anti-Patterns for Performance & CompressionjQuery Anti-Patterns for Performance & Compression
jQuery Anti-Patterns for Performance & Compression
 
JavaScript Needn't Hurt!
JavaScript Needn't Hurt!JavaScript Needn't Hurt!
JavaScript Needn't Hurt!
 
Lecture 3 Javascript1
Lecture 3  Javascript1Lecture 3  Javascript1
Lecture 3 Javascript1
 
Jquery 1
Jquery 1Jquery 1
Jquery 1
 
WordCamp ABQ 2013: Making the leap from Designer to Designer/Developer
WordCamp ABQ 2013: Making the leap from Designer to Designer/DeveloperWordCamp ABQ 2013: Making the leap from Designer to Designer/Developer
WordCamp ABQ 2013: Making the leap from Designer to Designer/Developer
 
AJAX Workshop Notes
AJAX Workshop NotesAJAX Workshop Notes
AJAX Workshop Notes
 
Wordcamp abq cf-cpt
Wordcamp abq cf-cptWordcamp abq cf-cpt
Wordcamp abq cf-cpt
 
Learn javascript easy steps
Learn javascript easy stepsLearn javascript easy steps
Learn javascript easy steps
 
Pragmatics of Declarative Ajax
Pragmatics of Declarative AjaxPragmatics of Declarative Ajax
Pragmatics of Declarative Ajax
 
Fundamental JavaScript [In Control 2009]
Fundamental JavaScript [In Control 2009]Fundamental JavaScript [In Control 2009]
Fundamental JavaScript [In Control 2009]
 
Architecture | Busy Java Developers Guide to NoSQL | Ted Neward
Architecture | Busy Java Developers Guide to NoSQL | Ted NewardArchitecture | Busy Java Developers Guide to NoSQL | Ted Neward
Architecture | Busy Java Developers Guide to NoSQL | Ted Neward
 
Java script
Java scriptJava script
Java script
 
Javascript and Jquery Best practices
Javascript and Jquery Best practicesJavascript and Jquery Best practices
Javascript and Jquery Best practices
 
Java scripts
Java scriptsJava scripts
Java scripts
 
Scripting The Dom
Scripting The DomScripting The Dom
Scripting The Dom
 
Rich faces
Rich facesRich faces
Rich faces
 
jQuery introduction
jQuery introductionjQuery introduction
jQuery introduction
 
Basics java scripts
Basics java scriptsBasics java scripts
Basics java scripts
 
Qpsmtpd
QpsmtpdQpsmtpd
Qpsmtpd
 
Introduction to Prototype JS Framework
Introduction to Prototype JS FrameworkIntroduction to Prototype JS Framework
Introduction to Prototype JS Framework
 

Similar to Eugene Andruszczenko: jQuery

jQuery Fundamentals
jQuery FundamentalsjQuery Fundamentals
jQuery Fundamentals
Doncho Minkov
 
J Query Presentation
J Query PresentationJ Query Presentation
J Query Presentation
Vishal Kumar
 
J Query
J QueryJ Query
J Query
ravinxg
 
Introduction to JQuery
Introduction to JQueryIntroduction to JQuery
Introduction to JQuery
MobME Technical
 
JQuery: Introduction
JQuery: IntroductionJQuery: Introduction
JQuery: Introduction
Amit Kumar Singh
 
jQuery and_drupal
jQuery and_drupaljQuery and_drupal
jQuery and_drupal
BlackCatWeb
 
JavaScript & Dom Manipulation
JavaScript & Dom ManipulationJavaScript & Dom Manipulation
JavaScript & Dom Manipulation
Mohammed Arif
 
eXo SEA - JavaScript Introduction Training
eXo SEA - JavaScript Introduction TrainingeXo SEA - JavaScript Introduction Training
eXo SEA - JavaScript Introduction Training
Hoat Le
 
Intro to jQuery
Intro to jQueryIntro to jQuery
Intro to jQuery
Eric Steinborn
 
JavaScript 2.0 in Dreamweaver CS4
JavaScript 2.0 in Dreamweaver CS4JavaScript 2.0 in Dreamweaver CS4
JavaScript 2.0 in Dreamweaver CS4
alexsaves
 
jQuery
jQueryjQuery
jQuery
Vishwa Mohan
 
Implementing Comet using PHP
Implementing Comet using PHPImplementing Comet using PHP
Implementing Comet using PHP
King Foo
 
Grails Introduction - IJTC 2007
Grails Introduction - IJTC 2007Grails Introduction - IJTC 2007
Grails Introduction - IJTC 2007
Guillaume Laforge
 
jQuery
jQueryjQuery
jQuery Performance Rules
jQuery Performance RulesjQuery Performance Rules
jQuery Performance Rules
nagarajhubli
 
Javascript
JavascriptJavascript
Javascript
mussawir20
 
Advisor Jumpstart: JavaScript
Advisor Jumpstart: JavaScriptAdvisor Jumpstart: JavaScript
Advisor Jumpstart: JavaScript
dominion
 
Jqueryforbeginnersjqueryconference2009 090914063709 Phpapp02
Jqueryforbeginnersjqueryconference2009 090914063709 Phpapp02Jqueryforbeginnersjqueryconference2009 090914063709 Phpapp02
Jqueryforbeginnersjqueryconference2009 090914063709 Phpapp02
careersblog
 
Basics of Ext JS
Basics of Ext JSBasics of Ext JS
Basics of Ext JS
ikhwanhayat
 
ActiveWeb: Chicago Java User Group Presentation
ActiveWeb: Chicago Java User Group PresentationActiveWeb: Chicago Java User Group Presentation
ActiveWeb: Chicago Java User Group Presentation
ipolevoy
 

Similar to Eugene Andruszczenko: jQuery (20)

jQuery Fundamentals
jQuery FundamentalsjQuery Fundamentals
jQuery Fundamentals
 
J Query Presentation
J Query PresentationJ Query Presentation
J Query Presentation
 
J Query
J QueryJ Query
J Query
 
Introduction to JQuery
Introduction to JQueryIntroduction to JQuery
Introduction to JQuery
 
JQuery: Introduction
JQuery: IntroductionJQuery: Introduction
JQuery: Introduction
 
jQuery and_drupal
jQuery and_drupaljQuery and_drupal
jQuery and_drupal
 
JavaScript & Dom Manipulation
JavaScript & Dom ManipulationJavaScript & Dom Manipulation
JavaScript & Dom Manipulation
 
eXo SEA - JavaScript Introduction Training
eXo SEA - JavaScript Introduction TrainingeXo SEA - JavaScript Introduction Training
eXo SEA - JavaScript Introduction Training
 
Intro to jQuery
Intro to jQueryIntro to jQuery
Intro to jQuery
 
JavaScript 2.0 in Dreamweaver CS4
JavaScript 2.0 in Dreamweaver CS4JavaScript 2.0 in Dreamweaver CS4
JavaScript 2.0 in Dreamweaver CS4
 
jQuery
jQueryjQuery
jQuery
 
Implementing Comet using PHP
Implementing Comet using PHPImplementing Comet using PHP
Implementing Comet using PHP
 
Grails Introduction - IJTC 2007
Grails Introduction - IJTC 2007Grails Introduction - IJTC 2007
Grails Introduction - IJTC 2007
 
jQuery
jQueryjQuery
jQuery
 
jQuery Performance Rules
jQuery Performance RulesjQuery Performance Rules
jQuery Performance Rules
 
Javascript
JavascriptJavascript
Javascript
 
Advisor Jumpstart: JavaScript
Advisor Jumpstart: JavaScriptAdvisor Jumpstart: JavaScript
Advisor Jumpstart: JavaScript
 
Jqueryforbeginnersjqueryconference2009 090914063709 Phpapp02
Jqueryforbeginnersjqueryconference2009 090914063709 Phpapp02Jqueryforbeginnersjqueryconference2009 090914063709 Phpapp02
Jqueryforbeginnersjqueryconference2009 090914063709 Phpapp02
 
Basics of Ext JS
Basics of Ext JSBasics of Ext JS
Basics of Ext JS
 
ActiveWeb: Chicago Java User Group Presentation
ActiveWeb: Chicago Java User Group PresentationActiveWeb: Chicago Java User Group Presentation
ActiveWeb: Chicago Java User Group Presentation
 

More from Refresh Events

Tamera Kremer - The Social Tools Won't Save You
Tamera Kremer - The Social Tools Won't Save YouTamera Kremer - The Social Tools Won't Save You
Tamera Kremer - The Social Tools Won't Save You
Refresh Events
 
Aubrey Podolsky - Sysomos' Social Media Tools and How To Use Them
Aubrey Podolsky - Sysomos' Social Media Tools and How To Use ThemAubrey Podolsky - Sysomos' Social Media Tools and How To Use Them
Aubrey Podolsky - Sysomos' Social Media Tools and How To Use Them
Refresh Events
 
Lynette Latinsky - Can Lunch Be On Me Today?
Lynette Latinsky - Can Lunch Be On Me Today?Lynette Latinsky - Can Lunch Be On Me Today?
Lynette Latinsky - Can Lunch Be On Me Today?
Refresh Events
 
Michael Burke
Michael BurkeMichael Burke
Michael Burke
Refresh Events
 
Tim Scollick - Flex, Seo And You
Tim Scollick - Flex, Seo And YouTim Scollick - Flex, Seo And You
Tim Scollick - Flex, Seo And You
Refresh Events
 
Joshua Wehner - Tomorrows Programming Languages Today
Joshua Wehner - Tomorrows Programming Languages TodayJoshua Wehner - Tomorrows Programming Languages Today
Joshua Wehner - Tomorrows Programming Languages Today
Refresh Events
 
Colin Bowern - The Not So Scary Side Of Asp.Net – Model View Controller In Th...
Colin Bowern - The Not So Scary Side Of Asp.Net – Model View Controller In Th...Colin Bowern - The Not So Scary Side Of Asp.Net – Model View Controller In Th...
Colin Bowern - The Not So Scary Side Of Asp.Net – Model View Controller In Th...
Refresh Events
 
Ben Vinegar - 5 Tips For Better Javascript Applications
Ben Vinegar - 5 Tips For Better Javascript ApplicationsBen Vinegar - 5 Tips For Better Javascript Applications
Ben Vinegar - 5 Tips For Better Javascript Applications
Refresh Events
 
Jonathan Dunn - Talking You Down from the Bleeding Edge
Jonathan Dunn - Talking You Down from the Bleeding EdgeJonathan Dunn - Talking You Down from the Bleeding Edge
Jonathan Dunn - Talking You Down from the Bleeding Edge
Refresh Events
 
Justin Kozuch - Lessons Learned In Community Building
Justin Kozuch - Lessons Learned In Community BuildingJustin Kozuch - Lessons Learned In Community Building
Justin Kozuch - Lessons Learned In Community Building
Refresh Events
 
Jenmy Huynh - Finding Opportunities
Jenmy Huynh - Finding OpportunitiesJenmy Huynh - Finding Opportunities
Jenmy Huynh - Finding Opportunities
Refresh Events
 
Adil Dhalla - My City Lives
Adil Dhalla - My City LivesAdil Dhalla - My City Lives
Adil Dhalla - My City Lives
Refresh Events
 
Andy Walker - Little Geeks Foundation
Andy Walker - Little Geeks FoundationAndy Walker - Little Geeks Foundation
Andy Walker - Little Geeks Foundation
Refresh Events
 
Satish Kanwar - Entrepreneur Versus Employee
Satish Kanwar - Entrepreneur Versus EmployeeSatish Kanwar - Entrepreneur Versus Employee
Satish Kanwar - Entrepreneur Versus Employee
Refresh Events
 
Jason Schneider - What The Font?
Jason Schneider - What The Font?Jason Schneider - What The Font?
Jason Schneider - What The Font?
Refresh Events
 
Dre Labre - The Game Of Opposites
Dre Labre - The Game Of OppositesDre Labre - The Game Of Opposites
Dre Labre - The Game Of Opposites
Refresh Events
 
Evelyn So - A Few Social Media Stories
Evelyn So - A Few Social Media StoriesEvelyn So - A Few Social Media Stories
Evelyn So - A Few Social Media Stories
Refresh Events
 
Daniel Patricio: I Hope Mobile Kills Advertising
Daniel Patricio: I Hope Mobile Kills AdvertisingDaniel Patricio: I Hope Mobile Kills Advertising
Daniel Patricio: I Hope Mobile Kills Advertising
Refresh Events
 
Tom Purves: Designing for An Augmented Reality World
Tom Purves: Designing for An Augmented Reality WorldTom Purves: Designing for An Augmented Reality World
Tom Purves: Designing for An Augmented Reality World
Refresh Events
 
Jason Sadler: I Wear Your Shirt
Jason Sadler: I Wear Your ShirtJason Sadler: I Wear Your Shirt
Jason Sadler: I Wear Your Shirt
Refresh Events
 

More from Refresh Events (20)

Tamera Kremer - The Social Tools Won't Save You
Tamera Kremer - The Social Tools Won't Save YouTamera Kremer - The Social Tools Won't Save You
Tamera Kremer - The Social Tools Won't Save You
 
Aubrey Podolsky - Sysomos' Social Media Tools and How To Use Them
Aubrey Podolsky - Sysomos' Social Media Tools and How To Use ThemAubrey Podolsky - Sysomos' Social Media Tools and How To Use Them
Aubrey Podolsky - Sysomos' Social Media Tools and How To Use Them
 
Lynette Latinsky - Can Lunch Be On Me Today?
Lynette Latinsky - Can Lunch Be On Me Today?Lynette Latinsky - Can Lunch Be On Me Today?
Lynette Latinsky - Can Lunch Be On Me Today?
 
Michael Burke
Michael BurkeMichael Burke
Michael Burke
 
Tim Scollick - Flex, Seo And You
Tim Scollick - Flex, Seo And YouTim Scollick - Flex, Seo And You
Tim Scollick - Flex, Seo And You
 
Joshua Wehner - Tomorrows Programming Languages Today
Joshua Wehner - Tomorrows Programming Languages TodayJoshua Wehner - Tomorrows Programming Languages Today
Joshua Wehner - Tomorrows Programming Languages Today
 
Colin Bowern - The Not So Scary Side Of Asp.Net – Model View Controller In Th...
Colin Bowern - The Not So Scary Side Of Asp.Net – Model View Controller In Th...Colin Bowern - The Not So Scary Side Of Asp.Net – Model View Controller In Th...
Colin Bowern - The Not So Scary Side Of Asp.Net – Model View Controller In Th...
 
Ben Vinegar - 5 Tips For Better Javascript Applications
Ben Vinegar - 5 Tips For Better Javascript ApplicationsBen Vinegar - 5 Tips For Better Javascript Applications
Ben Vinegar - 5 Tips For Better Javascript Applications
 
Jonathan Dunn - Talking You Down from the Bleeding Edge
Jonathan Dunn - Talking You Down from the Bleeding EdgeJonathan Dunn - Talking You Down from the Bleeding Edge
Jonathan Dunn - Talking You Down from the Bleeding Edge
 
Justin Kozuch - Lessons Learned In Community Building
Justin Kozuch - Lessons Learned In Community BuildingJustin Kozuch - Lessons Learned In Community Building
Justin Kozuch - Lessons Learned In Community Building
 
Jenmy Huynh - Finding Opportunities
Jenmy Huynh - Finding OpportunitiesJenmy Huynh - Finding Opportunities
Jenmy Huynh - Finding Opportunities
 
Adil Dhalla - My City Lives
Adil Dhalla - My City LivesAdil Dhalla - My City Lives
Adil Dhalla - My City Lives
 
Andy Walker - Little Geeks Foundation
Andy Walker - Little Geeks FoundationAndy Walker - Little Geeks Foundation
Andy Walker - Little Geeks Foundation
 
Satish Kanwar - Entrepreneur Versus Employee
Satish Kanwar - Entrepreneur Versus EmployeeSatish Kanwar - Entrepreneur Versus Employee
Satish Kanwar - Entrepreneur Versus Employee
 
Jason Schneider - What The Font?
Jason Schneider - What The Font?Jason Schneider - What The Font?
Jason Schneider - What The Font?
 
Dre Labre - The Game Of Opposites
Dre Labre - The Game Of OppositesDre Labre - The Game Of Opposites
Dre Labre - The Game Of Opposites
 
Evelyn So - A Few Social Media Stories
Evelyn So - A Few Social Media StoriesEvelyn So - A Few Social Media Stories
Evelyn So - A Few Social Media Stories
 
Daniel Patricio: I Hope Mobile Kills Advertising
Daniel Patricio: I Hope Mobile Kills AdvertisingDaniel Patricio: I Hope Mobile Kills Advertising
Daniel Patricio: I Hope Mobile Kills Advertising
 
Tom Purves: Designing for An Augmented Reality World
Tom Purves: Designing for An Augmented Reality WorldTom Purves: Designing for An Augmented Reality World
Tom Purves: Designing for An Augmented Reality World
 
Jason Sadler: I Wear Your Shirt
Jason Sadler: I Wear Your ShirtJason Sadler: I Wear Your Shirt
Jason Sadler: I Wear Your Shirt
 

Recently uploaded

How Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdfHow Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdf
HackersList
 
Best Programming Language for Civil Engineers
Best Programming Language for Civil EngineersBest Programming Language for Civil Engineers
Best Programming Language for Civil Engineers
Awais Yaseen
 
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Erasmo Purificato
 
Measuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at TwitterMeasuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at Twitter
ScyllaDB
 
UiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs ConferenceUiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs Conference
UiPathCommunity
 
The Rise of Supernetwork Data Intensive Computing
The Rise of Supernetwork Data Intensive ComputingThe Rise of Supernetwork Data Intensive Computing
The Rise of Supernetwork Data Intensive Computing
Larry Smarr
 
Calgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptxCalgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptx
ishalveerrandhawa1
 
Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...
BookNet Canada
 
How RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptxHow RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptx
SynapseIndia
 
The Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU CampusesThe Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU Campuses
Larry Smarr
 
Research Directions for Cross Reality Interfaces
Research Directions for Cross Reality InterfacesResearch Directions for Cross Reality Interfaces
Research Directions for Cross Reality Interfaces
Mark Billinghurst
 
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Bert Blevins
 
Quantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLMQuantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLM
Vijayananda Mohire
 
20240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 202420240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 2024
Matthew Sinclair
 
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALLBLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
Liveplex
 
20240702 Présentation Plateforme GenAI.pdf
20240702 Présentation Plateforme GenAI.pdf20240702 Présentation Plateforme GenAI.pdf
20240702 Présentation Plateforme GenAI.pdf
Sally Laouacheria
 
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly DetectionAdvanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Bert Blevins
 
論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...
論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...
論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...
Toru Tamaki
 
Comparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdfComparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdf
Andrey Yasko
 
Best Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdfBest Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdf
Tatiana Al-Chueyr
 

Recently uploaded (20)

How Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdfHow Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdf
 
Best Programming Language for Civil Engineers
Best Programming Language for Civil EngineersBest Programming Language for Civil Engineers
Best Programming Language for Civil Engineers
 
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
 
Measuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at TwitterMeasuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at Twitter
 
UiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs ConferenceUiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs Conference
 
The Rise of Supernetwork Data Intensive Computing
The Rise of Supernetwork Data Intensive ComputingThe Rise of Supernetwork Data Intensive Computing
The Rise of Supernetwork Data Intensive Computing
 
Calgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptxCalgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptx
 
Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...
 
How RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptxHow RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptx
 
The Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU CampusesThe Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU Campuses
 
Research Directions for Cross Reality Interfaces
Research Directions for Cross Reality InterfacesResearch Directions for Cross Reality Interfaces
Research Directions for Cross Reality Interfaces
 
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
 
Quantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLMQuantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLM
 
20240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 202420240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 2024
 
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALLBLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
 
20240702 Présentation Plateforme GenAI.pdf
20240702 Présentation Plateforme GenAI.pdf20240702 Présentation Plateforme GenAI.pdf
20240702 Présentation Plateforme GenAI.pdf
 
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly DetectionAdvanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
 
論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...
論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...
論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...
 
Comparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdfComparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdf
 
Best Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdfBest Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdf
 

Eugene Andruszczenko: jQuery

  • 1. javascript libraries: jQuery and Prototype
  • 2. jQuery: Introduction &quot;jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development .&quot; jquery.com  
  • 3. jQuery: A little less information &quot;The Write Less, Do More , Javascript Library&quot; jquery.com   Lightweight Footprint CSS3 Compliant Cross-Browser Compliant
  • 4. jQuery: A business approach Open License   jQuery is currently available for use in all personal or commercial projects under both MIT and GPL licenses. This means that you can choose the license that best suits your project, and use it accordingly.   Ongoing Refinement   jQuery has 5 core teams that  Development Team Evangelist Team jQuery UI Team Plugins Team Web and Design Team   jQuery has an additional unofficial team The web community jQuery extension authors 3rd party contributors You!
  • 5. jQuery: Show me the money $ The dollar sign ($) is your first step in talking to jQuery   The basics:   CSS selectors           $ ( &quot;.className&quot; ); DOM selectors          $ ( &quot;a&quot; ); classes, methods      $ . fn ();
  • 6. jQuery: Where the action is $ (). action () $(). action () is how you perform your action on all of your items   *note: actions are stackable   *note: actions accept arguments and callbacks Example:   simple fade in                                     $ ( &quot;a&quot; ). fadeIn (); hide, then fade in all anchor tags       $ ( &quot;a&quot; ). hide (). fadeIn (); fade in all anchor tags w/ callback     $ ( &quot;a&quot; ). fadeIn ( 'slow' , function (){});
  • 7. jQuery: Moving pictures $ (). animate () $(). animate () ;  the key aspect of this function is the object of style properties that will be animated, and to what end. Animation: Animated effects can be controlled further and customized using jQuery's $ (). animate (); method // fade in: same as  $ (). fadeIn ();         $ ( &quot;a&quot; ). animate (      {          &quot;opacity&quot; :1      },      {          &quot;duration&quot; :500      } );   // fade in, change dimensions, left position add a callback  $ ( &quot;a&quot; ). animate (      {            &quot;opacity&quot; :1,         &quot;height&quot; :500,         &quot;width&quot; :400,         &quot;left&quot; :250      },      {          &quot;duration&quot; :500,         &quot;complete&quot; : function (){}      } );
  • 8. jQuery: per- form -ing relationship $ ( &quot;:input&quot; ) Collect all your form input fields in one step: $ ( &quot;:input&quot; )   *more refined selects are available Example:   collect only checkboxes                       $ ( &quot;:checkbox&quot; ); collect only hidden inputs                     $ ( &quot;:hidden&quot; ); collect only text inputs + iterate            $ ( &quot;:text&quot; );
  • 9. jQuery: In the event of... events jQuery's event system normalizes the event object according to W3C standards. The event object is guaranteed to be passed to the event handler.   *2 approaches exist, direct event, and binding event listeners Example:   perform a click                    $ ( &quot;a&quot; ). click ( function (){ alert ( 'you clinked' )}); bind a click                          $ ( &quot;a&quot; ). bind ( 'click' , function (){ alert ( 'you clinked' )}); call that event                     $ ( &quot;a&quot; ). trigger ( 'click' ); // calls #2 unbind that event                $ ( &quot;a&quot; ). unbind ( 'click' );   *jQuery currently has support for over 39 different events! and that's just the core 
  • 10. jQuery: Are you ready ? events: ready One of the more important events listener / broadcasters that jQuery support is the ready event. It truly is about being prepared, and ready will tell you when!   Example:   document                    $ ( document ). ready ( function (){ // ready when you are }); shorthand                    $ ( function (){ // ready when you are });
  • 11. jQuery: extensions : your deadline needn't one $ . extend () Extend one object with one or more others, returning the original, modified, object.   *hang on, this is how jQuery's core works, so...   Let's extend jQuery! // we need an extension that will bold all selected objects $ . extend (     {         bold : function (obj)          {             $ (obj).each(                 function ()                 {                      $ ( this ). css ({ &quot;font-weight&quot; : &quot;bold&quot; });                  }             )         }     } ) // usage $ . bold ( &quot;a&quot; );
  • 12. jQuery: express -ions: faster and simpler $ . expr () We can use $ . extend also to extend other objects defined inside of jQuery, eg. to add new selectors:   *hang on, this is how jQuery's core works, so... We've already seen, and used some of jQuery's extension expression method: $ ( &quot;:input&quot; )   Let's express with jQuery! // we need an expression (filter) that will find all selected objects that are bold $ . extend (   $ . expr [ ':' ],   {      bold: function (arg)      {        return ( $ (arg). css ( &quot;font-weight&quot; ) === &quot;bold&quot; )      }   } ) //usage $ ( &quot;:bold&quot; )
  • 13. jQuery:  AJAX - fast data $ . ajax () jQuery's $ . ajax provides a rich and robust method for handling data transport and manipulation. In addition to the low-level $ . ajax ( read: more control ) method, we also have available to use high-level ( read: quick and dirty ) methods as well, including: $ . load, $ . get and $ . post Let's take a look! // newsletter opt-in subscriber $ . ajax ( {      url : &quot;http://someurl.com/newsletter.php&quot; ,     cache : false ,     data :{action: &quot;subscribe&quot; ,email: &quot;eugene.andruszczenko@gmail.com&quot; ,name: &quot;eugene&quot; },     dataType : &quot;json&quot; ,     // [xml, html, script, json, jsonp, text]     type : &quot;POST&quot; ,        // [POST, GET, PUT, DELETE]     success :function(response)     {         // response is the data returned: in this case it will be expecting json data         // {success:true|false}              },     error :function()     {         // something went wrong!!!     } } )
  • 14. libraries: Rapid Development Cheaper, Better & Faster   The case used to be pick two of the above! You can't have all three. Until now!!!   javscript. library = { cheaper : true , better : true , faster : true } This holds true for being able to develop through the use of javascript libraries on the front end. Most common example: Typically in project estimation, there is still a fundamental amount of custom code that needs to be written and allotted for. In addition to that, the time is typically shortened through the process of not deliberating if the project will make use of a javascript library to leverage for your project development, but rather which one!!! As with other development languages, libraries for those languages will create a unified base for developers at all tiers of the projects   backend. developer <=> middleware. developer <=> frontend. developer
  • 15. libraries: Proof of Concept POC not POS   Don't throw away those prototype builds!!!   javscript. library >> POC >> Production This holds true for being able to develop through the use of javascript libraries on the front end. Most common example: Typically in project estimation, there is still a fundamental amount of custom code that needs to be written and allotted for. In addition to that, the time is typically shortened through the process of not deliberating if the project will make use of a javascript library to leverage for your project development, but rather which one!!! As with other development languages, libraries for those languages will create a unified base for developers at all tiers of the projects   backend. developer <=> middleware. developer <=> frontend. developer
  • 16. libraries: Studio Approach Easy to interpret   Through exposure and usage, a common language (code & spoken) will typically evolve within any size of given studio where developers, designer and the like work together on projects   designer . idea = developer . code = client .satisfaction Communication barriers fall and ideas blossom as to the handling of effects, motion, manipulation. If you are a designer , how many times have you asked something similar to:  Can't you just make it slide up and fade at the same time?   If you are a designer , how many times have you been asked similarly:  Make it slide up and fade at the same time? With the most common functionality already handled by most javascript framework, the guess work, browser compliance, backwards compatibility...    ...big list of client requirements (are you still paying attention) ...   ...these now become and extension of your code without deteriorating the core intentions
  • 17. libraries: ROI Return on Investment   Othe than the $ being standard notation for both jQuery and Prototype there is it's literal interpretation...   ...$ the dollar sign!!!   javscript. library = { free : true , margin : true , profit : true } How it's done! Under both MIT and GPL licenses. This means that you can choose the license that best suits your project, and use it accordingly. Learning is easy! Both libraries leverage HTML and CSS (Cascading Style Sheets) knowledge as a stepping stone into javascript library usage. Getting your feet wet does not require expert knowledge of javascript. Additionally, these libraries provide a framework unification of CSS, DOM (document object model) and javascript , providing and enabling even non developers to create proof of concept work! Recently javascript library support has been introduced in Adobe's Dreamweaver CS3 (through extensions) and is fully supported in CS4. Pick your library, highlight your object, pick your action(), done! Code hinting and coloring also supported.
  • 18. libraries: Out of the basement Real world libraries, Real world clients Tech Google BIM Dell Intel AOL Oracle News BBC NBC BusinessWeek Newsweek Reuturs CBS News Sales|Services NBC Amazon NetFlix SalesForce Dominos US Airways Prototype jQuery Tech Apple Tivo NASA Microsoft News NBC CNN.com ESPN Globe and Mail Sales|Services eBay H&M Sony DropSend Other Ruby on Rails
  • 19. Thanks: So long and thanks for all the $ $ . thanks () The obligatory (often overlooked) thank you page   *copy, paste, and run!   // we need an extension that will bold all selected objects <script src=&quot;http://jqueryjs.googlecode.com/files/jquery-1.2.3.min.js&quot; type=&quot;text/javascript&quot;></script>     <script> $.extend(     {         thanks:function(obj){$(obj).each(function(i){             var text    = this.toString();             setTimeout(function(){var li    = $(document.createElement(&quot;li&quot;));li.text(text).hide().fadeIn('slow');$(&quot;body&quot;).append(li);},(i * 1000))         })}     } );         $(document).ready(function(){     $.thanks(         [&quot;refresh events&quot;, &quot;justin kuzoch&quot;,    &quot;centre for social innovation&quot;,    &quot;YOU&quot;]     )        }) </script> <body><h1>big thanks to:</h1></body>

Editor's Notes

  1. Welcome and introduction