1. Trang chủ
  2. » Công Nghệ Thông Tin

Ajax For Dumies phần 1 docx

30 316 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 30
Dung lượng 668,97 KB

Nội dung

[...]... Introduction 1 Part I: Getting Started 7 Chapter 1: Ajax 10 1 9 Chapter 2: It’s All About JavaScript . 21 Part II: Programming in Ajax .73 Chapter 3: Getting to Know Ajax 75 Chapter 4: Ajax in Depth 11 3 Part III: Ajax Frameworks 15 1 Chapter 5: Introducing Ajax Frameworks 15 3 Chapter 6: More Powerful Ajax Frameworks 18 1 Chapter 7:... Chapter 1: Ajax 10 1 9 How Does Ajax Work? 10 A user’s perspective 10 A developer’s perspective 11 What Can You Do with Ajax? .12 Searching in real time with live searches 12 Getting the answer with autocomplete .13 Chatting with friends 14 Dragging and dropping with Ajax .15 Gaming with Ajax 16 ... 15 1 Chapter 5: Introducing Ajax Frameworks 15 3 A Little More Ajax Power 15 4 Introducing the Ajax Gold Framework 15 7 Using GET to get text 15 8 Using GET to get XML 16 2 Using POST to post data and get text 16 6 Using POST to post data and get XML 17 0 Finding Ajax Frameworks in the Wild 17 3 Easy Ajax with AJAXLib .17 4 Grabbing... JavaScript object 11 8 Connecting to Google for a Live Search 12 0 Handling the data Google sends you .12 1 Detecting keystrokes 12 2 Connecting to Google Suggest 12 3 Showing Google’s response .12 5 Calling a Different Domain 13 0 Reversing the Roles: Performing Validation on the Server 13 1 Getting Some Amazing Data with HEAD Requests 13 4 Returning all the... libXmlRequest 17 6 xiii xiv Ajax For Dummies Chapter 6: More Powerful Ajax Frameworks 18 1 Dragging and Dropping with Shopping Carts 18 2 Handling mouse events .18 5 Handling mouse down events 18 7 Handling mouse-move events 18 9 Handling mouse up events 18 9 Updating the shopping cart 19 1 Looking at Some Heavier-Weight Frameworks 19 4 Getting... 13 5 Finding the last-modified date 13 6 Does a URL exist? .13 9 Finding the Problem: Debugging Ajax .14 0 Setting up your browser for debugging 14 0 Debugging with Greasemonkey 14 2 Overload: Handling Multiple Concurrent Requests .14 3 Double the fun 14 4 Packing it all into an array .14 6 Getting the inside scoop on inner functions 14 7 Part III: Ajax. .. data from XML 10 2 Listing the colors in the drop-down control 10 4 Passing Data to the Server with GET .10 6 Passing Data to the Server with POST .10 9 Chapter 4: Ajax in Depth 11 3 Returning JavaScript from the Server .11 4 When do you send back JavaScript from the server? 11 4 How does returning JavaScript work? .11 4 Returning a JavaScript... Server-Side Ajax Frameworks 213 Part IV: In-Depth Ajax Power 235 Chapter 8: Handling XML int Ajax Applications 237 Chapter 9: Working with Cascading Style Sheets in Ajax Applications 269 Chapter 10 : Working with Ajax and PHP 297 Part V: The Part of Tens 323 Chapter 11 : Ten Ajax Design Issues You Should Know About 325 Chapter 12 : Ten Super-Useful Ajax Resources 3 31. .. 19 4 The Simple AJAX Code Kit: Sack 19 6 Parsing XML with Interactive Website Framework 19 8 Handling older browsers with HTMLHttpRequest .19 9 Decoding XML with Sarissa .2 01 Creating visual effects with Rico 204 Overcoming caching with the Http framework 211 Chapter 7: Server-Side Ajax Frameworks 213 Writing JavaScript by Using Ajax Frameworks . 213 ... Browser’s Cache 329 Chapter 12 : Ten Super-Useful Ajax Resources 3 31 The Original Ajax Page 3 31 The Ajax Patterns Page .332 The Wikipedia Ajax Page .332 Ajax Matters 332 XMLHttpRequest Object References 333 Ajax Blogs 333 Ajax Examples .334 Ajax Tutorials .334 Ajax Discussion Group 334 . Holzner, PhD Ajax FOR DUMmIES ‰ 01_ 785970 ffirs.qxp 1/ 20/06 10 : 51 AM Page iii 01_ 785970 ffirs.qxp 1/ 20/06 10 : 51 AM Page ii Ajax FOR DUMmIES ‰ 01_ 785970 ffirs.qxp 1/ 20/06 10 : 51 AM Page i 01_ 785970. i 01_ 785970 ffirs.qxp 1/ 20/06 10 : 51 AM Page ii by Steve Holzner, PhD Ajax FOR DUMmIES ‰ 01_ 785970 ffirs.qxp 1/ 20/06 10 : 51 AM Page iii Ajax For Dummies ® Published by Wiley Publishing, Inc. 11 1 River Street Hoboken,. commercial Ajax programming. 01_ 785970 ffirs.qxp 1/ 20/06 10 : 51 AM Page v 01_ 785970 ffirs.qxp 1/ 20/06 10 : 51 AM Page vi Dedication To Nancy, of course! 01_ 785970 ffirs.qxp 1/ 20/06 10 : 51 AM Page

Ngày đăng: 05/08/2014, 10:20