Set 5: Web Development Toolkits IT452 Advanced Web and Internet Systems.

Slides:



Advertisements
Similar presentations
Programming Club IIT Kanpur. Work environment Before you begin coding,always set up your work environment to your needs IDE Notepad++ Sublime Text 2.
Advertisements

CT-376 jQuery Most popular javascript library today Latest version:
JQuery CS 380: Web Programming. What is jQuery? jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling,
ICS 665 Jesse Abdul. jQuery UI Overview  jQuery UI javascript library Includes all UI component functionality  jQuery UI CSS framework Includes standard.
JQuery. What is jQuery? jQuery is a fast, small, and feature-rich JavaScript library that simplifies HTML document traversing and manipulation event handling.
Philly.NET Hands-On jQuery + Plug-ins Bill Wolff, Rob Keiser.
By Ronald Lopez and Bryan Cabalo. Outline jQuery UI overview Animation and special effects Themable widgets Versions and browser compatibility jQuery.
Fundamentals, DOM, Events, AJAX, UI Doncho Minkov Telerik Corporation
Simon Amrein Consultant Trivadis AG What is ASP.NET 4.0 Ajax Ajax Control Toolkit Microsoft Ajax Content Delivery Network jQuery jQuery Client Templates.
Chapter 6 DOJO TOOLKITS. Objectives Discuss XML DOM Discuss JSON Discuss Ajax Response in XML, HTML, JSON, and Other Data Type.
About me I attend the Edina chapter of TechMasters Been a programmer since age 13, sparked by playing video games Currently employed at GMAC as an independent.
Definition from Wikipedia.  The Prototype JavaScript Framework  implemented as a single file of JavaScript code  named prototype.js (
JQuery CS 268. What is jQuery? From their web site:
CHAPTER 12 UNLEASHING JAVASCRIPT USING JQUERY. LEARNING OBJECTIVES How to download the JQuery library. How to integrate the JQuery library into an HTML.
PhpXperts What is jQuery Javascript Library Fast and concise Simplifies the interaction between HTML and JavaScript.
Additional Topics. Tutorial #9 Review – Forms Forms Legend and fieldset Fields Text Password Radio buttons, check box, text area, select lists Buttons.
Set 5: Perl and Database Connections
Nguyen Ich Cuong.  Course duration: 45’  Purpose: Present Introduction to JQuery  Targeted attendees: NICorp Trainee  Tests/quiz: Yes - 10’
JavaScript, jQuery & AJAX. What is JavaScript? An interpreted programming language with object oriented capabilities. Not Java! –Originally called LiveScript,
Key question  What are the three standardized core languages used to implement web pages? Write the full name not the abbreviation and describe the “layer”
By Jon Marozick.  JavaScript toolkit  Aims to change the way developers think  jQuery philosophy  Find some HTML  Do something to it.
Learning & Development Telerik Software Academy.
Homework for October 2011 Nikolay Kostov Telerik Corporation
Set 11: Mashups (emphasis on Google tools) IT452 Advanced Web and Internet Systems.
Yahoo! User Interface (YUI) Library Natly Mekdara.
Day 17. » Client side and Server side » Since PHP is Server side and can output anything we want, we can output to JS. » With JS libraries, we can create.
JQuery March 09 th,2009 Create by
JQuery 10/21. Today jQuery Some cool tools around the web JavaScript Libraries Drawing libraries HTML Frameworks Conventions.
CSS/Photoshop Layouts – Quiz #7 Lecture Code:
13. jQuery See the official documentation at  See the terse API documentation at
Modern JavaScript Develop And Design Instructor’s Notes Chapter 13 - Frameworks Modern JavaScript Design And Develop Copyright © 2012 by Larry Ullman.
© 2012, Mike Murach & Associates, Inc.
JavaScript Framework for Rich Apps in Every Browser Maura Wilder Joan Wortman
Conor Russomanno & Elizabeth Umbrino. A popular free Javascript Library Released in January 2006 At BarCamp, an international network of user-generated.
JQuery Fairway Code Brew. Agenda What is jQuery? No, really, what is it? Show me something cool Why should I use it? Disturbing photo More features FlexBox.
. Taught by: Muhammad Ali Baloch midahot. WHAT IS JQUERY JQuery is a fast, small, and feature-rich JavaScript library. Simplifies the interaction between.
Unleash the Power of jQuery Doncho Minkov Telerik Software Academy academy.telerik.com Senior Technical Trainer
DOM Animation Changing the DOM objects over time.
JQuery Introduction © Copyright 2014, Fred McClurg All Rights Reserved.
Web Foundations WEDNESDAY, NOVEMBER 20, 2013 LECTURE 32: DREAMWEAVER SLIDE SHOW AND GOOGLE MAP.
LOGO sparcs.org 1 jQuery Tutorial Presenter ㅎㅇㅎㅇ.
Unleash the Power of jQuery Learning & Development Team Telerik Software Academy.
JQuery JavaScript is a powerful language but it is not always easy to work with. jQuery is a JavaScript library that helps with: – HTML document traversal.
Web Technologies Lecture 3 Web forms. HTML5 forms A component of a webpage that has form controls – Text fields – Buttons – Checkboxes – Range controls.
JQuery Overview Unleash the Power of jQuery SoftUni Team Technical Trainers Software University
Intro to jQuery. What is jQuery? A JavaScript library Lightweight (about 31KB for the minified version) Simplifies HTML document traversing (DOM), event.
1 What is JQuery. jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax* interactions.
Web Technologies Lecture 8 JQuery. “A fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax.
Understanding JavaScript and Coding Essentials Lesson 8.
Chapter 1 Murach's JavaScript and jQuery, C1© 2012, Mike Murach & Associates, Inc.Slide 1.
CS 490: Computer Graphics Graphics Programming and HTML Canvas.
1 AJAX. AJAX – Whatzit? Asynchronous (content loading)‏ Javascript (logic & control)‏ And XML (request handling)‏
The New Face of ASP.NET ASP.NET MVC, Razor, and jQuery Ido Flatow | Senior Architect | Sela | This session is.
HTML Introduction HTML Editors HTML Basic HTML Elements HTML Attributes HTML Headings HTML Paragraphs HTML Formatting HTML Links HTML Head HTML CSS HTML.
.. WHAT IS JQUERY JQuery is a fast, small, and feature-rich JavaScript library. Simplifies the interaction between HTML and JavaScript. The jQuery library.
CSCI 3100 Tutorial 5 JavaScript & Ajax Jichuan Zeng Department of Computer Science and Engineering The Chinese University of Hong.
Shaun Geisert Matt Trice. What is jQuery?  Open source Javascript library/framework Created by John Resig  Their tagline – “The Write Less, Do More.
JQuery.
What is jQuery?.
Tek Raj Chhetri Code for Humans not for machine.
Intro to jQuery jQuery is a popular, and extensible, JavaScript library Supports … DOM manipulation CSS manipulation HTML event methods Effects & animations.
Fundamentals, DOM, Events, AJAX, UI
JQuery with ASP.NET.
Master a Skill / Learn for Life
HTML5 Course Review Master a Skill / Learn for Life.
Master a Skill / Learn for Life
Web Programming and Design
Web Programming and Design
Presentation transcript:

Set 5: Web Development Toolkits IT452 Advanced Web and Internet Systems

Why Use a Toolkit? Choices –jQuery –Yahoo! UI Library (YUI) developer.yahoo.com/yui –Google Web Toolkit –Dojo –Prototype –… more

jQuery Selectors “Get all paragraphs that are children of ID ‘target’” Vanilla Javascript: jQuery Selector:

jQuery Selector Patterns Selector Patterns –$(‘p’)- all elements –$(‘#target’)- all elements with id “target” –$(‘div p’)- all elements in a –$(‘p.emph’)- all elements of class “emph” –$(‘*’)- all elements in the DOM! –$(‘img[border=1]’)- all images with borders of 1 –…..

The jQuery Object Selectors return jQuery Objects They can act like arrays –$(‘div’)[1] –$(‘div’).get(1) –$(‘div’).length –var arr = $(‘div’).get()

The jQuery Object Selectors return jQuery Objects They can perform CSS and animation tricks –$(“a”).css("color", "red"); –$(“a”).css("border", "1px solid blue"); –$(“p”).text(“new text”); –$(‘#target’).hide() –$(“p”).animate( { opacity:0.2, marginLeft:”40px” }, 5000 ); \\ 5 seconds

The jQuery Object Selectors return jQuery Objects They have many convenience functions –$(‘#target’).parent() –.first() –.last() –.is(function) –.add(Object) –.next(Selector) –.filter(Selector)

Event Handling $('#target').click(function() { alert('Handler for.click() called.'); });

Ajax with jQuery The most basic call: $.get("data.txt", function(data) { alert("received reply! " + data); } ); Full Options: var ajaxSettings = { type: “POST", url: "data.txt", data: "name=chambers&location=USNA", success: function(data) { $('#target').append(" "+data+" ").css("color","blue"); }, error: function(xhr, status, error) { alert("error: " + error); } }; $.ajax(ajaxSettings);

Autocomplete with jQuery Use a plugin for jQuery function onload() { $("#query").autocomplete({ url: 'search.txt', useCache: false, filterResults: false, }); } Local data:

jQuery Autocomplete (Fake Perl) #!/usr/bin/perl use strict; use CGI qw( :standard ); use CGI::Carp qw(warningsToBrowser fatalsToBrowser); print "Content-Type: text/plain; charset=UTF-8\n\n"; open(IN,"search.txt") || die "Cannot open search.txt ($!)\n"; while( my $line = ) { print "$line"; } close IN; What do you need to change?

What else can we do? Photo Slideshows Tab Views Calendars, Date Pickers Buttons galore File Uploading Drag and Drop … many more

How do I start?

Some Sites with jQuery Plugins (cool photo slider)