PHP Ajax Cookbook
eBook - ePub

PHP Ajax Cookbook

Milan Sedliak, R. Rajesh Jeba Anbiah, Roshan Bhattarai

Condividi libro
  1. 340 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub

PHP Ajax Cookbook

Milan Sedliak, R. Rajesh Jeba Anbiah, Roshan Bhattarai

Dettagli del libro
Anteprima del libro
Indice dei contenuti
Citazioni

Informazioni sul libro

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.

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
PHP Ajax Cookbook è disponibile online in formato PDF/ePub?
Sì, puoi accedere a PHP Ajax Cookbook di Milan Sedliak, R. Rajesh Jeba Anbiah, Roshan Bhattarai in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Informatica e Sviluppo di applicazioni. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Anno
2011
ISBN
9781849513081
Edizione
1
Argomento
Informatica

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...

Indice dei contenuti