Rails 5.0 beta snaps in WebSockets


0

Ruby on Rails announced the first release of Rails 5 beta, which includes a new framework for handling WebSockets also called as Action Cable.

WebSockets includes an EventMachine-powered connection loop, a thread-backed channels layer for server-side processing and a JavaScript layer for client-side interaction.

Basecamp 3 is already running Rails 5 beta with all features including Action Cable. Basecamp is a web based project, task and time management group.

In order to run Action Cable, Rails has switched the default development server from WEBrick to Puma. As far as production is concerned, Rails suggested running Action Cable servers in the developer’s own process, which is how Basecamp runs at scale.

Th inroduction of API mode is one of the core feature of Rails 5. If you build a Rails application using the new back-end API, a configuration will be created that assumes the developer will be working with JSON and not HTML.

Some of the other important features of Rails 5 are a new Attributes API, test runner. As of the time of this writing, 789 developers have contributed to Rails 5.0.


Like it? Share with your friends!

0

What's Your Reaction?

hate hate
0
hate
confused confused
0
confused
fail fail
0
fail
fun fun
0
fun
geeky geeky
0
geeky
love love
0
love
lol lol
0
lol
omg omg
0
omg
win win
0
win
Anand Narayanaswamy
Anand Narayanaswamy is the editor-in-chief of Learnxpress. He was a Microsoft Most Valuable Professional (MVP) for a period of 9 years. He is a ASPInsider based in Trivandrum, Kerala State, India. Anand is the author of Community Server Quickly published by Packt Publishing.

0 Comments

Your email address will not be published. Required fields are marked *