Outline. AJAX for Libraries. Jason A. Clark Head of Digital Access and Web Services Montana State University Libraries

Similar documents
AJAX Workshop. Karen A. Coombs University of Houston Libraries Jason A. Clark Montana State University Libraries

Working with Javascript Building Responsive Library apps

AJAX Programming Overview. Introduction. Overview

COURSE OUTLINE MOC 20480: PROGRAMMING IN HTML5 WITH JAVASCRIPT AND CSS3

TIME SCHEDULE MODULE TOPICS PERIODS. HTML Document Object Model (DOM) and javascript Object Notation (JSON)

Web Services for Libraries. Jason A. Clark Head of Digital Access and Web Services Montana State University Libraries

The course also includes an overview of some of the most popular frameworks that you will most likely encounter in your real work environments.

User Interaction: jquery

dotnettips.com 2009 David McCarter 1

Web Services Bootcamp: Adding Value to Library Apps & Services

Course 20480: Programming in HTML5 with JavaScript and CSS3

COURSE 20480B: PROGRAMMING IN HTML5 WITH JAVASCRIPT AND CSS3

Cleveland State University Department of Electrical and Computer Engineering. CIS 408: Internet Computing

Programming in HTML5 with JavaScript and CSS3

Read & Download (PDF Kindle) PHP Ajax Cookbook

Lesson 12: JavaScript and AJAX

Programming in HTML5 with JavaScript and CSS3

Web Development 20480: Programming in HTML5 with JavaScript and CSS3. Upcoming Dates. Course Description. Course Outline

Credits: Some of the slides are based on material adapted from

UI Course HTML: (Html, CSS, JavaScript, JQuery, Bootstrap, AngularJS) Introduction. The World Wide Web (WWW) and history of HTML

Part of this connection identifies how the response can / should be provided to the client code via the use of a callback routine.

AJAX: Rich Internet Applications

Developing Ajax Web Apps with GWT. Session I

,

Creating an Online Catalogue Search for CD Collection with AJAX, XML, and PHP Using a Relational Database Server on WAMP/LAMP Server

Course Details. Skills Gained. Who Can Benefit. Prerequisites. View Online URL:

Web 2.0, AJAX and RIAs

Create-A-Page Design Documentation

CNIT 129S: Securing Web Applications. Ch 3: Web Application Technologies

Wakanda Architecture. Wakanda is made up of three main components: Wakanda Server Wakanda Studio Wakanda Client Framework

20480B: Programming in HTML5 with JavaScript and CSS3

Web Application Security

XML Processing & Web Services. Husni Husni.trunojoyo.ac.id

Modern and Responsive Mobile-enabled Web Applications

Chapter 10 Web-based Information Systems

Microsoft Programming in HTML5 with JavaScript and CSS3

Full Stack Web Developer

Module 5 JavaScript, AJAX, and jquery. Module 5. Module 5 Contains 2 components

Full Stack Web Developer

Client-side Debugging. Gary Bettencourt

REST AND AJAX. Introduction. Module 13

JavaScript Programming

We aren t getting enough orders on our Web site, storms the CEO.

Web Application with AJAX. Kateb, Faris; Ahmed, Mohammed; Alzahrani, Omar. University of Colorado, Colorado Springs

A Closer Look at XPages in IBM Lotus Domino Designer 8.5 Ray Chan Advisory I/T Specialist Lotus, IBM Software Group

Learn Web Development CodersTrust Polska course outline. Hello CodersTrust! Unit 1. HTML Structuring the Web Prerequisites Learning pathway.

Assignment: Seminole Movie Connection

2/6/2012. Rich Internet Applications. What is Ajax? Defining AJAX. Asynchronous JavaScript and XML Term coined in 2005 by Jesse James Garrett

CSCI 6312 Advanced Internet Programming

Abstract. 1. Introduction. 2. AJAX overview

Web 2.0 Käyttöliittymätekniikat

Master Project Software Engineering: Team-based Development WS 2010/11

This course is designed for web developers that want to learn HTML5, CSS3, JavaScript and jquery.

Full Stack boot camp

WebApp development. Outline. Web app structure. HTML basics. 1. Fundamentals of a web app / website. Tiberiu Vilcu

Term Paper. P r o f. D r. E d u a r d H e i n d l. H o c h s c h u l e F u r t w a n g e n U n i v e r s i t y. P r e s e n t e d T o :

Making Ajax Easy With Model-Glue. Joe Rinehart Firemoss, LLC

Contents. Demos folder: Demos\14-Ajax. 1. Overview of Ajax. 2. Using Ajax directly. 3. jquery and Ajax. 4. Consuming RESTful services

