05004nam 2200709 a 450 991100475010332120240516183828.01-62198-891-01-282-45161-897866124516141-84719-773-6(CKB)2670000000036264(EBL)946922(OCoLC)796382936(SSID)ssj0000404069(PQKBManifestationID)12136566(PQKBTitleCode)TC0000404069(PQKBWorkID)10437612(PQKB)10951603(MiAaPQ)EBC946922(Au-PeEL)EBL946922(CaPaEBR)ebr10430364(CaONFJC)MIL245161(PPN)228048044(EXLCZ)99267000000003626420101220d2009 uy 0engurcn|||||||||txtccrAJAX and PHP building modern web applications /Bogdan Brinzarea-Iamandi, Cristian Darie, Audra Hendrix2nd ed.Birmingham, U.K. Packt Pub.20091 online resource (308 p.)From technologies to solutionsBuild user-friendly Web 2.0 applications with JavaScript and PHP.Includes index.1-84719-772-8 Cover; Copyright; Credits; About the Authors; About the Reviewer; Table of Contents; Preface; Chapter 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; Summary; Chapter 2: JavaScript and the AJAX Client; JavaScript and the Document Object ModelJavaScript events and the DOMEven more DOM; JavaScript, DOM, and CSS; Using the XMLHttpRequest object; Creating the XMLHttp Request object; JavaScript exception handling; Creating better objects for Internet Explorer 6; Initiating server requests using XMLHttp Request; Handling server response; Working with XML structures; Handling more errors and throwing exceptions; Creating XML structures; Summary; Chapter 3: Object Oriented JavaScript; Why is OOP in JavaScript important?; Object-oriented programming concepts; Encapsulation; Inheritance; PolymorphismObject-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; Summary; Chapter 4: Using PHP and MySQL on the Server; PHP, DOM, and XMLPHP and JSONPassing parameters and handling PHP errors; Working with MySQL; Creating database tables; Manipulating data; Connecting to your database and executing queries; Summary; Chapter 5: AJAX Form Validation; Implementing AJAX form validation; XMLHttp Request, version 2; Implementing the AJAX form validation; Summary; Chapter 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; FirebugVenkman JavaScript debugger Web Developer; Summary; Chapter 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; 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; Cross-site scripting; ExploitsNon-persistent XSSBuild user friendly Web 2.0 Applications with JavaScript and PHPFrom technologies to solutions.Ajax (Web site development technology)PHP (Computer program language)Ajax (Web site development technology)PHP (Computer program language)005.2762Brinzarea Bogdan1824944Darie Cristian1824945Hendrix Audra1824946MiAaPQMiAaPQMiAaPQBOOK9911004750103321AJAX and PHP4392369UNINA