Introduction
1:
AJAX
and the Future Of Web Applications
2:
Client-Side Techniques with Smarter JavaScript
3:
Server-Side Techniques with PHP and MySQL
4: AJAX
Form Validation
5: AJAX Chat & JSON
6:
AJAX Suggest
and Autocomplete
7:
SVG (Scalable
Vector Graphics)
8: AJAX Grid
9: AJAX RSS
Reader
10: AJAX Drag and Drop
Appendix A:
Configuring Your Working Environment
Appendix B:
Using Smarter Tools to Write Better Code
Appendix C: Advanced XML
Index
Free Chapters:
Chapter 1:
AJAX and
the Future Of Web Applications [0.5 MB PDF]
Chapter 5:
AJAX Chat [1 MB PDF]
Free eBook:
AJAX Whiteboard mini-book
Code Download
Contact
us |
Chapter 2: Client-Side Techniques
with Smarter JavaScript
It is said that one picture is worth a thousand words. And so is a
well-written piece of code, we would say. You will get plenty of
both, while building the foundations for your future AJAX-enabled
applications, in this chapter and the next.
Hopefully, the first chapter has developed your interest in AJAX
well enough that you will endure a second chapter with lots of
theory to be learned. On the other hand, if you found the first
exercise too challenging, be assured that this time we will advance
a bit slower. We will learn the theory in parts by going through
many short examples. In this chapter, we will meet client AJAX
technologies, which include:
-
JavaScript
-
The JavaScript DOM
-
Cascading Style Sheets
(CSS)
-
The
XMLHttpRequest
object
-
Extensible Markup Language (XML)
You will learn how to make these
components work together smoothly, and form a strong foundation for
your future AJAX applications. You will see how to implement
efficient error handling techniques, and how to write code
efficiently. Chapter 3 will complete the foundations by presenting
the techniques and technologies that you use on the server; in our
case, PHP, MySQL, and others.
Chapter
2: Client-Side Techniques with Smarter JavaScript
- JavaScript and the Document Object Model
- Time for Action - Playing with JavaScript and
the DOM
- JavaScript Events and DOM
- Time for Action - Using JavaScript Events and
the DOM
- Even More DOM
- Time for Action - Even More DOM
- JavaScript, DOM, and CSS
- Time for Action - Working with CSS and
JavaScript
- Using the XMLHttpRequest Object
- Creating the XMLHttpRequest Object
- Creating Better Objects for Internet
Explorer
- Initiating Server Request using XMLHttpRequest
- Handing Server Response
- Time for Action - Making Asynchronous Calls
with XMLHttpRequest
- Working with XML Structures
- Time for Action - Making Asynchronous Calls
with XMLHttpRequest and XML
- Working with XML Structures
- Handing More Errors and Throwing Exceptions
- Creating XML Structures
- Summary
|
|
Paperback 250 pages
Released: February 2005
ISBN: 1847192825
ISBN 13:
978-1-904811-82-4
eBook Version
Also Available
Buy the book & eBook together and get 80% off the eBook |
|
|
|
|