Ajax hacks

Ajax, the popular term for Asynchronous JavaScript and XML, is one of the most important combinations of technologies for web developers to know these days. With its rich grouping of technologies, Ajax developers can create interactive web applications with XML-based web services, using JavaScript...

Descripción completa

Detalles Bibliográficos
Autor principal: Perry, Bruce W. (-)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Sebastopol, California : O'Reilly 2006.
Edición:First edition
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627239806719
Tabla de Contenidos:
  • Ajax Hacks; Credits; Contributors; Acknowledgments; Preface; Explaining Ajax; How to Use This Book; How This Book Is Organized; Conventions Used in This Book; Using Code Examples; Safari Enabled; How to Contact Us; Got a Hack?; 1. Ajax Basics; Handle with Care; XMLHttpRequest; 1. Detect Browser Compatibility with the Request Object; 2. Use the Request Object to POST Data to the Server; Ogling the Result; 3. Use Your Own Library for XMLHttpRequest; 4. Receive Data as XML; 5. Get Plain Old Strings; 6. Receive Data as a Number; DOM-inating; 7. Receive Data in JSON Format; On the Server Side
  • 8. Handle Request Object ErrorsFloored Server; Backend Application Out to Lunch; Whoops, Wrong URL; 9. Dig into the HTTP Response; 10. Generate a Styled Message with a CSS File; 11. Generate a Styled User Message on the Fly; 2. Web Forms; What's Next?; 13. Display Text Field or textarea Values Using Server Data; 14. Submit Selection-List Values to the Server Without a Round Trip; Hello Again, JSON; A Dabble of Server-Side; The DOM API; 15. Dynamically Generate a New Selection List Using Server Data; Querying the Server; The Final Step; 16. Extend an Existing Selection List; Hacking the Hack
  • 17. Submit Checkbox Values to the Server Without a Round TripPoll Vault; 18. Dynamically Generate a New Checkbox Group with Server Data; Okay, Where's the Code?; Array Return Value; Hacking the Hack; 19. Populate an Existing Checkbox Group from the Server; Ajax Requests; Here Comes an Array; 20. Change Unordered Lists Using an HTTP Response; 21. Submit Hidden Tag Values to a Server Component; Notifying Home; Logging; 3. Validation; 23. Validate Email Syntax; Checking Out the Email Syntax; Looking at the Code; Checking Email at the Door; On to Validation; The User Message; On Deck
  • 24. Validate Unique UsernamesThe Server Handshake; For Those Server Hackers...; 25. Validate Credit Card Numbers; Shooting the Luhn; 26. Validate Credit Card Security Codes; 27. Validate a Postal Code; 4. Power Hacks for Web Developers; 29. Use the Google Maps API Request Object; Map Objects; Creating Your Own Map; 30. Use Ajax with a Google Maps and Yahoo! Maps Mash-up; Fall Harvest; HTML; Google and Yahoo!, Toe to Toe; Driving Directions; How Do I Get to Latitude...?; What's Next?; 31. Display a Weather.com XML Data Feed; 32. Use Ajax with a Yahoo! Maps and GeoURL Mash-up
  • Mashed-up Requests33. Debug Ajax-Generated Tags in Firefox; 34. Fetch a Postal Code; The Servlet; 35. Create Large, Maintainable Bookmarklets; 36. Use Permanent Client-Side Storage for Ajax Applications; How AMASS Works Internally; 37. Control Browser History with iframes; Browser Demos; 38. Send Cookie Values to a Server Program; JavaScript; The Cookie Object; 39. Use XMLHttpRequest to Scrape an Energy Price from a Web Page; For Java Jocks; 40. Send an Email with XMLHttpRequest; Server Snippet; 41. Find the Browser's Locale Information; Hacking the Hack; 42. Create an RSS Feed Reader
  • How It Works