Cover image for AJAX and PHP Building Modern Web Applications 2nd Edition : Building Modern Web Applications.
AJAX and PHP Building Modern Web Applications 2nd Edition : Building Modern Web Applications.
Title:
AJAX and PHP Building Modern Web Applications 2nd Edition : Building Modern Web Applications.
Author:
Hendrix, Audra.
ISBN:
9781847197733
Personal Author:
Edition:
2nd ed.
Physical Description:
1 online resource (320 pages)
Contents:
AJAX and PHP -- Table of Contents -- AJAX and PHP -- Credits -- About the Authors -- About the Reviewer -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Errata -- Piracy -- Questions -- 1. The World of AJAX and PHP -- The big picture -- AJAX and Web 2.0 -- Building websites since 1990 -- HTTP and HTML -- PHP and other server-side technologies -- JavaScript and other client-side technologies -- What's missing? -- The world of AJAX -- What is AJAX made of? -- Uses and misuses of AJAX -- Resources and tools -- Setting up your environment -- Building a simple application with AJAX and PHP -- Time for action - Quickstart AJAX -- What just happened? -- Summary -- 2. JavaScript and the AJAX Client -- JavaScript and the Document Object Model -- Time for action - playing with JavaScript and the DOM -- What just happened? -- JavaScript events and the DOM -- Time for action - using JavaScript events and the DOM -- What just happened? -- Even more DOM -- Time for action - even more DOM -- What just happened? -- JavaScript, DOM, and CSS -- Time for action - working with CSS and JavaScript -- What just happened? -- Using the XMLHttpRequest object -- Creating the XMLHttpRequest object -- JavaScript exception handling -- Creating better objects for Internet Explorer 6 -- Initiating server requests using XMLHttpRequest -- Handling server response -- Time for action - making asynchronous calls with XMLHttpRequest -- What just happened? -- Working with XML structures -- Time for action - making asynchronous calls with XMLHttpRequest and XML -- What just happened? -- Handling more errors and throwing exceptions -- Creating XML structures -- Summary -- 3. Object Oriented JavaScript -- Why is OOP in JavaScript important? -- Object-oriented programming concepts.

Encapsulation -- Inheritance -- Polymorphism -- Object-oriented programming with JavaScript -- JavaScript objects are dictionaries -- JavaScript functions -- JavaScript functions are first-class objects -- Inner functions -- Closures -- JavaScript classes -- Constructors -- Class diagrams -- Referencing external functions -- Prototype objects -- Instance methods and properties -- Static methods and properties -- Private members -- The JavaScript execution context -- var x, this.x, and x -- Using the right context -- JavaScript OOP in practice: Introducing JSON -- JSON concepts -- A simple JSON example -- Time for action - using JSON -- Summary -- 4. Using PHP and MySQL on the Server -- PHP, DOM, and XML -- Time for action - server-side AJAX with PHP and XML -- What just happened? -- PHP and JSON -- Time for action - server-side AJAX with PHP and JSON -- What just happened? -- Passing parameters and handling PHP errors -- Time for action - passing PHP parameters and error handling -- What just happened? -- divide.php -- error_handler.php -- handleServerResponse() -- Working with MySQL -- Creating database tables -- Manipulating data -- Connecting to your database and executing queries -- Time for action - working with PHP and MySQL -- What just happened? -- Summary -- 5. AJAX Form Validation -- Implementing AJAX form validation -- XMLHttpRequest, version 2 -- Time for action - the XmlHttp object -- What just happened? -- AJAX form validation -- Time for action - AJAX form validation -- What just happened? -- Summary -- 6. Debugging and Profiling AJAX Applications -- Debugging and profiling with Internet Explorer -- Enabling debugging in Internet Explorer 6 and 7 -- Debugging in Internet Explorer 8 -- Other Internet Explorer debugging tools -- Debugging and profiling with Firefox -- Firebug -- Venkman JavaScript debugger -- Web Developer -- Summary.

7. Advanced Patterns and Techniques -- Predictive fetching pattern -- Progress indicator pattern -- Unobtrusive JavaScript -- Progressive enhancement and graceful degradation -- Asynchronous file upload with AJAX -- HTTP and how file upload works -- Iframe for asynchronous file upload with AJAX -- Time for action - asynchronous file upload with AJAX -- What just happened? -- Cross-domain calls -- Cross-domain calls using a server proxy -- Cross-domain calls using Flash -- Cross-domain calls using iframes -- Cross-domain calls using JSONP -- Cross-site request forgery -- JSON hijacking -- Mitigations of CSRF -- Cross-site scripting -- Exploits -- Non-persistent XSS -- Persistent XSS -- Mitigations of XSS -- Input validation -- Escaping -- Cookies security -- Summary -- 8. AJAX Chat with jQuery -- Chatting using AJAX -- jQuery -- Before we get started -- The first steps -- jQuery DOM Selectors -- jQuery wrapper object -- Method chaining -- Event handling -- A simple example -- Basic concepts -- AJAX chat -- The chat application -- Time for action - implementing AJAX chat with JSON -- What just happened? -- How does the color picker work? -- Summary -- 9. AJAX Grid -- Implementing the AJAX data grid -- Code overview -- The database -- Styles and colors -- The server side -- Creating the grid, step by step -- Summary -- A. Preparing Your Working Environment -- Installing XAMPP -- Installing XAMPP on Windows -- Installing XAMPP on Linux -- Preparing the AJAX database -- Index.
Abstract:
Build user friendly Web 2.0 Applications with JavaScript and PHP.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: