Building the Realtime User Experience: Creating Immersive and Interactive Websites

Overview

The Web is increasingly happening in realtime. With websites such as Facebook and Twitter leading the way, users are coming to expect that all sites should serve content as it occurs—on smartphones as well as computers. This book shows you how to build realtime user experiences by adding chat, streaming content, and including more features on your site one piece at a time, without making big changes to the existing infrastructure. You'll also learn how to serve realtime content ...

See more details below
Paperback
$25.89
BN.com price
(Save 26%)$34.99 List Price

Pick Up In Store

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (27) from $1.99   
  • New (14) from $17.87   
  • Used (13) from $1.99   
Building the Realtime User Experience

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$15.49
BN.com price
(Save 44%)$27.99 List Price

Overview

The Web is increasingly happening in realtime. With websites such as Facebook and Twitter leading the way, users are coming to expect that all sites should serve content as it occurs—on smartphones as well as computers. This book shows you how to build realtime user experiences by adding chat, streaming content, and including more features on your site one piece at a time, without making big changes to the existing infrastructure. You'll also learn how to serve realtime content beyond the browser.

Throughout the book are many practical JavaScript and Python examples for advanced web developers that you can use on your site now. And in the final chapter, you'll build a location-aware game that combines all of the technologies discussed.

  • Use the latest realtime syndication technology, including PubSubHubbub
  • Build dynamic widgets on your homepage to show realtime updates from several sources
  • Learn how to use long polling to "push" content from your server to browsers
  • Create an application using the Tornado web server that makes sense of massive amounts of streaming content
  • Understand the unique requirements for setting up a basic chat service
  • Use IM and SMS to enable users to interact with your site outside of a web browser
  • Implement custom analytics to measure engagement in realtime
Read More Show Less

Product Details

  • ISBN-13: 9780596806156
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 7/13/2010
  • Edition number: 1
  • Pages: 306
  • Product dimensions: 7.00 (w) x 9.10 (h) x 0.80 (d)

Meet the Author

Ted Roden was the first full-time developer hired on at Vimeo.com, and currently works in the Research and Development group at The New York Times. His work researching and prototyping topics closely related to the content of this book has been profiled by Harvard University's Nieman Journalism Lab (http://bit.ly/f7rdJ http://bit.ly/YzELI). At the Times, he has also worked on bringing election night coverage, maps, and updates to the mobile website, as well as March Madness fantasy brackets. He is also the creator of a popular social bookmarking site: enjoysthin.gs.

Read More Show Less

Table of Contents

Preface;
Conventions Used in This Book;
Using Code Examples;
Safari® Books Online;
How to Contact Us;
Acknowledgments;
Chapter 1: Introduction;
1.1 What Is Realtime?;
1.2 Push Versus Pull;
1.3 Prerequisites;
1.4 The Rest;
Chapter 2: Realtime Syndication;
2.1 Simple Update Protocol (SUP);
2.2 PubSubHubbub;
Chapter 3: The Dynamic Homepage (Widgets in Pseudorealtime);
3.1 The Basic Widgets;
3.2 FriendFeed in Realtime;
3.3 Live Images;
3.4 It Was All a Setup!;
Chapter 4: River of Content;
4.1 A Crash Course in Server Push;
4.2 Setting Up Your Cometd Environment;
4.3 A Realtime Live Blog;
4.4 Server-Side Filters (with Java);
4.5 Integrating Cometd into Your Infrastructure;
Chapter 5: Taming the Firehose with Tornado;
5.1 Tornado;
5.2 Twitter’s Realtime Streaming APIs;
5.3 From the Firehose to the Web Browser;
Chapter 6: Chat;
6.1 Setting Up the Basic Code;
6.2 Logging In;
6.3 Basic Chatting;
6.4 Acting Natural;
Chapter 7: Instant Messaging;
7.1 Getting Started with Google App Engine;
7.2 Receiving Instant Messages;
7.3 Sending Instant Messages;
7.4 Responding Intelligently;
7.5 Setting Up an API;
Chapter 8: SMS;
8.1 The SMS Landscape;
8.2 Building the Basic Application;
8.3 Sending and Receiving the Messages;
Chapter 9: Measuring User Engagement: Analytics on the Realtime Web;
9.1 Realtime Analytics Services;
9.2 Customized Analytics;
Chapter 10: Putting It All Together;
10.1 The Game;
10.2 Getting Set Up;
10.3 The Basic Models;
10.4 Building the Game Itself;
10.5 In Review;
Colophon;

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 2 Customer Reviews
  • Posted July 21, 2010

    VERY VERY HIGHLY RECOMMENDED!!!

    Do you want to build truly realtime web applications and experiences? If you do, then this book is for you. Author Ted Roden, has done an outstanding job of writing a book that shows you how to build applications and interfaces that react to user input and input from other servers in milliseconds, rather than waiting for web pages to refresh.

    Roden, begins by focusing on the SUP and PubSubHubbub standards. Next, the author looks at realtime experiences on the frontend side of things with regards to dynamically updating your home page to show the latest updates long after the page had been loaded. Then, he shows you how to build a simple river of content feed, with regards to building applications that get the data to users as quickly as possible. The author continues by looking at speed and how to handle huge amounts of data. Next, he shows you how to exploit JavaScript and Tornado to build a fully interactive realtime chat application reminiscent of AOL Instant Messenger. Then, he shows you an example of how to integrate a web-based application with standard instant messaging protocols and programs. The author continues by stepping back from the desktop and venturing out into the real world. Next, he looks at a couple of new analytics packages that allow for monitoring your web traffic in realtime. Finally, the author shows you how to build a location-aware game that is designed to be played with a modern phone that supports geolocation JavaScript API calls.

    This most excellent book assumes that you?re comfortable with modern web application development, but makes almost no assumptions that you know the specific technologies discussed. In other words, rather than sticking with a simple technology, or writing about building applications using a specific programming language, this book uses many different technologies.

    2 out of 2 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted August 25, 2012

    No text was provided for this review.

Sort by: Showing all of 2 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)