没有合适的资源?快使用搜索试试~ 我知道了~
Beginning Ajax with PHP
需积分: 3 142 下载量 20 浏览量
2007-09-10
16:36:53
上传
评论
收藏 3.88MB PDF 举报
温馨提示
试读
270页
Beginning Ajax with PHP From Novice to Professional
资源推荐
资源详情
资源评论
this print for content only—size & color not accurate spine = 0.638" 272 page count
BOOKS FOR PROFESSIONALS BY PROFESSIONALS
®
Beginning Ajax with PHP: From
Novice to Professional
Dear Reader,
With the emergence of Ajax, gone are the days of clicking and waiting on the
Web. Users now have the luxury of accessing desktop-like applications from any
computer hosting a browser and an Internet connection. Likewise, developers
now have more reason than ever to migrate their applications to an environment
that has the potential for unlimited users.
Yet despite all that Ajax promises, many web developers readily admit being
intimidated by the need to learn JavaScript (a key Ajax technology). Not to
worry! I wrote this book to show PHP users how to incorporate Ajax into their
web applications without necessarily getting bogged down in confusing
JavaScript syntax. I’ve chosen to introduce the topic by way of practical examples
and real-world applications. After a rapid introduction to Ajax fundamentals,
you’ll learn how to effectively use Ajax and PHP together, followed by further
instruction regarding dynamically updating pages using data retrieved from a
MySQL database. From there, you’ll learn how to create practical Ajax-driven
features such as a dynamic file upload and thumbnail-generation tools, culmi-
nating in the creation of an Ajax-based photo gallery.
In later chapters, I focus on other timely topics, such as web services and
building spatially enabled web applications using the Google Maps API. The
book concludes with an overview of topics that will make you a more effective
Ajax developer, including a look at cross-browser issues, security, testing and
debugging, and finally, an introduction to the document object model (DOM).
Lee Babin
Coauthor of
PHP 5 Recipes: A Problem-
Solution Approach
US $34.99
Shelve in
PHP
User level:
Beginner–Intermediate
Babin
Beginning
Ajax
with
PHP
THE EXPERT’S VOICE
®
IN OPEN SOURCE
Lee Babin
Beginning
Ajax with PHP
From Novice to Professional
CYAN
MAGENTA
YELLOW
BLACK
PANTONE 123 CV
ISBN 1-59059-667-6
9781590596678
53499
6 89253 59667 8
www.apress.com
SOURCE CODE ONLINE
Companion eBook
See last page for details
on $10 eBook version
forums.apress.com
FOR PROFESSIONALS
BY PROFESSIONALS
™
Join online discussions:
THE APRESS ROADMAP
Beginning XML
with DOM and Ajax
Beginning Google Maps
Applications with PHP
and Ajax
Beginning
PHP and MySQL 5,
Second Edition
Beginning Ajax with PHP
Ajax Patterns
and Best Practices
Ajax and REST Recipes
PHP 5 Objects, Patterns,
and Practice
Companion
eBook
Available
Build powerful interactive web applications by
harnessing the collective power of PHP and Ajax!
Lee Babin
Beginning Ajax with PHP
From Novice to Professional
6676FM.qxd 9/27/06 11:49 AM Page i
Beginning Ajax with PHP: From Novice to Professional
Copyright © 2007 by Lee Babin
All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means,
electronic or mechanical, including photocopying, recording, or by any information storage or retrieval
system, without the prior written permission of the copyright owner and the publisher.
ISBN-13 (pbk): 978-1-59059-667-8
ISBN-10 (pbk): 1-59059-667-6
Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1
Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence
of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark
owner, with no intention of infringement of the trademark.
Lead Editor: Jason Gilmore
Technical Reviewer: Quentin Zervaas
Editorial Board: Steve Anglin, Ewan Buckingham, Gary Cornell, Jason Gilmore, Jonathan Gennick,
Jonathan Hassell, James Huddleston, Chris Mills, Matthew Moodie, Dominic Shakeshaft,
Jim Sumser, Keir Thomas, Matt Wade
Project Manager: Richard Dal Porto
Copy Edit Manager: Nicole Flores
Copy Editors: Damon Larson, Jennifer Whipple
Assistant Production Director: Kari Brooks-Copony
Production Editor: Laura Esterman
Compositor: Dina Quan
Proofreader: Lori Bring
Indexer: John Collin
Artist: April Milne
Cover Designer: Kurt Krames
Manufacturing Director: Tom Debolski
Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor,
New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail orders-ny@springer-sbm.com, or
visit http://www.springeronline.com.
For information on translations, please contact Apress directly at 2560 Ninth Street, Suite 219, Berkeley,
CA 94710. Phone 510-549-5930, fax 510-549-5939, e-mail info@apress.com, or visit http://www.apress.com.
The information in this book is distributed on an “as is” basis, without warranty. Although every precaution
has been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability to
any person or entity with respect to any loss or damage caused or alleged to be caused directly or indi-
rectly by the information contained in this work.
The source code for this book is available to readers at http://www.apress.com in the Source Code/
Download section.
6676FM.qxd 9/27/06 11:49 AM Page ii
Contents at a Glance
About the Author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
About the Technical Reviewer
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Acknowledgments
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
■CHAPTER 1 Introducing Ajax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
■CHAPTER 2 Ajax Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
■CHAPTER 3 PHP and Ajax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
■CHAPTER 4 Database-Driven Ajax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
■CHAPTER 5 Forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
■CHAPTER 6 Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
■CHAPTER 7 A Real-World Ajax Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
■CHAPTER 8 Ergonomic Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
■CHAPTER 9 Web Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
■CHAPTER 10 Spatially Enabled Web Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
■CHAPTER 11 Cross-Browser Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
■CHAPTER 12 Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
■CHAPTER 13 Testing and Debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
■CHAPTER 14 The DOM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
■INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
iii
6676FM.qxd 9/27/06 11:49 AM Page iii
6676FM.qxd 9/27/06 11:49 AM Page iv
剩余269页未读,继续阅读
资源评论
ker79
- 粉丝: 196
- 资源: 1075
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功