PHP Ajax Cookbook
eBook - ePub

PHP Ajax Cookbook

Milan Sedliak, R. Rajesh Jeba Anbiah, Roshan Bhattarai

Buch teilen
  1. 340 Seiten
  2. English
  3. ePUB (handyfreundlich)
  4. Über iOS und Android verfügbar
eBook - ePub

PHP Ajax Cookbook

Milan Sedliak, R. Rajesh Jeba Anbiah, Roshan Bhattarai

Angaben zum Buch
Buchvorschau
Inhaltsverzeichnis
Quellenangaben

Über dieses Buch

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.

Häufig gestellte Fragen

Wie kann ich mein Abo kündigen?
Gehe einfach zum Kontobereich in den Einstellungen und klicke auf „Abo kündigen“ – ganz einfach. Nachdem du gekündigt hast, bleibt deine Mitgliedschaft für den verbleibenden Abozeitraum, den du bereits bezahlt hast, aktiv. Mehr Informationen hier.
(Wie) Kann ich Bücher herunterladen?
Derzeit stehen all unsere auf Mobilgeräte reagierenden ePub-Bücher zum Download über die App zur Verfügung. Die meisten unserer PDFs stehen ebenfalls zum Download bereit; wir arbeiten daran, auch die übrigen PDFs zum Download anzubieten, bei denen dies aktuell noch nicht möglich ist. Weitere Informationen hier.
Welcher Unterschied besteht bei den Preisen zwischen den Aboplänen?
Mit beiden Aboplänen erhältst du vollen Zugang zur Bibliothek und allen Funktionen von Perlego. Die einzigen Unterschiede bestehen im Preis und dem Abozeitraum: Mit dem Jahresabo sparst du auf 12 Monate gerechnet im Vergleich zum Monatsabo rund 30 %.
Was ist Perlego?
Wir sind ein Online-Abodienst für Lehrbücher, bei dem du für weniger als den Preis eines einzelnen Buches pro Monat Zugang zu einer ganzen Online-Bibliothek erhältst. Mit über 1 Million Büchern zu über 1.000 verschiedenen Themen haben wir bestimmt alles, was du brauchst! Weitere Informationen hier.
Unterstützt Perlego Text-zu-Sprache?
Achte auf das Symbol zum Vorlesen in deinem nächsten Buch, um zu sehen, ob du es dir auch anhören kannst. Bei diesem Tool wird dir Text laut vorgelesen, wobei der Text beim Vorlesen auch grafisch hervorgehoben wird. Du kannst das Vorlesen jederzeit anhalten, beschleunigen und verlangsamen. Weitere Informationen hier.
Ist PHP Ajax Cookbook als Online-PDF/ePub verfügbar?
Ja, du hast Zugang zu PHP Ajax Cookbook von Milan Sedliak, R. Rajesh Jeba Anbiah, Roshan Bhattarai im PDF- und/oder ePub-Format sowie zu anderen beliebten Büchern aus Informatica & Sviluppo di applicazioni. Aus unserem Katalog stehen dir über 1 Million Bücher zur Verfügung.

Information

Jahr
2011
ISBN
9781849513081

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

Inhaltsverzeichnis