AJAX: Introduction CISC 282 November 27, 2018

AJAX. Lab. de Bases de Dados e Aplicações Web MIEIC, FEUP 2010/11. Sérgio Nunes

With Dreamweaver CS4, Adobe has radically

Introduction to Dreamweaver CS4:

PHP / MYSQL DURATION: 2 MONTHS

Module 5 JavaScript, AJAX, and jquery. Module 5. Module 5 Contains an Individual and Group component

Interactive XML Visualization - using XSLT 2.0 on the Browser. Phil Fearon - Saxonica

Sections and Articles

Jquery Ajax Json Php Mysql Data Entry Example

Programming in HTML5 with JavaScript and CSS3

CSS. HTML5,CSS3,JS & PHP Simplified. Smart Course for Absolute Beginners. REGISTER AT:

Overview. Principal Product Manager Oracle JDeveloper & Oracle ADF

Module7: AJAX. Click, wait, and refresh user interaction. Synchronous request/response communication model. Page-driven: Workflow is based on pages

CIS 408 Internet Computing (3-0-3)

CIW: Advanced HTML5 and CSS3 Specialist. Course Outline. CIW: Advanced HTML5 and CSS3 Specialist. ( Add-On ) 16 Sep 2018

GRITS AJAX & GWT. Trey Roby. GRITS 5/14/09 Roby - 1

VINEPILOT. Project Design Specification. v2.0 - The Savvy-gnon Team

CENG 256 Internet Programming Draft

Fall Semester (081) Module7: AJAX

Using Development Tools to Examine Webpages

Web Application Architectures

ThingLink User Guide. Andy Chen Eric Ouyang Giovanni Tenorio Ashton Yon

MS_ Programming in HTML5 with JavaScript and CSS3.

PELLISSIPPI STATE COMMUNITY COLLEGE MASTER SYLLABUS. INTRODUCTION TO INTERNET SOFTWARE DEVELOPMENT CSIT 2230 (formerly CSIT 2645)

AJAX. Introduction. AJAX: Asynchronous JavaScript and XML

Vb Net Tutorial For Beginners Visual Studio 2010 Create Web Service

UX400. OpenUI5 Development Foundations COURSE OUTLINE. Course Version: 02 Course Duration: 5 Day(s)

Web Development. with Bootstrap, PHP & WordPress

Basics of Web Technologies

Lesson 14 SOA with REST (Part I)

20480C: Programming in HTML5 with JavaScript and CSS3. Course Code: 20480C; Duration: 5 days; Instructor-led. JavaScript code.

XAP: extensible Ajax Platform

Comprehensive AngularJS Programming (5 Days)

CL_55244 JavaScript for Developers

JavaScript: the Big Picture

55191: Advanced SharePoint Development

CS50 Quiz Review. November 13, 2017

welcome to BOILERCAMP HOW TO WEB DEV

Programming for Digital Media. Lecture 7 JavaScript By: A. Mousavi and P. Broomhead SERG, School of Engineering Design, Brunel University, UK

Standard 1 The student will author web pages using the HyperText Markup Language (HTML)

Etanova Enterprise Solutions

Jquery Manually Set Checkbox Checked Or Not

Transcription:

AJAX for Libraries Jason A. Clark Head of Digital Access and Web Services Montana State University Libraries Karen A. Coombs Head of Web Services University of Houston Libraries Outline 1. What you re in for 2. What s AJAX? 3. Why AJAX? 4. Look at some AJAX examples 5. AJAX for Libraries 6. Walkthrough sample AJAX application

What you re in for A discussion about an emerging web application framework An introduction to the essential elements of AJAX How does AJAX fit into libraries? Walkthrough the code of a working AJAX application What is AJAX? Asynchronous Javascript and XML Not all AJAX apps involve XML Combination of technologies XHTML, CSS, DOM XML, XSLT, XMLHttp, JavaScript Some server scripting language A method for building more responsive

AJAX Components XHTML and CSS Ajax applies these familiar Web standards for styling the look and feel of a page and to markup those areas on a page that will be targeted for data updates. DOM (document object model) Ajax uses the DOM to manipulate dynamic page views for data and to walkthrough documents to cherrypick data. The DOM enables certain pieces of an Ajax page to be transformed and updated with data. XML, JSON (Javascript Object Notation), HTML, or plain text Ajax can use any of these standards to provide structure to the data it passes to and from a page. XMLHttpRequest object The heavy lifter for Ajax: It s a javascript object embedded in most modern browsers that sets up data request/response pipelines between client and server. Javascript Lightweight programming language that Ajax uses for instructions to bind all of the components together. Why AJAX? Want to make your applications more interactive Want to incorporate data from external Web Services Don t want your users to have to download a plugin

