HAPPY HOLIDAYS: Get a special discount on Apress Access! Subscribe today >>

Ajax Patterns and Best Practices

Authors: Gross, Christian

Download source code

Buy this book

eBook $34.99
price for USA
  • ISBN 978-1-4302-0131-1
  • Digitally watermarked, DRM-free
  • Included format: PDF
  • ebooks can be used on all reading devices
  • Download immediately after purchase
Softcover $44.99
price for USA
  • ISBN 978-1-59059-616-6
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.
About this book

Ajax is taking us into the next generation of web applications. Ajax has broken the client-server barrier by decoupling the client from the server, but an Ajax application still needs a server to extract content from. The most effective use of Ajax and the server requires an understanding of REST, an architectural style used to define Web services.

Ajax Patterns and Best Practices explores dynamic web applications that combine Ajax and REST as a single solution. A major advantage of REST is that, like Ajax, it can be used with today's existing technologies.

This is an ideal book whether or not you have already created an Ajax application. Because the book outlines various patterns and best practices, you can quickly check and verify that you're building an efficient Ajax application.

Inside the book, the patterns will answer the following questions:

  • What is Ajax, and REST, and why do you even care? And if I should care what are some examples of websites that make effective use of Ajax and REST?
  • What are the absolute basics of Ajax and REST and what parts of those basics should I use?
  • How should deal with large amounts of data? Should I cache the data? Should I get the data piece fed to me? (Patterns: Cache Controller, and Infinite Data)
  • People keep telling me that sessions and cookies are bad? Are they bad? What should I do? And while I think about how about generating content for other devices? (Permutations pattern)
  • I want to fix the back-button problem of the HTML browser. (State Navigation pattern)
  • What is the best way to create a mashup? (REST Based Model View Controller pattern)
  • My page has so many links managed by JavaScript, and I am losing control, help me make this more organized! (Decoupled Navigation pattern)
  • I understand that HTTP means I send data to the server, how about the server sending me some data without asking for it? (Persistent Communications pattern)
  • My server side code looks like a mess with tags and code pieces everywhere. How can I organize and make my HTML page behave like a SOA client and use REST based web services? (Content chunking pattern)

About the authors

Christian Gross is a consultant with vast experience in the client/server world. He has consulted for Microsoft on DNA solutions, and he has held consulting positions with Daimler Benz, Microsoft, NatWest, and other major corporations. Gross was a contributor to Professional Active Server Pages, Professional SQL Server 6.5 Administration, Professional NT Internet Information Server Administration, and Programming Microsoft Windows 2000 Unleashed. He is the author of A Programmer's Introduction to Windows DNA.

Table of contents (2 chapters)

Buy this book

eBook $34.99
price for USA
  • ISBN 978-1-4302-0131-1
  • Digitally watermarked, DRM-free
  • Included format: PDF
  • ebooks can be used on all reading devices
  • Download immediately after purchase
Softcover $44.99
price for USA
  • ISBN 978-1-59059-616-6
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.

Services for this book

Loading...

Bibliographic Information

Bibliographic Information
Book Title
Ajax Patterns and Best Practices
Authors
Copyright
2006
Publisher
Apress
Copyright Holder
Christian Gross
eBook ISBN
978-1-4302-0131-1
DOI
10.1007/978-1-4302-0131-1
Softcover ISBN
978-1-59059-616-6
Edition Number
1
Number of Pages
XXII, 416
Topics