Basic Ajax tutorial content: Ajax technology can provide highly interactive web applications, giving users a richer page browsing experience. This book focuses on Ajax and related tools and technologies, the main content includes XMLHttpRequest objects and their attributes and methods, sending requests and processing responses, building a complete Ajax development tool, using jsunit to test JavaScript, and analyzing JavaScript debugging tools and technologies, and Ajax development modes and frameworks. All examples in this book Code From the homepage of apress Source code (Source Code) is free of charge. This book is suitable for Web application developers and web designers at all levels. Chapter 2 Ajax Introduction
- 1.1 brief introduction to Web Applications
- 1.2 browser history
- 1.3 Web Application Development History
- 1.4 availability problems
- 1.5 related technologies
- 1.6 usage
- 1.7 design considerations
- Conclusion 1.8
Chapter 4 Use XMLHTTPRequest object
- 2.1 XMLHTTPRequest object Overview
- 2.2 Methods and attributes
- 2.3 interaction example
- 2.4 get and post
- 2.5 Remote Script
- 2.6 how to send simple requests
- 2.7 Dom Level 3 load and save the Protocol
- 2.8 dom
- Conclusion 2.9
Chapter 2 communication with servers: sending requests and handling responses
- 3.1 Process Server Response
- 3.2 send Request Parameters
- Conclusion 3.3
Chapter 4 Implementation of basic Ajax technology
- 4.1 verification completed
- 4.2 read the Response Header
- 4.3 dynamically load the list box
- 4.4 create an automatic refresh page
- 4.5 Display progress bar
- 4.6 create a tool prompt
- 4.7 dynamically update web pages
- 4.8 access web services
- 4.9 Automatic completion
- Conclusion 4.10
Chapter 2 construct a complete Ajax Development Toolkit
- 5.1 use jsdoc to create a javascript code document
- 5.1.1 Installation
- 5.1.2 usage
- 5.2 use Firefox extension to verify HTML content
- 5.2.1 HTML validator
- 5.2.2 checky
- 5.3 use Dom inspector to search nodes
- 5.4 use jslint to complete JavaScript syntax check
- 5.5 complete JavaScript compression and fuzzy processing
- 5.6 use Firefox Web development Extension
- 5.7 implement advanced javascript technology
- 5.7.1 use the prototype attribute to create an object-oriented...
- 5.7.2 private attributes and JavaScript Information Hiding...
- 5.7.3 class-based inheritance in Javascript
- 5.7.4 convergence
- Conclusion 5.8
Chapter 4 test JavaScript code using jsunit
- 6.1 question raised by JavaScript
- 6.1.1 test first Method Introduction
- 6.1.2 JUnit introduction
- 6.2 analyze jsunit
- 6.2.1 start
- 6.2.2 write and test
- 6.2.3 run the test
- 6.2.4 use standard/custom query strings
- 6.2.5 use jsunit server
- 6.2.6 get help
- what else can I use 6.2.7?
- 6.3 Summary