Ajax with PHP 5 - Helion
ISBN: 978-14-919-1165-5
stron: 56, Format: ebook
Data wydania: 2007-05-21
Księgarnia: Helion
Cena książki: 38,17 zł (poprzednio: 44,38 zł)
Oszczędzasz: 14% (-6,21 zł)
"Ajax with PHP 5" is a detailed overviewof how to use PHP technologies to createinteractive, fault-tolerant, and responsiveweb applications.
This Short Cut first concentrates on thefundamentals of Ajax. Then it coversserving (or providing) content formattedin both XML and JSON.
Finally, we completely immerse ourselvesin the Ajax world and write twoPHP applications that use each markuplanguage on both the client and server.
We encourage you to use the classes andexamples given to produce your own richWeb 2.0-style applications.
Osoby które kupowały "Ajax with PHP 5", wybierały także:
- ASP.NET MVC. Kompletny przewodnik dla programistów interaktywnych aplikacji internetowych w Visual Studio 86,77 zł, (26,90 zł -69%)
- Ajax. Od podstaw 77,00 zł, (38,50 zł -50%)
- Ajax. Implementacje 49,00 zł, (24,50 zł -50%)
- Ajax. Bezpieczne aplikacje internetowe 37,00 zł, (18,50 zł -50%)
- 80 sposobów na Ajax 54,90 zł, (27,45 zł -50%)
Spis treści
Ajax with PHP 5 eBook -- spis treści
- Ajax with PHP 5
- PHP with Ajax
- The "Hello World" of Ajax and PHP
- The PHP File
- The JavaScript
- The XMLHTTPRequestObject
- Ready State and Status
- Unobtrusive JavaScript
- Quick Testing Tips
- Review
- The Example Given
- The CSV File
- Loading and Searching the CSV File
- Serving XML
- Designing an XML File
- The PHP Scripts
- The XMLNode Class
- The XMLPrinter Class
- The Main PHP Script
- If count($_GET) == 0 (the else block)
- If count($_GET) > 0
- The JavaScript
- Parsing XML with JavaScript
- Handling Mal-formatted XML
- Serving JSON
- Designing the JSON File
- Arrays in JSON
- Objects in JSON
- The PHP Scripts
- Printing JSON the easy way with the JSON module
- Printing JSON the harder way with the JSONPrinter Class
- The Main PHP Script
- Parsing JSON Data in JavaScript
- Handling mal-formatted JSON
- An alternative way to evaluate JSON
- Designing the JSON File
- Consuming XML
- Designing the XML Request
- The PHP File
- Parsing XML the easy way with SimpleXML
- Parsing XML the harder way with XMLParser class
- The Search Form
- Adapting the form to use SimpleXML
- Making the Search Form Interactive
- Generating XML Requests with JavaScript
- Putting All the JavaScript Together
- Consuming JSON
- Designing the JSON Request and Response
- Generating the JSON Query with JavaScript
- The JavaScript File
- The PHP File
- Review
- Some Closing Notes
- Additional Resources
- A Brief Word on Toolkits and Frameworks
- Appendix: PHP 4 versus 5
- Type Hinting
- Exception Handling
- __toString()
- Member Visibility
- Static Members
- JSON and XML Support
- Why Use PHP 5 at All?
- About the Author