Start reading Professional Ajax (Programmer to Programmer) on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here.

Deliver to your Kindle or other device

 
 
 

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Read books on your computer or other mobile devices with our FREE Kindle Reading Apps.
Professional Ajax (Programmer to Programmer)
 
 

Professional Ajax (Programmer to Programmer) [Kindle Edition]

Nicholas C. Zakas , Jeremy McPeak , Joe Fawcett
3.0 out of 5 stars  See all reviews (1 customer review)

Digital List Price: £27.80 What's this?
Print List Price: £26.99
Kindle Price: £19.50 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £7.49 (28%)
Unlike print books, digital books are subject to VAT.

Formats

Amazon Price New from Used from
Kindle Edition £19.50  
Paperback £22.94  

Product Description

Product Description

Professional Ajax 2nd Edition provides a developer-level tutorial of Ajax techniques, patterns, and use cases. The book begins by exploring the roots of Ajax, covering how the evolution of the web and new technologies directly led to the development of Ajax techniques. A detailed discussion of how frames, JavaScript, cookies, XML, and XMLHttp requests (XHR) related to Ajax is included. After this introduction, the book moves on to cover the implementation of specific Ajax techniques. Request brokers such as hidden frames, dynamic iframes, and XHR are compared and contrasted, explaining when one method should be used over another. To make this discussion clearer, a brief overview of HTTP requests and responses is included.

Once a basic understanding of the various request types is discussed, the book moves on to provide in-depth examples of how and when to use Ajax in a web site or web application. Different data transmission formats, including plain text, HTML, XML, and JSON are discussed for their advantages and disadvantages. Also included is a discussion on web services and how they may be used to perform Ajax techniques. Next, more complex topics are covered. A chapter introducing a request management framework explores how to manage all of the requests inside of an Ajax application. Ajax debugging techniques are also discussed.

The last part of the book walks through the creation of two full-fledged Ajax web applications. The first, FooReader.NET, is an Ajax-powered RSS reader. The second, called AjaxMail, is an Ajax-enabled email system. Both of these applications incorporate many of the techniques discussed throughout the book.

Professional Ajax 2nd edition is written for Web application developers looking to enhance the usability of their web sites and web applications and intermediate JavaScript developers looking to further understand the language. Readers should have familiarity with XML, XSLT, Web Services, PHP or C#, HTML, CSS. This book is not aimed at beginners without a basic understanding of the aforementioned technologies. Also, a good understanding of JavaScript is vitally important to understanding this book. Those readers without such knowledge should instead refer to books such as Beginning JavaScript, Second Edition (Wrox, 2004, ISBN: 978-0-7645-5587-9) and Professional JavaScript for Web Developers (Wrox, 2005, ISBN: 978-0-7645-7908-0).

Professional Ajax 2nd edition adds nearly 200 pages of new and expanded coverage compared to the first edition. Some of the new topics covered here include:

  • Ajax Libraries including the Yahoo! Connection Manager, Prototype, and jQuery
  • Request Management with Priority Queues and the RequestManager Object
  • Comet push-based web systems and HTTP streaming
  • Maps and Mashups with Geocoding, Google Maps API and Yahoo! Maps API
  • Ajax Debugging with FireBug and Microsoft Fiddler

    ASP.NET AJAX Extensions (formerly code-named "Atlas")

And of course the Second Edition retains and updates the core first edition content including:

  • the range of request brokers (including the hidden frame technique, iframes, and XMLHttp) and explains when one should be used over another
  • different Ajax techniques and patterns for executing client-server communication
  • Ajax patterns including predictive fetch, page preloading, submission throttling, incremental field and form validation, periodic refresh, multi-stage download and more
  • Syndication with RSS, Atom, and XParser
  • JSON and creating an autosuggest textbox example
  • web site widgets for a news ticker, weather information, web search, and site search
  • Ajax Frameworks JSpan, DWR, and Ajax.NET Professional
  • A Web-based RSS/Atom aggregator case study
  • An AjaxMail case study

This book is also available as part of the 4-book JavaScript and Ajax Wrox Box (ISBN: 0470227818). This 4-book set includes:

  • Professional JavaScript for Web Developers (ISBN: 0764579088)
  • Professional Ajax ...

From the Back Cover

Combining tried–and–true CSS, XML, and JavaScript™ technologies, Ajax provides web developers with the ability to create more sophisticated and responsive user interfaces and break free from the "click–and–wait" standard that has dominated the web since its introduction.

This book discusses the range of request brokers (including the hidden frame technique, iframes, and XMLHttp) and explains when one should be used over another. You will also learn different Ajax techniques and patterns for executing client–server communication on your web site and in web applications. Each chapter builds on information in the previous chapters so that by the end of the book, you will have gained the practical knowledge necessary to implement your own Ajax solutions.

What you will learn from this book

  • Different methods for achieving Ajax communication and when to use each
  • A variety of Ajax design patterns to use in specific data retrieval circumstances
  • Techniques for using Ajax with RSS and Atom to produce a web–based news aggregator
  • How to use JavaScript Object Notation as an alternate data transmission format for Ajax communications
  • How to create Ajax widgets, such as a weather display and news ticker, that can be included in your web site

