wedge Follow-up to why AJAX
* AJAX is more searchable than FLASH and Java
wedge HTML primer
* Show example_01
wedge XML primer
* Show example_02
wedge XHTML
* Show example_03
wedge Three validators
wedge Validate HTML
* validator.w3.org—check
wedge Validate CSS
* jigsaw.w3.org—validator
wedge Validate Links
* validator.w3.org—checklink
wedge AJAX Technology
wedge Four core components
wedge Javascript
* interpretted language
* code in web pages
wedge Cascading Style Sheets (CSS)
* Reusable formatting instructions for data
wedge Document Object Model (DOM)
* web page object
* programmatically accessible structure of web page
wedge XMLHttpRequest Object
* the heart of asynchronicity
* provides the callback mechanism for remote procedure calls
wedge Technologies are installed in modern browswers
* IE, Firefox, Safari, Camino,Konqueror
* Slightly different in each, but manageable
* not typically installed in mobile platforms
* First three are DHTML
wedge Javascript
* somewhat similar to C
wedge loosely typed
* var x = 3.145
* var x = 'pi'
* interpretted
wedge general purpose
* numbers, strings, arrays, math, text
* CSS, DOM and XMLHttpRequest are exposed to Javascript
wedge tutorial
* www.w3schools.com—js_examples_3.asp
wedge How do you put JavaScript in a web page
* example_04
wedge Javascript function with timer
* example_05
wedge Javascript convert to uppercase
* example_06
wedge CSS
* Separation of content from presentation!!!!
wedge Style Sheets allow content to be formatted programmatically
* consistency
* transportability
wedge Rule-based
* Selector and a style declaration
wedge tutorial
wedge definition of all properties
* www.w3.org—CSS21
wedge no styling
* example_07
wedge simple styling - border on images
* example_07a
wedge wackier
* example_07b
wedge wackiest
* example_07c
wedge portability
* apply styles to my web site
* example_08
* idea of a "class"
wedge Better examples of doing this well
* www.csszengarden.com
wedge DOM
* An XML document which has the tags of the web page in it.
wedge Show example_07's DOM
* validator.w3.org—check
* Modifiying DOM using Javascript
* example_10
* XMLRequestObject