PHP Ajax Cookbook
eBook - ePub

PHP Ajax Cookbook

Milan Sedliak, R. Rajesh Jeba Anbiah, Roshan Bhattarai

Partager le livre
  1. 340 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

PHP Ajax Cookbook

Milan Sedliak, R. Rajesh Jeba Anbiah, Roshan Bhattarai

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

À propos de ce livre

In Detail

Ajax is the necessary paradigm in Web 2.0 sites. Most of the Web 2.0 sites are built with PHP and Ajax. Extending AJAX is about delivering front-end service for accessing back-end services in PHP in a quick and easy manner. With this book in hand, you will learn how to use the necessary tools for Ajaxification of websites and iPhones.

PHP AJAX cookbook will teach you how to use the combination of PHP AJAX as a powerful platform for websites or web applications. Using AJAX for Communication with Server leads to faster response with PHP at the back-end services. The combination of AJAX PHP has many features such as speeding up the user experience, giving your web client much quicker response time and letting the client browser retrieve data from the server without having to refresh the whole page. You will learn the nuances of optimization and debugging Ajax applications. Further, you will learn how to program Ajax on iPhone devices.

This book will teach you popular selector-based JavaScript followed by important concepts on debugging, optimization and best practices. There is a collection of recipes focused on creating basic utilities such as validating form using Ajax and creating a five star rating system. As jQuery is quite popular, useful tools and jQuery plugins like Ajax tooltips, tab navigation, autocomplete, shopping cart, and Ajax chat are covered subsequently. By the end of chapter 7 you will learn to visually speed up website responsiveness to building SEO-friendly Ajax websites. Also get to know about all popular Ajax webservices and APIs like Twitter, Facebook and Google Maps which are covered in Ajax Mashups. Finally, step-by-step recipes are presented to build iPhone apps using basic libraries and everyday useful Ajax tools.

Build rich interactive web 2.0 sites with rich standards and Mashups around PHP Ajax.

Approach

This book contains a collection of recipes with step-by-step directions to build SEO-friendly websites using standard Ajax tools. Each recipe contains behind-the-scene explanations to PHP Ajax questions.

Who this book is for

This book is an ideal resource for people who like to add Ajax features to websites and who prefer standards and best practices for building SEO-friendly websites. As the book covers advanced topics, readers need to be aware of basic PHP, JavaScript and XML features.

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que PHP Ajax Cookbook est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  PHP Ajax Cookbook par Milan Sedliak, R. Rajesh Jeba Anbiah, Roshan Bhattarai en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Informatica et Sviluppo di applicazioni. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2011
ISBN
9781849513081
Édition
1

PHP Ajax Cookbook


Table of Contents

