top

Rails 5.0 Release

The latest version  Rails 5.0 has come up in the market and we can say it is the perfect release till date . This version has come up with new framework for handling web sockets and support for API mode. Action cable New framework is being introduced as Action cable. It’s a complete integrated way for managing connections, it’s also a JavaScript layer for client- side interaction and a channels layer for server-side processing. This framework makes easy for developers for designing live features like chat, notifications and presence. Power of this framework can be seen in features of Basecamp 3. Action cable access to Active record and RORO domain model in Websockets work. A new rendering feature has been included in this framework, ActionController::Renderer that can render the templates outside of controllers, so you can reuse the server-side templates for websocket responses. Action-cable during development stage runs in-process with rest of the app . To support this feature Rails have switched from default development server from Webrick to Puma. Action Cable servers can run on their own processes during development stage. That’s how we run it at Basecamp at scale. Support for API mode To build a full stack application that uses server-side rendering of HTML templates,Rails is a good option. API mode gives a slimmed down version of rails for client-side JavaScript or native applications that just need the backend to speak JSON. Rails is a great choice when you want to  Rails has got new backend api support which will help in creating new Rails applications. Use of this api will slim down the configuration and skeleton and assumption can be made that you are working with JSON, not HTML.
Rated 4.0/5 based on 20 customer reviews
Normal Mode Dark Mode

Rails 5.0 Release

Geneva Clark
What's New
12th Jul, 2016
Rails 5.0 Release

The latest version  Rails 5.0 has come up in the market and we can say it is the perfect release till date . This version has come up with new framework for handling web sockets and support for API mode.

Action cable

New framework is being introduced as Action cable. It’s a complete integrated way for managing connections, it’s also a JavaScript layer for client- side interaction and a channels layer for server-side processing. This framework makes easy for developers for designing live features like chat, notifications and presence. Power of this framework can be seen in features of Basecamp 3.

Action cable access to Active record and RORO domain model in Websockets work. A new rendering feature has been included in this framework, ActionController::Renderer that can render the templates outside of controllers, so you can reuse the server-side templates for websocket responses.

Action-cable during development stage runs in-process with rest of the app . To support this feature Rails have switched from default development server from Webrick to Puma. Action Cable servers can run on their own processes during development stage. That’s how we run it at Basecamp at scale.

Support for API mode

To build a full stack application that uses server-side rendering of HTML templates,Rails is a good option. API mode gives a slimmed down version of rails for client-side JavaScript or native applications that just need the backend to speak JSON. Rails is a great choice when you want to  Rails has got new backend api support which will help in creating new Rails applications. Use of this api will slim down the configuration and skeleton and assumption can be made that you are working with JSON, not HTML.

Geneva

Geneva Clark

Blog Author
Geneva specializes in back-end web development and has always been fascinated by the dynamic part of the web. Talk to her about modern web applications and she and loves to nerd out on all things Ruby on Rails.

Leave a Reply

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

SUBSCRIBE OUR BLOG

Follow Us On

Share on

other Blogs

20% Discount