Client vs. Server Scripting Client scripting Web browser does all the work Server Scripting Web server does all the work AJAX leverages both client and server side scripting How AJAX Works

AJAX Web Interaction What you don t see Data reload happens in the background JavaScript queries the server to get the proper data without you knowing it Page updates without a screen reload Potential Problems Javascript MUST be enabled Back button doesn t always work Pages can be difficult to bookmark Search engines may not be able to index all portions of an AJAX site Cross browser differences in how XML is dealt with

AJAX and Accessibility AJAX done correctly can help with accessibility issues Dynamic content such as Tabs Smart Forms Use href and onclick in conjunction to deal with Javascript being disabled Some AJAX examples Google Calendar Flickr del.icio.us LibraryThing Backpack

AJAX Components Server-side Component Communicates with the database, or web service Can be written in any server-side language (PHP, ASP, Coldfusion, etc) Client-side Component Written in Javascript, often uses XMLHttp Accesses the server side page in the background AJAX Script Libraries You could choose to write AJAX code from scratch Or you can use a script library faster, more consistent, better code Prototype script.aculo.us MooTools jquery * Google: AJAX Libraries API (http://code.google.com/apis/ajaxlibs/)

AJAX Script Libraries Script libraries are very similar Always being updated and improved Make sure you keep your code up to date Take advantage of new features and functions when they come out Some systems come with built in script libraries Coldfusion 8 comes with Prototype Some open source software is built on a pre-existing script library Wordpress utilizes Prototype Can use script libraries in combination but only do so if absolutely necessary Potential Uses for AJAX Error checking in Forms AutoSuggest Drag and Drop objects functionality Dynamically move view around on image or map Preload content you want to show later Apply limits to search results and get new results quickly

AJAX for Libraries Browsing subject headings Pre-displaying indexes and databases categories Complex ILL or contact forms Federated Search OPAC and digital library interfaces AJAX - Library Use Cases SingleSearch - Curtain University Library (http://apps. library.curtin.edu.au/singlesearch/search.cgi) Content Panes - TERRA: The Nature of Our World Montana State University Libraries (http://lifeonterra.com) Guesstimate - Virginia Tech Libraries (http://addison.vt. edu)

Code Samples and Downloads People @ the Library (XML) http://www.lib.montana.edu/~jason/files/ajax/list/ Yahoo! News Search @ the Library (JSON) http://www.lib.montana.edu/~jason/files/ajax/search/ Contact the Library (Feedback and Validation) http://www.lib.montana.edu/~jason/files/ajax/validate/ People @ the Library (HTML and Feedback) http://www.lib.montana.edu/~jason/files/ajax/show/ Code Library Examples (Prototype and MooTools) http://www.librarywebchic. net/presentations/internetlibrarian2008/ajax.zip AJAX Sample Applications People @ the Library (HTML and Feedback) http://www.lib.montana.edu/~jason/files/ajax/show/ BrowseSearch Library of Congress Subject Headings http://www.lib.montana.edu/~jason/files/ajax/browsesearch/ Javascript AJAX Code Libraries Examples Hello User Example (Prototype JS Library) WorldCat Search API (Prototype JS Library) WorldCat Search API (MooTools JS Library) *Download files from http://www.lib.montana.edu/~jason/files.php

AJAX and APIs Data available on the web for libraries to access via APIs LibraryThing API Google Books Availability API WorldCat API Google and Yahoo Maps AJAX and APIs Examples TAMU Geologic Atlas of the United States - http: //repository.tamu.edu/handle/1969.1/2490 Plymouth State University Lampson Library Catalog - http://library.plymouth.edu/read/184908 National Library of Australia Library Labs - http: //ll01.nla.gov.au/search.jsp?searchterm=enigma

Studying AJAX in the Wild TERRA: The Nature of Our World Tabbed Environment Comments Ratings Pros and Cons - page views, instant feedback, web stats can be problematic Studying AJAX in the Wild UH Libraries CMS staff only interface ability to seamlessly edited multiple parts of the screen can control what browser people use No other way to create this type of interface for updating content old interface klunky and frustrating for staff

Final thoughts What s Next? That s AJAX and AJAX applications in a nutshell. Consider AJAX advantages and disadvantages Fundamentals of method are there Keep practicing and learning Contact Information Karen Coombs University of Houston Libraries Web Services Librarian kacoombs@uh.edu http://librarywebchic.net/ 713-743-3713 Jason A. Clark Montana State University Libraries Head of Digital Access and Web Services jaclark@montana.edu www.jasonclark.info 406-994-6801