SlideShare une entreprise Scribd logo
1  sur  19
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 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
jQuery:  Show me the  money $ ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
jQuery:  Where the  action  is $ (). action () ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
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" ) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
jQuery:  In the  event  of... events ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
jQuery:  Are you  ready ? events: ready ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
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" )
jQuery:  AJAX  - fast data  $ . ajax () ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
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
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>

Contenu connexe

Tendances

jQuery Anti-Patterns for Performance & Compression
jQuery Anti-Patterns for Performance & CompressionjQuery Anti-Patterns for Performance & Compression
jQuery Anti-Patterns for Performance & CompressionPaul Irish
 
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/Developermy easel
 
AJAX Workshop Notes
AJAX Workshop NotesAJAX Workshop Notes
AJAX Workshop NotesPamela Fox
 
Wordcamp abq cf-cpt
Wordcamp abq cf-cptWordcamp abq cf-cpt
Wordcamp abq cf-cptmy easel
 
Learn javascript easy steps
Learn javascript easy stepsLearn javascript easy steps
Learn javascript easy stepsprince Loffar
 
Pragmatics of Declarative Ajax
Pragmatics of Declarative AjaxPragmatics of Declarative Ajax
Pragmatics of Declarative Ajaxdavejohnson
 
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 NewardJAX London
 
Javascript and Jquery Best practices
Javascript and Jquery Best practicesJavascript and Jquery Best practices
Javascript and Jquery Best practicesSultan Khan
 
jQuery introduction
jQuery introductionjQuery introduction
jQuery introductionTomi Juhola
 
Basics java scripts
Basics java scriptsBasics java scripts
Basics java scriptsch samaram
 
Introduction to Prototype JS Framework
Introduction to Prototype JS FrameworkIntroduction to Prototype JS Framework
Introduction to Prototype JS FrameworkMohd Imran
 

Tendances (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
 

Similaire à Eugene Andruszczenko: jQuery

J Query Presentation
J Query PresentationJ Query Presentation
J Query PresentationVishal Kumar
 
jQuery and_drupal
jQuery and_drupaljQuery and_drupal
jQuery and_drupalBlackCatWeb
 
JavaScript & Dom Manipulation
JavaScript & Dom ManipulationJavaScript & Dom Manipulation
JavaScript & Dom ManipulationMohammed Arif
 
eXo SEA - JavaScript Introduction Training
eXo SEA - JavaScript Introduction TrainingeXo SEA - JavaScript Introduction Training
eXo SEA - JavaScript Introduction TrainingHoat Le
 
JavaScript 2.0 in Dreamweaver CS4
JavaScript 2.0 in Dreamweaver CS4JavaScript 2.0 in Dreamweaver CS4
JavaScript 2.0 in Dreamweaver CS4alexsaves
 
Implementing Comet using PHP
Implementing Comet using PHPImplementing Comet using PHP
Implementing Comet using PHPKing Foo
 
Grails Introduction - IJTC 2007
Grails Introduction - IJTC 2007Grails Introduction - IJTC 2007
Grails Introduction - IJTC 2007Guillaume Laforge
 
jQuery Performance Rules
jQuery Performance RulesjQuery Performance Rules
jQuery Performance Rulesnagarajhubli
 
Advisor Jumpstart: JavaScript
Advisor Jumpstart: JavaScriptAdvisor Jumpstart: JavaScript
Advisor Jumpstart: JavaScriptdominion
 
Jqueryforbeginnersjqueryconference2009 090914063709 Phpapp02
Jqueryforbeginnersjqueryconference2009 090914063709 Phpapp02Jqueryforbeginnersjqueryconference2009 090914063709 Phpapp02
Jqueryforbeginnersjqueryconference2009 090914063709 Phpapp02careersblog
 
Basics of Ext JS
Basics of Ext JSBasics of Ext JS
Basics of Ext JSikhwanhayat
 
ActiveWeb: Chicago Java User Group Presentation
ActiveWeb: Chicago Java User Group PresentationActiveWeb: Chicago Java User Group Presentation
ActiveWeb: Chicago Java User Group Presentationipolevoy
 

Similaire à 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
 

Plus de 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 YouRefresh 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 ThemRefresh 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
 
Tim Scollick - Flex, Seo And You
Tim Scollick - Flex, Seo And YouTim Scollick - Flex, Seo And You
Tim Scollick - Flex, Seo And YouRefresh Events
 
Joshua Wehner - Tomorrows Programming Languages Today
Joshua Wehner - Tomorrows Programming Languages TodayJoshua Wehner - Tomorrows Programming Languages Today
Joshua Wehner - Tomorrows Programming Languages TodayRefresh 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 ApplicationsRefresh 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 EdgeRefresh 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 BuildingRefresh Events
 
Jenmy Huynh - Finding Opportunities
Jenmy Huynh - Finding OpportunitiesJenmy Huynh - Finding Opportunities
Jenmy Huynh - Finding OpportunitiesRefresh Events
 
Adil Dhalla - My City Lives
Adil Dhalla - My City LivesAdil Dhalla - My City Lives
Adil Dhalla - My City LivesRefresh Events
 
Andy Walker - Little Geeks Foundation
Andy Walker - Little Geeks FoundationAndy Walker - Little Geeks Foundation
Andy Walker - Little Geeks FoundationRefresh Events
 
Satish Kanwar - Entrepreneur Versus Employee
Satish Kanwar - Entrepreneur Versus EmployeeSatish Kanwar - Entrepreneur Versus Employee
Satish Kanwar - Entrepreneur Versus EmployeeRefresh 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 OppositesRefresh 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 StoriesRefresh 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 AdvertisingRefresh 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 WorldRefresh Events
 
Jason Sadler: I Wear Your Shirt
Jason Sadler: I Wear Your ShirtJason Sadler: I Wear Your Shirt
Jason Sadler: I Wear Your ShirtRefresh Events
 

Plus de 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
 

Dernier

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 

Dernier (20)

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

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.
  • 5.
  • 6.
  • 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.
  • 9.
  • 10.
  • 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.
  • 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>

Notes de l'éditeur

  1. Welcome and introduction