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 8: AJAX Grid
Data grids have always
been one of the areas where web applications have had a serious
disadvantage compared to desktop programs. The fact that the page
needed a full reload when switching between grid pages, or when
updating grid details, did harm the application from a usability
point of view. Technically, fully reloading the page has bad effects
as well, unnecessarily wasting network resources.
But now you know there is a smarter solution to this problem. You
can use AJAX to update the grid content without page refreshing.You
can keep your beautiful design in the client browser without even
one page blink. Only the table data is refreshed, not the whole
page.
The novelty in this chapter is that we'll use XSLT (EXtensible
Stylesheet Language Transformation) to generate the client output.
XSLT is part of the XSL family, and it allows defining rules to
transform an XML document to another format. When used to create web
front ends, XSLT permits imeplementing a very flexible architecture,
in which the server outputs the data in XML format, and that data is
transformed to HTML using an XSL transformation. You can find an
introduction to XSL in Appendix C.
In this chapter you'll:
-
Use XSL to
generate a HTML data grid based on XML data received from the
server.
-
Use AJAX to
implement the editable data grid. The user should be able to
switch between product pages and edit product details without
experiencing any page reloads.
Chapter
8: AJAX Grid
- Implementing the AJAX Grid Using Client-Side XSLT
- 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 |
|
|
|
|