Pages

Subscribe:

Ads 468x60px

Ajax Bible: ebook


Ajax Bible
Steven Holzner, PhD



Part I: Fundamental Ajax 1
Chapter 1: Essential Ajax
What Does “Ajax” Mean?
What Can You Do with Ajax?
Create Ajax live searches
Create an Ajax-enabled calculator
Talk with Ajax chat applications
Crunch numbers with spreadsheets
Browse Amazon
Get the answer with Ajax autocomplete
Log in with Ajax
Download images
Drag and drop with Ajax
Play games with Ajax
Modify Web pages on the fly
Add interactivity to maps
E-mail the Ajax way


Chapter 2: Know Your JavaScript 
What Is JavaScript’s Place in Ajax?
A Brief History of JavaScript
Getting Started with JavaScript.
Fixing errors
Commenting your code
Putting your code in external script files
Responding to browser events
Creating JavaScript Functions
Passing arguments to functions
Returning values from functions
Storing Your Data in Variables
Operating on Your Data with Operators
Making Decisions with the If Statement
Executing Different Code in Different Browsers
Working with Loops
Looping with the for loop
Looping with the while loop
Connecting JavaScript to HTML Buttons
Summary

Chapter 3: Creating Ajax Applications
Writing Ajax
Setting up the application
Writing the JavaScript
Creating an XMLHttpRequest object
Opening the XMLHttpRequest object
Handling data downloads
Getting your data
Downloading the data
More ways to create XMLHttpRequest objects
Interacting with Server-Side Code
Passing Data to Server-Side Scripts
Passing data to the server with GET
Passing data to the server with POST .
Using Ajax with XML
Creating the XML
Downloading the XML


Chapter 4: Serious Ajax Programming
Working with Multiple Concurrent XMLHttpRequest Requests
Using multiple XMLHttpRequest objects
Storing XMLHttpRequest objects in an array
Using inner functions
Handling JavaScript Sent from the Server
Returning JavaScript
Returning JavaScript objects
Connecting to Google Suggest
Calling Another Domain in Ajax
A Login Example
Working with Ajax and Head Requests
Getting all head data
Getting specific head data
Eliminate Caching


Part II: Ajax in Depth 
Chapter 5: Introducing Ajax Frameworks 
Using the Ajax Utility Library
Get text from the server with getText
Get XML from the server with getXml
Post data to the server and get text back
Post data to the server and get XML back
Using libXmlRequest to Download XML
Using AJAXLib to Download XML


Chapter 6: More Advanced Ajax Frameworks
Using the Majax Framework
Using the Sack Framework
Using the XHConn Framework
Using the uniAjax Framework
Using the AjaxGear Framework
Using the AjaxRequest Framework
Using the Http Framework to Avoid Caching
Using the Sarissa Framework to Handle XML
Using the Interactive Website Framework to Handle XML
Summary

Chapter 7: Using Server-Side Ajax Frameworks
Working with PHP-Based Frameworks
Using Sajax and PHP
Using Xajax and PHP
Using LibAjax and PHP
Working with Java-Based Frameworks
Using Direct Web Remoting and Java
Using Ajax Tags and Java
Using SWATO with Java
Working with Ajax and Ruby on Rails
Downloading text with Ajax
Accessing downloaded data in code


Part III: Ajax and the DOM, XML, CSS, and Dynamic HTML 
Chapter 8: The DOM and Event Handling
Introducing the DOM
Appending Elements Using the DOM
Replacing Elements Using the DOM
Creating an Ajax-Enabled Shopping Cart
Creating a cross-browser mouse event object
Handling mouse down events
Handling mouse move events
Handling mouse up events
Downloading Images with Ajax
Handling Ajax Timeouts
Summary

Chapter 9: XML and Ajax 
Creating XML
Handling XML with JavaScript
Retrieving Data from an XML Document
Handling White Space in the Mozilla, Netscape, and Firefox Web Browsers
Handling White Space in a Cross-Browser Way
Accessing XML Data Directly
Accessing XML Attribute Values
Validating Your XML

Chapter 10: Cascading Style Sheets and Ajax
Ajax-Enabled Menus
Creating the styles
Working with the mouse
Downloading the menu items
Showing a menu.
Handling menu item clicks
Hiding a menu
Getting Text Noticed in Ajax Applications
Scrolling Text
Styling Text Using CSS
Styling Colors and Backgrounds Using CSS
Styling Locations in Web Pages


Chapter 11: Dynamic HTML and Ajax 
Creating Mouseovers
Using Dynamic Styles
Using document.write
Using Dynamic HTML Methods to Update Part of a Page
Using Dynamic HTML Properties to Update Part of a Page
Using Text Ranges to Update Part of a Page
Using createElement to Create New Elements on the Fly
Creating Dynamic Tables
Catching the User’s Attention with Animation

Part IV: Advanced Ajax 
Chapter 12: Introducing Ajax and PHP 
Getting Started with PHP
Sending text back to the browser
Sending XML back to the browser
Commenting Your PHP
Working with Variables
Interpolating Variables in Strings
Working with Arrays
Creating arrays
Copying arrays
Handling Your Data with Operators
Making Choices with the if Statement
Using else statements
Using elseif statements
Using Switch Statements
Using loop Statements
Looping with the for loop
Looping with the while loop
Looping with the do...while loop
Looping with the foreach loop

Chapter 13: PHP: Functions and HTML Controls
Working with Functions
Passing data to functions
Setting up default arguments
Creating variable-length argument lists
Returning values from functions
Returning multiple values from a function
Handling HTML Controls
Working with text fields
Working with checkboxes
Working with radio buttons
Working with list boxes
Working with password controls
Working with Image Maps
Uploading Files

Chapter 14: Handling User Input in PHP
Displaying All the Data in a Form
Looking at Server Variables
Getting User Input in Arrays
Wrapping PHP Applications in a Single Page
Using Hidden Controls to Check Whether a Page Has Been Seen Before
Validating User Input, Numbers, and Text
Validating user input
Validating numbers
Validating text
Handling HTML Sent by the User

Chapter 15: Ajax and Security
Protecting Against Malicious Users
JavaScript insertion
Looking at the Security Issues with Proxy Servers
Handling Security in Ajax Applications
Easy password protection
Server-side user authentication
Protecting Passwords Using Public and Private Keys

Chapter 16: Filters, MVC, and Ajax 
Restricting Access with Filters
Logging User Access with Filters
Restricting Access Based on Time of Day
Model-View-Controller Applications
The controller
The view
The model
Installing the MVC Application
Accessing MVC with Ajax



http://www.mediafire.com/view/rbbj5qjdscwzdef/Wiley_Ajax_Bible_(2007).pdf

No comments:

Post a Comment

Watch Wrestling Live
Watch Rugby Live
Watch Racing Online Watch NFL Live
Watch NFL Live Watch Online TV