Building the realtime user experience

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, s...

Descripción completa

Detalles Bibliográficos
Otros Autores: Roden, Ted, author (author)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Sebastopol : O'Reilly [2010]
Edición:1st edition
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628315606719
Tabla de Contenidos:
  • Table of Contents; Preface; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; Chapter 1. Introduction; What Is Realtime?; Changing Interactions; Push Versus Pull; Prerequisites; Python; JavaScript; JavaScript Object Notation; Google's App Engine; The Rest; Chapter 2. Realtime Syndication; Simple Update Protocol (SUP); The SUP file; Subscribing with SUP; Locating SUP feeds; Checking the SUP feed; Publishing with SUP; Generating a SUP file; Testing our SUP file; The SUP header; PubSubHubbub; The Protocol; Subscribe; Publishing content
  • Subscribing with PubSubHubbubPublishing with PubSubHubbub; Chapter 3. The Dynamic Homepage (Widgets in Pseudorealtime); The Basic Widgets; HTML; Setting Up the JavaScript; Initialize; A word about JSONP; Catching the trends; Catching the tweets; Displaying the updates; FriendFeed in Realtime; Live Images; It Was All a Setup!; The Old Versus the New; Chapter 4. River of Content; A Crash Course in Server Push; Long Polling; The Bayeux Protocol; Cometd; Setting Up Your Cometd Environment; Putting Everything in Its Place; A Realtime Live Blog; The Two-Connection Limit
  • Server-Side Filters (with Java)Integrating Cometd into Your Infrastructure; Chapter 5. Taming the Firehose with Tornado; Tornado; Installing Tornado; The Basic Framework; Building an Application; Asynchronous Tornado in Realtime; Twitter's Realtime Streaming APIs; From the Firehose to the Web Browser; Templates in Tornado; Creating a Template for This Project; The JavaScript Parts; Chapter 6. Chat; Setting Up the Basic Code; The Basic HTML Frame; The Python Shell; The JavaScript Base; Checking the Progress; Logging In; On the Server Side; JavaScript; Basic Chatting
  • Chatting on the Server SideSending Messages; Receiving Messages; Acting Natural; Chapter 7. Instant Messaging; Getting Started with Google App Engine; Setting Up an Account; Creating an Application with the SDK; Inspecting the default application; Taking Advantage of Google; Keeping Track of the User; The Deploy Button; The Dashboard; Receiving Instant Messages; Sending Instant Messages; Responding Intelligently; The Basic Commands; Checking Authentication via Instant Messenger; Introducing a Third Party; Setting Up an API; Chapter 8. SMS; The SMS Landscape; Email to SMS; SMS APIs
  • SMS API providersBuilding the Basic Application; Extending the Instant Messaging Application; An SMS Service Class; The Base Handler; Preparing to Accept Messages; Setting Up the Server; Sending and Receiving the Messages; TextMarks; Reserving a keyword; The Python class; Testing it out; Zeep Mobile; Reserving a keyword; The Python class; Authenticating Users; The authentication process; The basic code; Authenticating with Zeep Mobile; Testing the authentication process; Building an SMS API; Testing the API; Chapter 9. Measuring User Engagement: Analytics on the Realtime Web
  • Realtime Analytics Services