Who this book is for

This book is for web developers who want to enhance the usability of their sites and applications. Familiarity with JavaScript, HTML, and CSS is necessary, as is experience with a server–side language such as PHP or a .NET language.

Wrox Professional guides are planned and written by working programmers to meet the real–world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.


Product details

  • Format: Kindle Edition
  • File Size: 2920 KB
  • Print Length: 624 pages
  • Publisher: Wrox; 2 edition (18 May 2009)
  • Sold by: Amazon Media EU S.à r.l.
  • Language English
  • ASIN: B006BQNIVK
  • Text-to-Speech: Enabled
  • Average Customer Review: 3.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Bestsellers Rank: #338,601 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?


More About the Authors

Discover books, learn about writers, and more.

Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organise and find favourite items.
Your tags: Add your first tag
 

Customer Reviews

5 star
0
4 star
0
2 star
0
1 star
0
Most Helpful Customer Reviews
4 of 4 people found the following review helpful
Format:Paperback
A teensy long winded, but holds your hand firmly. Also a bit dated - but kinda interesting from a look-in-your-rear-view perspective (internet years huh! don't they fly by). I'm a cut-to-the-code-geek, so I preferred Advanced Ajax by Lauriat (better code, not so well explained).

Detailed code hand-holding for an Ajax debut. Code examples, explained in detail.
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com:  23 reviews
47 of 49 people found the following review helpful
Outstanding platform-agnostic look at Ajax programming 18 Feb 2006
By Jason A. Salas - Published on Amazon.com
Format:Paperback
The book does a good job academically of showing how Ajax has evolved (itself a debatable topic) and how it is used in modern-day applications. The book doesn't marry the reader to any one particular web development framework, effectively citing examples in PHP, .NET, and JavaServer Pages. Practically, the authors exhibit a proper mix of (X)HTML, CSS, JavaScript, Dynamic HTML and XmlHttpRequests, showing how the technologies are blended for developing next-gen UIs.

There are great discussions of advanced concepts like JSON, REST, and SOAP-based web services and how Ajax is incorporated into them. Also, coding to allow cross-browser compatibility is stressed throughout the book, particularly in instantiating an XMLHTTP object across IE, Firefox, Mozilla and Safari. The authors' zXml and XParser are cited as two of several third-party libraries to seamlessly pull this off.

Some gems that I found within the book include Chapter 8 - "Web Site Widgets", which is very helpful, giving practical demonstrations and usable code for several Ajax-driven mini-applications we could all use in our web projects. Chapter 7's case study of a Google Suggest-style autocomplete text box was very elegant, using JSON as an alternative to XML's typically verbose payload. Chapter 2 - "Ajax Patterns" also abstracts many of the features common to apps using Ajax (i.e., polling, autosave, incremental updating). All are well done and greatly appreciated.

Syntactically, the authors' programming style is very clever. While not exhaustively described, the book shows how to feign object-oriented programming in client-side JavaScript, making liberal use of such time-saving coding tricks like faux classes, inline function definitions and prototypes.

In criticism, the one chapter I found to be a letdown was Chapter 5 - "RSS/Atom", mainly because I'm very involved with work in that space. A terse description of content syndication is presented, but then followed exclusively by an analysis the FooReader.NET web-based RSS aggregator app. It's nice, but doesn't take a more holistic view of how Ajax is being used elsewhere. I would have also liked to see examples in emerging platforms, specifically Ruby on Rails and the Ajax support built directly into that web framework.

But overall this is a very good introductory read for experienced programmers wanting to get up to speed on the next big thing in advanced web UI development. I'm a better, more aware, more prepared developer for having read it.
15 of 16 people found the following review helpful
Best code explanations ever 4 Sep 2006
By L. Israel - Published on Amazon.com
Format:Paperback
As a newcomer to Ajax, I cant comment on the coverage but it seemed reasonably comprehensive.

But the code walkthroughs were terrific - completely readable, easy to follow and sometimes even quite fun to read. I cant remember reading better code runthroughs ever.
11 of 11 people found the following review helpful
Ajax made fun 11 May 2006
By M. Sanford - Published on Amazon.com
Format:Paperback|Amazon Verified Purchase
I found this book to be extremely informative. It is written in a clear, engaging style that makes it a pleasure to read. The examples are well constructed, relevant to real world applications, and thoroughly explained. The essential bits of code are highlighted for quick reading. The most irritating thing about web development is cross-browser support, and authors do a great job to making this less intimidating and point readers to libraries to abstract away the differences. Also covered are related JavaScript XML, XPath, XSLT support, web services, RSS/Atom.

PHP is the primary server side language used, though they chose .NET/C# for creating a web service. Microsoft's .NET web service tools are excellent, but I would have liked it if the authors had rounded this out with giving the basics of creating a web service using open source solutions.

If you want to learn Ajax techniques and related technologies, this book is well worth your time and money.
Search Customer Reviews
Only search this product's reviews

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
   


Look for similar items by category


Look for similar items by subject


Amazon Media EU S.à r.l. GB Privacy Statement Amazon Media EU S.à r.l. GB Delivery Information Amazon Media EU S.à r.l. GB Returns & Exchanges