English | ISBN: 1849512744 | 2011 | 332 pages | PDF + code | 9 MB
jQuery and PHP are the dynamic duo that will allow you to build powerful web applications. This Cookbook is the easy way in with over 60 recipes covering everything from the basics to creating plugins and integrating databases.
Create rich and interactive web applications with PHP and jQuery
Debug and execute jQuery code on a live site
Design interactive forms and menus
Another title in the Packt Cookbook range, which will help you get to grips with PHP as well as jQuery
Who This Book Is For
What You Will Learn
Start from the basics and learn pro-level tricks by the end of the book
Create interactive and dynamic hierarchical menus
Apply eye-catching effects on form elements
Integrate a database along with PHP and jQuery
Use AJAX to enhance user experience and page interaction
Learn how to work with JSON and XML for efficient data exchange
Create tools and utilities for your web applications
Master form validation on client side as well as server side
As web technology evolves, the gap between desktop applications and web applications continues to vanish. And what better way to bridge that gap, for your own website, than using the best two open source technologies in the market: PHP and jQuery. The power-combo of these two is leading the way in revolutionizing the RIA world. Although they are easy to integrate, finding or figuring out how to do what you want to do is rather arduous.
The PHP jQuery Cookbook will be your handy guide with walkthroughs of common integration tasks and problems that will help you master the possibilities available using the PHP and jQuery combo. You will learn quick solutions to necessary tasks to integrate the power of two of the best known and most widely used web technologies of today - PHP on the server side and jQuery on the client side. Glide through the basics and move to advanced topics to create dynamic and interactive web applications with this book in hand.
This book covers a wide array of technical aspects of creating an interactive website. Apart from basics of PHP and jQuery, you will go through advanced topics like creating plugins, validating controls, and useful utilities that you will be able to use as stand-alone tools. AJAX, the key technique of browser-server communication is covered in detail. You will also learn to use JSON, which is becoming preferred as a mode of data interchange over XML, both in web applications and web services.
Most importantly, by using jQuery and PHP together, you will be able to develop applications that are compatible with all major browsers, with no need to write code targeted at specific browsers!