Ajax Patterns and Best Practices (Expert's Voice) and over one million other books are available for Amazon Kindle. Learn more

Buy New

or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Buy Used
Used - Acceptable See details
$3.99 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
More Buying Choices
Have one to sell? Sell yours here
Ajax Patterns and Best Practices (Expert's Voice)
 
 
Start reading Ajax Patterns and Best Practices (Expert's Voice) on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Ajax Patterns and Best Practices (Expert's Voice) [Paperback]

Christian Gross (Author)
3.8 out of 5 stars  See all reviews (17 customer reviews)

Price: $44.99 & this item ships for FREE with Super Saver Shipping. Details
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Monday, January 30? Choose One-Day Shipping at checkout. Details

Formats

Amazon Price New from Used from
Kindle Edition $28.44  
Paperback $44.99  

Book Description

Expert's Voice February 16, 2006

Asynchronous Javascript and XML (Ajax) is a new technique that uses existing pervasive technology to build interactive web applications that mimic rich-client functionality. Ajax is unique because it combines technologies to make traditional web pages interactive. The advantage of using Ajax is the same as for the web, namely distribution capability, ease of deployment, and anywhere-anytime access.

Ajax Patterns and Best Practices enables you to just pick up the book and then write applications that work properly. This book is not just about the technical, low-level details of the API's, but is about making something happen on both the client and server. For example, the Ajax Widgets chapter outlines a number of canned widgets that perform some functionality. The book explains the widget implementation so you can not only understand what is happening, but copy and paste if necessary.

The book also covers the server side with the REST protocol. REST and Ajax dovetail elegantly with each other, but REST can also be used solo, with just a computer-to-computer solution. And like Ajax, REST can be used with today's existing technologies. Currently, millions of client computers are Ajax-ready, and mullions of servers are REST-ready.

The book is suitable if you’re a beginner, or if you have already created an Ajax application. Throughout the book, various patterns and best practices are outlined so that if you are more experienced, you can just glance and verify that you are building the most efficient Ajax application possible.


Frequently Bought Together

Ajax Patterns and Best Practices (Expert's Voice) + Ajax Design Patterns + Foundations of Ajax (Books for Professionals by Professionals)
Price For All Three: $101.34

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Ajax Design Patterns $29.84

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Foundations of Ajax (Books for Professionals by Professionals) $26.51

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details



Editorial Reviews

About the Author

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.


Product Details

  • Paperback: 416 pages
  • Publisher: Apress; 1 edition (February 16, 2006)
  • Language: English
  • ISBN-10: 1590596161
  • ISBN-13: 978-1590596166
  • Product Dimensions: 9 x 7.1 x 1 inches
  • Shipping Weight: 1.2 pounds (View shipping rates and policies)
  • Average Customer Review: 3.8 out of 5 stars  See all reviews (17 customer reviews)
  • Amazon Best Sellers Rank: #1,090,545 in Books (See Top 100 in Books)

More About the Author

What to say? How about "I get a kick out of Dilbert and more often than not can relate to Dilbert." Does that make me a tech nerd? Sure, but I also like to do other things like visual arts and paint pictures in a surrealist style. As much of a tech nut I am I like my art done in a traditional manner.

With respect to tech, my education is Mechanical Engineering specializing in robotics, parallel computing, and industrial automation. There actually was a time when I could calculate the trajectory of a five axis robot, sigh! I have always been fond of writing software and in grade 10 wrote my first major program that was to become an ISAM database using Waterloo Basic on a Commodore Pet! My main computing interests lie in Software Engineering and the Internet.

I blog at http://ablog.apress.com and http://www.devspace.com

 

Customer Reviews

17 Reviews
5 star:
 (8)
4 star:
 (4)
3 star:
 (1)
2 star:
 (1)
1 star:
 (3)
 
 
 
 
 
Average Customer Review
3.8 out of 5 stars (17 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

33 of 34 people found the following review helpful:
2.0 out of 5 stars Decent content, awful writing style, October 11, 2006
This review is from: Ajax Patterns and Best Practices (Expert's Voice) (Paperback)
While this book does present useful topics that are particularly relevant to AJAX applications, my main problem with it is the poorly edited and structured way it is written.

The book is full of paragraphs like this one (found at the very beginning of the "Applicability section" of the "Decoupled Navigation Pattern"):

"The Decoupled Navigation pattern is used when content is navigated. The statement is obtuse and does not really say anything because HTML content is always navigated. However, because of the way Dynamic HTML is used, content navigation is sometimes used to generate an effect. When links are used to generate effects, the Decoupled Navigation pattern does not apply."

That's the whole paragraph beginning to end -- what the heck is this trying to say? Apparently aware of how non-sensical this is, the author starts the next paragraph with "To clarify this explanation..." and then goes on to present an example of a website in Swiss German (I think), with no translation given. Two pages of more examples and a summary rules-of-thumb later, and the only implied take-away is that the Pattern applies when decision-making and data processing are required, and the contents of the page change but not completely.

A few sections like this could be forgiven (and you could quibble as to why he had to write this example this way), but stuff like this prevails throughout every chapter. More often than not, ideas which with some thought could have been condensed into a few sentences, result in half a page of digressions and logical dead-ends.

Here's another one:

"The need to separate the resource from the representation has not been adequately explained, and some developers may wonder why it is necessary at all. After all, may websites work well and nobody has complained too loudly. The reason why many websites work well is because they have probably implemented the separation of resource from representation. And those that have not done so have received complaints."

Upon reading this, I feel some irreplaceable portion of my lifespan has just been wasted.

At least one good thing this book does is that it only focuses on Patterns that are particular to an AJAX environment (e.g. Persistent Communications, Decouple Navigation, etc.), without wasting time on stuff that is applicable to other more general software design settings (which plenty of other books already cover of course).

While the ideas in this book are interesting and potentially useful to somebody beginning to design an AJAX application, the writing style makes reading it a true chore. Surely there is better written stuff out there on AJAX software design.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


12 of 13 people found the following review helpful:
3.0 out of 5 stars Great info, POOR presentation..., June 10, 2006
By 
B. Thedell "Technical Writer" (San Diego, CA United States) - See all my reviews
(REAL NAME)   
This review is from: Ajax Patterns and Best Practices (Expert's Voice) (Paperback)
...which is ironic, because the author himself mentions that the reason Ajax is becoming so popular is that people demand better fit and finish in their presentation.

This man DESPERATELY needs an editor (or a new/better one). Sentances run on and on, without ever getting directly to the point. Here's a great example of what's wrong with the book: in the first two chapters, he describes Ajax in painstaking (almost insulting) detail, but never really nails down WHAT "REST" is. Even after reading a section in the begining of Chapter 2, "Understanding REST Theory," I had to go to the Wikipedia page to learn just EXACTLY what it is.

This is a good resource for learning Ajax, but there are other good reasources out there, too -- ones that are better written and won't leave you fighting to understand what's going on through every page.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


9 of 10 people found the following review helpful:
5.0 out of 5 stars Excellent book on Ajax design strategies, May 18, 2006
This review is from: Ajax Patterns and Best Practices (Expert's Voice) (Paperback)
This is an excellent theory and strategy book for AJAX. For the uninitiated, AJAX stands for Asynchronous Javascript and XML. In short, it's the technology behind Web 2.0. New data is fetched from the server and/or presented dynamically through client side Javascript that calls server side sources, commonly XML. Instead of refreshing the entire page, individual elements are changed based on user input and new data pulled from the server. The level of interaction and sophistication involved in using AJAX makes it a force to be reckoned with. Because of that, it's essential to have a book that covers the underpinnings of this technology.

True to the title of this book, it is packed with good theoretical discussions of how AJAX works and good strategies for how to use AJAX. Knowing all of the tricks isn't worth much unless you can apply your knowledge in a meaningful way. An example of what I considered impressive was the material on caching strategies: AJAX has always struck me as being a high-transfer way to presenting information and instead this section makes AJAX into a means of saving traffic.

Unlike other books on AJAX, this book covers design patterns for the technology. How do you divide data for distribution? Answer: Use the Content Chunking Patterns. How do you effectively maintain state or at least the impression of maintenance? Answer: the persistent communications pattern. How do you make all of the potential data available at the user's fingertips? Answer: the infinite data pattern. In the nine patterns presented the author explores much of theory, and that helps you strategize when it comes time to code your own applications. Each pattern has a dedicated chapter that first presents the intent of the pattern, then the motivation for using it in the context of AJAX, a list of possible applications of the design pattern, and associated design patterns. Next, the design pattern's architecture is explained in the context of solving an actual problem. Finally, the implementation is shown via code and the user's interaction with various webpages. At the end of each pattern's chapter there are "highlights" of what has just been presented.

Up to now concrete examples of using AJAX were copious and usable theory has been hard to come by, making this book a welcome volume. I know how to write Javascript, I know what XML is. What I needed to know was how to bring it all together using design patterns that make sense for AJAX. This book accomplished that. My one criticism is that the introductory material in chapters one and two seems a bit rushed, so absolute beginners might benefit by reading "Head Rush Ajax" first, which is an excellent yet more introductory text.

I notice that Amazon does not show the table of contents, so I do that here:
CHAPTER 1 Introduction to Ajax 1
CHAPTER 2 The Nuts and Bolts of Ajax 19
CHAPTER 3 Content Chunking Pattern 53
CHAPTER 4 Cache Controller Pattern 79
CHAPTER 5 Permutations Pattern 111
CHAPTER 6 Decoupled Navigation Pattern 153
CHAPTER 7 Representation Morphing Pattern 197
CHAPTER 8 Persistent Communications Pattern 225
CHAPTER 9 State Navigation Pattern 265
CHAPTER 10 Infinite Data Pattern 303
CHAPTER 11 REST-Based Model View Controller Pattern 333
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
morphing pattern, var asynchronous, passive cache, property onreadystatechange, predictive cache, same origin policy, prefetch function, ten second sleep, state object instance, hash code value, remote server call, state identifier, editable representation, query identifier, following source code, reading stream, content chunks, asynchronous class, entity tag, state header, web application frameworks, classical link, pattern implementation, server push, transaction identifier
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Persistent Communications, Decoupled Navigation, Model View Controller, Content Chunking, File Edit, Sample Page, Getting Started, Microsoft Internet Explorer, Get Content, Done Figure, Document Object Model, Start Communications, Get Image, Mozilla Firefox, Private Domain, Google Maps, Zürich Paris, Apple Safari, Get Navigation, Jahr Carroll, Johr Carroll, Search Favorites, Submit Query, Document Chunk, Event Listener
New!
Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Surprise Me!
Search Inside This Book:

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(9)
(1)
(1)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!


Create a Listmania! list

So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject