Introduction to AJAX with PHP Training
AJAX with PHP Training Overview
In this Ajax training course, students learn to make calls to the server with JavaScript and to manipulate XML content returned from the server. Ajax opens the door to creating sophisticated web-based applications with much more of the logic (and therefore code) is handled on the client. While Ajax allows for more dynamic and responsive applications, it changes the traditional role of JavaScript dramatically and forces developers to rethink how they write and manage JavaScript code.
After taking this Ajax training course, students will be able to create sophisticated Ajax-based applications in an efficient and modular way. For those new to CSS, XML, XSLT and/or JavaScript, this Ajax training course can be customized to include accelerated introductions to those technologies. The server-side code is written in PHP.
AJAX with PHP Training Class Goals
- Learn how Ajax works.
- Learn to write cross-browser Ajax code.
- Learn to use Ajax to make a call to the server without a page refresh.
- Learn to modify content blocks on a page without refreshing the whole page.
- Learn to use server-side form validation with Ajax.
- Learn to move elements around the page with Dynamic HTML.
- Learn to show and hide elements.
- Learn to manipulate XML documents with JavaScript using the DOM.
- Learn to manipulate XML documents with JavaScript using XSLT.
- Learn to program in JavaScript using Object-Oriented techniques.
- Learn to work with various JavaScript/Ajax libraries, such as Prototype, Scriptaculous, and Sarissa.
AJAX with PHP Courseware
- 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
- Conclusion
- The Purpose of Ajax
- 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
- Conclusion
- The Purpose of 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
- Conclusion
- Accessing Nodes
- XML and Ajax
- Creating a DOM Document with JavaScript
- Accessing, Creating and Modifying XML Nodes
- Creating an AddChild() Function
- Receiving XML Responses
- Conclusion
- Ajax Applications
- Login Form
- Quick Lookup Form
- Preloaded Data
- Ajax Slideshow
- Navigable Tables
- Conclusion
- OO JavaScript and Refactoring Ajax
- Illustrating the Problem
- Object-Oriented JavaScript
- JavaScript Classes
- Prototypes
- Extending Built-in Objects
- Refactoring the Ajax Request Code
- Conclusion
- JavaScript Object Notation (JSON)
- Object Literals
- Arrays
- Objects
- Arrays in Objects
- Objects in Arrays
- JSON
- JSON Syntax
- JSON Parsers
- PHP JSON Extension (added in PHP 5.2)
- PEAR JSON
- ZEND JSON
- JSON Advantages and Disadvantages
- Conclusion
- Object Literals
- XSLT Transformations with JavaScript
- XSLT
- Basic XSLT
- XSLT in the Browser
- XSLT in Internet Explorer
- XSLT in Mozilla
- Sarissa
- Advantages and Disadvantages of XSLT in Ajax Applications
- Conclusion
- XSLT
- Drag and Drop
- Drag and Drop Basics
- script.aculo.us
- Draggables
- Droppables
- A More Interesting Example
- Conclusion
- More Ajax Applications
- Inline Editing
- Detailed Information on Demand
- Autologout
- Autocompletion
- Conclusion