Book: Realtime Web Apps: With HTML5 WebSocket, PHP, and jQuery
Realtime Web Apps: With HTML5 WebSocket, PHP, and jQuery is a guide for beginner- to intermediate-level web developers looking to take the next leap forward in website and app development: realtime.
With Realtime Web Apps, you'll be able to quickly get up to speed on what HTML5 WebSocket does, how it is going to affect the future of the web as we know it, and–thanks to Pusher's simple API–start developing your first realtime app today.
Only lightly touching on the heavy theory and instead focusing on a practical approach, Realtime Web Apps will guide you through building your first app using HTML5, CSS3, jQuery, and Pusher. After your initial introduction to the technologies used in the book, you'll immediately jump into the process of creating a realtime Q&A app that will work on desktop browsers as well as mobile phones (including iOS and Android).
In addition to learning realtime development strategies, you'll also learn progressive development strategies including responsive CSS3 layouts, AJAX development with jQuery, and more.
The future of the web is realtime. Grab your hoverboard.
Introduces you to the revolutionary capabilities of the HTML5 WebSocket API
Gets you started with WebSocket immediately using the super-simple Pusher API
Walks you through the development of a real-life realtime web app
Gets you working with responsive layouts, jQuery, and AJAX development
What you'll learn
Familiarize yourself with what "realtime" means and how it changes the web as we know it.
Learn how to utilize responsive web design and jQuery to create a single web app instead of multiple platform-specific applications.
Get up and running with the Pusher API to start developing realtime apps today.
Build a web app back-end with PHP and MySQL.
Integrate AJAX and realtime interactivity into your web app.
Use OAuth 2.0 to allow users to log in to your app (including Facebook and Twitter OAuth).
Who this book is for
Realtime Web Apps: With HTML5 WebSocket, PHP, and jQuery is for the beginning- to intermediate-level web developer who is ready to usher in the next era of web apps. It's for those whose time is precious, but have a need to implement realtime functionality into their projects. Realtime Web Apps is written for–and by–geeks who love to expand their skillset but don't have weeks to dedicate to learning how to implement new technology. It's the perfect tool for busy web professionals who need to get up to speed with the latest the web has to offer quickly and in such a way that it's immediately applicable to their projects.
Table of Contents
What Is Realtime?
Choosing a Web App Over Native Apps
Determining the App's Functionality and Structure
Designing the App
Creating HTML & CSS Markup
Building the Back End: Part 1
Building the Back End: Part 2
Implementing jQuery Effects
App A: OAuth