PHP Ajax Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. AJAX Libraries
Designing simple navigation using jQuery
Getting ready
How to do it...
How it works...
There's more...
See also
Creating tab navigation
Getting ready
How to do it...
How it works...
There's more...
See also
Designing components using Ext JS
Getting ready
How to do it...
How it works...
There's more...
Event handling in MochiKit
Getting ready
How to do it...
How it works...
There's more...
Building a tab navigation using Dojo
Getting ready
How to do it...
How it works...
Building a chart application using YUI library
Getting ready
How to do it...
How it works...
There's more...
Loading dynamic content using jQuery slider
Getting ready
How to do it...
How it works...
There's more...
See also
Creating an AJAX shopping cart using MooTools
Getting ready
How to do it...
How it works...
There's more...
Building an AJAX login form using prototype.js
Getting ready
How to do it...
How it works...
There's more...
2. Basic Utilities
Validating a form using Ajax
Getting ready
How to do it...
How it works...
There's more...
See also
Creating an autosuggest control
Getting ready
How to do it...
How it works...
There's more...
Making Form Wizards
Getting ready
How to do it...
How it works...
There's more...
Uploading a file using Ajax
Getting ready
How to do it...
How it works...
There's more...
Uploading multiple files using Ajax
Getting ready
How to do it...
How it works...
There's more...
Creating a five-star rating system
Getting ready
How to do it...
How it works...
There's more...
Building a PHP Ajax contact form with validation
How to do it...
How it works...
There's more...
Displaying a table in Ajax
Getting ready
How to do it...
How it works...
There's more...
Building Pagination using PHP and Ajax
How to do it...
How it works...
There's more...
3. Useful Tools Using jQuery
Making tool tips using Ajax
Getting ready
How to do it...
How it works...
There's more...
Creating Autocomplete from a database
Getting ready
How to do it...
How it works...
There's more...
Building a tab navigation using jQuery
Getting ready
How to do it...
How it works...
There's more...
See also
Rotating content
Getting ready
How to do it...
How it works...
There's more...
Creating an image slider
Getting ready
How to do it...
How it works...
There's more...
Creating pageless pagination
Getting ready
How to do it...
How it works...
There's more...
Loading images using Lightbox
Getting ready
How to do it...
How it works...
There's more...
Growing textarea using the jGrow plugin
Getting ready
How to do it...
How it works...
There's more...
HTML replacement of the select dropdown
Getting ready
How to do it...
How it works...
There's more...
Improving date selection with Datepicker
Getting ready
How to do it...
How it works...
There's more...
Drag-and-drop functionality
Getting ready
How to do it...
How it works...
There's more...
Ajax shopping cart
Getting ready
How to do it...
How it works...
There's more...
Sorting and filtering data
Getting ready
How to do it...
How it works...
There's more...
Adding visual effects and animations
Getting ready
How to do it...
How it works...
There's more...
4. Advanced Utilities
Building an Ajax chat system using the Comet technique
Getting ready
How to do it...
How it works...
Charting with JavaScript
Getting ready
How it works...
Drawing a line chart
Drawing a bar chart
Drawing a 3D pie chart
Decoding CAPTCHA through canvas
Getting ready
How to do it...
How it works...
There's more...
Displaying data in a grid
Getting ready
How to do it...
How it works...
There's more...
Other data grid plugins
Displaying millions of data items
5. Debugging and Troubleshooting
Debugging with Firebug and FirePHP
Debugging with Firebug
How to do it...
How it works...
There's more...
Debugging with FirePHP
Getting ready
How it works...
There's more...
Debugging with the IE developer toolbar
Getting ready
How to do it...
Avoiding the framework $ conflict
Getting ready
How to do it...
How it works...
Using the anonymous function of JavaScript
How to do it...
How it works...
There's more...
Fixing memory leaks in JavaScript
What is a memory leak?
What might cause a memory leak?
Fixing memory leaks
How to do it...
How it works...
There's more...
Sequencing Ajax Requests
How to do it ...
How it works...
Cross Browser and Ajax
Beautifying JavaScript
6. Optimization
Caching of objects
Getting ready
How to do it...
How it works...
Getting optimization tips with YSlow
Getting ready
How to do it...
How it works...
There's more...
Speeding up JavaScript delivery through automatic compression and browser caching
Getting ready
How to do it...
How it works...
There's more...
Comparing JavaScript minification tools
Automatic speed up tools
Triggering JavaScript early/on DOM load
Getting ready
How to do it...
How it works...
DOMContentLoaded and workarounds
There's more...
Lazy-loading of images
Getting ready
How to do it...
Pure JavaScript approach
Mangled HTML markup
How it works...
There's more...
Lazy-loading plugins
Lazy/deferred script loading
Optimizing Ajax applications automagically through Apache modules/Google mod_pagespeed
Getting ready
How to do it...
How it works...
There's more...
Testing HTTP headers
Testing mod_pagespeed without installing
Page Speed Service
7. Implementing Best Practices to Build Ajax Websites
Avoiding HTML markup-specific coding
Getting ready
How to do...

Table des matiĂšres