|
AJAX API Programming
This class will introduce you to the suite of technologies that are used to create an Ajax web application. This is not, however, simply a catalog of Ajax libraries and tools: all topics covered are grounded in "Real World" usage. Learning in this class is designed to go above and beyond the "what" and "how" of Ajax. After completing this course, you will be well versed in the critical answers to "why" and "when", as they relate to the technical foundations of building dynamic web applications.
The material covers Ajax foundations including HTTP, asynchronous communication, advanced JavaScript, the DOM API, events, and JSON, as well as higher level topics in debugging, security, and frameworks (jQuery).
Lab work focuses on creating the dynamic portions of a Web site, including JSPs, Servlets, and JavaScript.
Course Objectives
After completing this course students will: - Understand the relationship between the different protocols that comprise "Ajax"
- Create asynchronous requests through the use of the XMLHttpRequest object
- Learn best practices in "cross browser" coding
- Solve problems quickly through the use of error consoles, HTTP inspectors, and JavaScript debuggers
- Develop proficiency with the DOM API in building dynamic GUIs
- Become familiar with jQuery and its use in efficiently building Ajax applications
|
Prerequisites
- Basic HTML / XHTML, JavaScript, and CSS
- Understand Servlets and JSP
|
Course Track
- Traditional Synchronous Webpages
- Synchronous vs. Asynchronous Communication
- Ajax defined
- XMLHttpRequest Object
- Other Technologies Used with Ajax
- Benefits
- Challenges
- Terminology
- Variable Scope
- Function Pointers
- Inner Functions
- Classes and Objects
- Error Handling
- HTTP and Ajax
- HTTP Message Overview
- Client to Server Interaction
- The Creation and Handling of HTTP Messages
- Methods
- Status Codes
- Header Fields
- Data Types / Protocols
- ReadyState
- The <div> and <span> elements
- Plain text
- XHTML
- XML
- JSON
- DOM Overview
- Anatomy of an XML based DOM
- Nodes and NodeLists
- Types of Nodes (Element, Attribute, Test, CDATA, Document, etc)
- Anatomy of an HTML based DOM
- HTML Tags and their Dom Equivalent (THMLElement, ect)
- Document, Window, and History objects
- Page Rendering Through the DOM API
- Creating the Document Structure
- Adding Look and Feel through the Style Object
- Adding Behavior through Events
- Displaying the DOM in a Web Page
- Error Console (Firefox and IE)
- HTTP Inspector (Fiddler)
- Debugging Tools (Firebug and IE 8 Script Debugger)
- jQuery Setup
- The "$" Object and Basic jQuery Syntax
- Ajax Utilities
- DOM and Event Enhancements
- Page Rendering
- UI Library Overview (Date Picker, Auto-Complete, etc.)
- Common Security Issues in Web Applications
- Same Origin Policy
- Data Confidentiality
- Injection Attacks
- Cross-Site Scripting (XSS)
- Vulnerability Scanners
- Frameworks and Toolkits Defined
- Criteria for Evaluating Frameworks and Toolkits
- Survey of Popular JavaScript / Ajax Frameworks and Toolkits (Dojo, Prototype, Mootools, Yahoo UI Library, GWT, jQuery)
|
Course Benefits
Upon successful course completion students will:
- Have developed proficiency with the DOM API in building dynamic graphical user interface using AJAX. Students will also be able to efficiently use jQuery in building AJAX applications
|
Course Duration
40 hours of instructor - led hands -on training and labs
|
|