Today's web applications demand real-time, low-latency data transfer. Users expect to interact with data in as close to real time as possible without minimizing the overall user experience.
WebSockets allow you to do just that, by creating a persistent connection between a client and server that can be used to send data in real time.
In our new course, WebSocket-Powered Rails Applications, you'll learn how to use the emerging WebSocket technology in a Ruby on Rails application. If you know the basics of Ruby on Rails and you're ready to see the power of using WebSockets, this is the course for you!
What You'll Learn
Tuts+ instructor José Mota will take you through the process of building a Rails application using WebSockets. You'll start by learning what WebSockets are and why they're useful, and then you'll move on to a very practical, hands-on coding course that shows you all the steps involved in creating an auction website app using WebSockets and Ruby on Rails.
Here's a free preview of some of the lessons from this course:
Bootstrap a Rails App
In this first hands-on video, you'll see how to bootstrap a Rails application with all of the necessary dependencies to satisfy the requirements of our auction application.
We'll start our application development by defining and implementing the most important data models. We'll begin with products, which are the core target of auctions.
Defining a WebSockets Interface
José takes you through building the Rails application in more detail, and when you're ready, you'll learn how to use WebSockets. In this section of the course, you'll start to improve the user experience by providing a real-time mechanism for bidding. In this first video you'll see how to approach the problem with a solution using WebSockets.
Start Learning for Just $15
You can take our new course straight away by subscribing to Tuts+. For just $15 a month, you get access to this course and hundreds of others, with new ones added every week.