没有合适的资源?快使用搜索试试~ 我知道了~
Ajax and REST Recipes.pdf 高清下载
5星 · 超过95%的资源 需积分: 9 8 下载量 16 浏览量
2013-03-25
22:27:28
上传
评论
收藏 20.38MB PDF 举报
温馨提示
试读
358页
Ajax and REST Recipes.pdf 高清下载 Ajax and REST Recipes.pdf 高清下载 Ajax and REST Recipes.pdf 高清下载
资源推荐
资源详情
资源评论
this print for content only—size & color not accurate spine = 0.838" 360 page count
BOOKS FOR PROFESSIONALS BY PROFESSIONALS
®
Ajax and REST Recipes:
A Problem-Solution Approach
Dear Reader,
Ajax and REST Recipes: A Problem-Solution Approach serves all of your Ajax
needs by providing adaptable solutions for common tasks you’ll want to imple-
ment on Web sites using the next generation of Ajax and REST techniques. As a
developer, your time is precious, and you want to solve problems that present
themselves in your work as quickly as possible. You can do so by adapting the
code in this book for your own applications.
To write an effective Ajax application, you need to understand two topics:
JavaScript and REST. These topics make up the core of this book, along with the
practice of writing applications using Ajax and REST Web services to decouple
the client from the server, making it possible for you to write systems that can
be the basis for mashups and other clients that may not be Ajax based.
Throughout the first half of the book, I present solutions to many isolated
issues encountered when architecting and developing Ajax applications, such
as performing unit tests and test-driven development; implementing error and
exception handling; defining REST Web service contracts; creating JavaScript
mixins, generics, and code blocks; performing data validation; and creating
dynamic layouts.
The second half of the book takes a slightly different approach, combining
several recipes that work in context together into larger projects and giving you
a taste of how to implement real-world Ajax solutions. You’ll create a powerful
Ajax shopping cart to give you much greater flexibility and control over data
access than traditional solutions, a universal stock ticker application that can
handle several different flavors of data source in real time, and much more.
So have a look through this book’s table of contents. If you are a serious web
application developer, the topics covered in this book will surely appeal to you.
Christian Gross
Author of
How to Code .NET: Tips and
Tricks for Coding .NET 1.1
and .NET 2.0 Applications
Effectively
Ajax Patterns
and Best Practices
Foundations of Object-
Oriented Programming
Using .NET 2.0 Patterns
US $44.99
Shelve in
Web Development
User level:
Intermediate–Advanced
Gross
Ajax and REST Recipes
THE EXPERT’S VOICE
®
IN WEB DEVELOPMENT
Christian Gross
Ajax
and
REST Recipes
A Problem-Solution Approach
CYAN
MAGENTA
YELLOW
BLACK
PANTONE 123 CV
ISBN 1-59059-734-6
9
781590 597347
54499
6
89
253 59734
7
Companion
eBook Available
Expert techniques to solve all your Ajax and
REST architecture and development problems
www.apress.com
SOURCE CODE ONLINE
Companion eBook
See last page for details
on $10 eBook version
THE APRESS ROADMAP
Pro Ajax and
Java Frameworks
Beginning Ajax with PHP
Foundations of Ajax
Pro Ajax and the
.NET 2.0 Platform
Ajax and REST Recipes
Ajax Patterns
and Best Practices
下载自:http://www.javaxxz.com 最方便的Java学习社区
Ajax and REST Recipes
A Problem-Solution Approach
Christian Gross
7346ch00FM.qxd 11/20/06 2:48 PM Page i
下载自:http://www.javaxxz.com 最方便的Java学习社区
Ajax and REST Recipes: A Problem-Solution Approach
Copyright © 2006 by Christian Gross
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-734-7
ISBN-10 (pbk): 1-59059-734-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: Chris Mills
Technical Reviewers: Nick McCollum, Bernhard Seefeld
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: Beth Christmas
Copy Edit Manager: Nicole Flores
Copy Editors: Nicole Abramowitz, Nicole Flores
Assistant Production Director: Kari Brooks-Copony
Production Editor: Laura Esterman
Compositor: Kinetic Publishing Services, LLC
Proofreader: Liz Welch
Indexer: Ann Rogers
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 indirectly 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. You will need to answer questions pertaining to this book in order to successfully download the code.
7346ch00FM.qxd 11/20/06 2:48 PM Page ii
下载自:http://www.javaxxz.com 最方便的Java学习社区
Contents at a Glance
About the Author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii
About the Technical Reviewers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
■CHAPTER 1 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
■CHAPTER 2 JavaScript Recipes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
■CHAPTER 3 Dynamic Content Recipes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
■CHAPTER 4 Implementing an SOA Architecture . . . . . . . . . . . . . . . . . . . . . . . 193
■CHAPTER 5 Implementing a Universal Web
Service Architecture
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
■CHAPTER 6 Implementing Web Services for
Large or Slow Data Sets
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
■CHAPTER 7 Implementing an Ajax Shopping Cart . . . . . . . . . . . . . . . . . . . . 297
■CHAPTER 8 Don’t Submit Your Forms—Ajax Them . . . . . . . . . . . . . . . . . . . 319
■INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
iii
7346ch00FM.qxd 11/20/06 2:48 PM Page iii
下载自:http://www.javaxxz.com 最方便的Java学习社区
7346ch00FM.qxd 11/20/06 2:48 PM Page iv
下载自:http://www.javaxxz.com 最方便的Java学习社区
剩余357页未读,继续阅读
资源评论
- lugerman20002014-04-14rest的书很多, ajax的书也很多, 但是二者结合的书就比较少了, 对于设计思路有一定帮助
仧尐
- 粉丝: 237
- 资源: 169
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功