مشخصات کتاب
-
Rebecca M. Riordan
-
2015
-
انگلیسی
-
20461
-
1118
-
0
کتاب Head First Ajax
Section 1.1. Web pages: the old-fashioned approach..................................................................................................................... 2
Section 1.2. Web pages reinvented................................................................................................................................................. 3
Section 1.3. So what makes a page "Ajax"?..................................................................................................................................... 5
Section 1.4. Rob's Rock 'n' Roll Memorabilia................................................................................................................................. 6
Section 1.5. Ajax and rock 'n' roll in 5 steps.................................................................................................................................. 12
Section 1.6. Step 1: Modify the XHTML........................................................................................................................................ 14
Section 1.7. Step 2: Initialize the JavaScript................................................................................................................................. 16
Section 1.8. Step 3: Create a request object.................................................................................................................................. 20
Section 1.9. Step 4: Get the item's details..................................................................................................................................... 22
Section 1.10. Let's write the code for requesting an item's details............................................................................................... 24
Section 1.11. Always make sure you have a request object before working with it...................................................................... 25
Section 1.12. The request object is just an object......................................................................................................................... 26
Section 1.13. Hey, server... will you call me back at displayDetails(), please?............................................................................. 27
Section 1.14. Use send() to send your request.............................................................................................................................. 28
Section 1.15. The server usually returns data to Ajax requests.................................................................................................... 30
Section 1.16. Ajax is server-agnostic.............................................................................................................................................. 31
Section 1.17. Use a callback function to work with data the server returns................................................................................. 35
Section 1.18. Get the server's response from the request object's responseText property.......................................................... 36
Section 1.19. Goodbye traditional web apps................................................................................................................................. 38
Section 1.20. AjaxAcrostic............................................................................................................................................................. 39