| |
Ajax Training Overview
Ajax (Asynchronous JavaScript and XML) has emerged as a powerful platform for building web applications with extensive client-side interactivity. Unlike older approaches, which require reloading of the entire page with every postback, Ajax uses the JavaScript DOM, the XMLHttpRequest object, XML, and CSS to download and display just the content that needs to change.
Ajax Training Objective
To teach attendees the Ajax programming and application design techniques necessary to build rich, ultra-responsive web applications.
Ajax Training Outline
-
Ajax Basics
-
The Purpose of Ajax
-
Traditional Web Application
-
An Ajax Web Application
-
The XMLHttpRequest Object
-
Creating an XMLHttpRequest Object
-
Using an XMLHttpRequest Object
-
Handling the Response
-
Ajax Frameworks
-
The Purpose of Frameworks
-
Choosing a Framework
-
Dojo
-
Downloading Dojo
-
Using Dojo for Ajax
-
Prototype
-
Downloading Prototype
-
Using Prototype for Ajax
-
Other Popular Frameworks
-
Direct Web Remoting (DWR)
-
AjaxAnywhere
-
Simple Ajax (SAJAX)
-
Sarissa
-
Other Frameworks
-
The HTML Document Object Model
-
Accessing Nodes
-
Accessing Element Nodes
-
Accessing Attribute Nodes
-
getAttribute
-
attributes[]
-
Accessing Nodes by Type, Name or Value
-
Accessing Nodes by Class Name
-
Removing Nodes from the DOM
-
DOM Differences: The Whitespace Problem
-
Creating New Nodes
-
XML and Ajax
-
Creating a DOM Document with JavaScript
-
Accessing, Creating and Modifying XML Nodes
-
Creating an AddChild() Function
-
Receiving XML Responses
-
Passing XML to the Server
-
Ajax Applications
-
Login Form
-
Quick Lookup Form
-
Preloaded Data
-
Ajax Slideshow
-
Navigable Tables
-
OO JavaScript and Refactoring Ajax
-
Illustrating the Problem
-
Object-Oriented JavaScript
-
JavaScript Classes
-
Prototypes
-
Extending Built-in Objects
-
Refactoring the Ajax Request Code
-
JavaScript Object Notation (JSON)
-
Object Literals
-
Arrays
-
Objects
-
Arrays in Objects
-
Objects in Arrays
-
JSON
-
JSON Syntax
-
JSON Parsers
-
JSON Advantages and Disadvantages
-
XSLT Transformations with JavaScript
-
XSLT
-
Basic XSLT
-
XSLT in the Browser
-
XSLT in Internet Explorer
-
XSLT in Mozilla
-
Sarissa
-
XSLT in Ajax Applications
-
Advantages and Disadvantages of XSLT in Ajax Applications
-
Drag and Drop
-
Drag and Drop Basics
-
script.aculo.us
-
Draggables
-
Droppables
-
A More Interesting Example
-
More Ajax Applications
-
Inline Editing
-
Detailed Information on Demand
-
Autologout
-
Autocompletion
-
XSLT Basics [4-day class only]
-
eXtensible Stylesheet Language
-
An XSLT Stylesheet
-
xsl:template
-
xsl:value-of
-
Whitespace and xsl:text
-
Output Types
-
Text
-
XML
-
HTML
-
XSLT Elements and Attributes
-
xsl:element
-
xsl:attribute
-
Attributes and Curly Brackets
-
XPath
-
XPath in XSLT
-
XPath Expression
-
XPath Terminology
-
Context Node
-
Current Node
-
Context Size
-
Proximity Position
-
Location Paths
-
Axis
-
Node Test
-
Predicate
-
Accessing Nodes
-
Abbreviated Syntax
-
XPath Functions
-
XPath Operators
-
Flow Control in XSLT
-
Looping in XSLT
-
Sorting with XSLT
-
Looping and Sorting
-
Conditions with XSLT
-
XSLT Templates, Parameters and Variables
-
xsl:apply-templates
-
xsl:call-template
-
Passing Parameters
-
Removing Content
-
Template Modes
-
Template Priority
-
Default Priorities
-
Assigning Priorities
-
XSLT Variables |