售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
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 it...
How it works...
Introducing protocols through naming conventions:
Approaching the problem statement:
There's more...
console.warn()
Building secure Ajax websites
Getting ready
How to do it...
Common mistakes on Ajax applications
How it works...
There's more...
Exploit-Me
WebInspect
Resources
Building SEO-friendly Ajax websites
Getting ready
How to do it...
How it works...
Google's proposal
Preserving browser history or un-breaking the browser's back button
Getting ready
How to do it...
How it works...
Implementing comet PHP and Ajax
Getting ready
How to do it...
How it works...
8. Ajax Mashups
Web services
SOAP
REST
XML-RPC
Creating and consuming web services using PHP
Getting ready
How to do it...
Example of a Wikipedia API call using PHP
How it works...
Using Flickr API with Ajax
Getting ready
How to do it...
How it works...
There's more...
Using Twitter API with Ajax
Getting ready
How to do it...
How it works...
Translating text using Google Ajax API
Getting ready
How to do it...
How it works...
Using Google Maps
Getting ready
How to do it...
How it works...
Searching a location within a Google Map
Getting ready
How to do it...
How it works...
Searching within XX km. radius of Google Maps with markers and Info window
Getting ready
Haversine formula for calculating circular distance
Creating the table
How to do it...
How it works...
Finding a city/country using IP address
Getting ready
How to do it...
How it works...
Converting currencies using Ajax and PHP
Getting started
How to do it...
How it works...
9. iPhone and Ajax
Building a touch version of a website (with jQTouch)
Getting ready
How to do it...
How it works...
There's more...
Online iPhone icon generator
Leveraging HTML5 features in iPhone Ajax
Getting ready
How to do it...
How it works...
There's more...
HTML5 demos
Persist JS
Building native apps with PhoneGap
Getting ready
How to do it...
How it works...
There's more...
Getting Started Guide/Help Wizard
Speeding up a PhoneGap project
Getting ready
How to do it...
How it works...
There's more...
Building a currency conversion hybrid app
Getting ready
How to do it...
How it works...
There's more...
Mustache
drink, jQuery micro template
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