receive announcement and update emails? Get occasional notifications about things like product discounts, blog posts, and new or updated tutorials. Unsubscribe at any time. No thanks.
Summary: Action Cable will be one of the main features of Rails 5, to be released sometime this winter. But what can Action Cable do for Rails developers? Are WebSockets really as useful as everyone says? (4205 words/21 minutes) One of the marquee features of Rails 5 (likely releasing sometime Q1/Q2 2016) is Action Cable, Rails’ new framework for dealing with WebSockets. Action Cable has generated
こんにちは、Misoca開発部のtaiki-tです。 名古屋に引っ越して半年が経ちました。良いところですね。 さて、GWも終わってしまいましたが、2015年は9月にシルバーウィークがあるので、それまで頑張りましょう。 今回は、RailsConf 2015で紹介されたRails 5 についての話を少し紹介したいと思います。 Rails5から加わる主な機能 ActionCable Turbolinks 3.0 Rails API ActionCable ActionCableの「Cable」は、WebSocketを表します。 WebSocketというcableでユーザとアプリケーションをつなげる、というコンセプトに基づきます。 WebSocketと聞いてピンときたかもしれませんが、ActionCableは、Railsにリアルタイム通信の仕組みを取り入れるものです。 これまではRailsでリアル
One of the highly anticipated feature of Rails 5 is the official solution for integrating web socket communication with Rails, dubbed Action Cable. As a Ruby on Rails agency, we are very excited about this upcoming feature release. According to their Github page, Action Cable: […] seamlessly integrates WebSockets with the rest of your Rails application. It allows for real-time features to be writt
成果物 デモ(Heroku) http://fluxchat.takeyu-web.com/ ソースコード takeyuweb/rails-fluxchat-example · GitHub キーワード Rails 4.2 ActionCable ES6 React Flux (Alt) Action Cable? まだコード全部は読んでないのですが、WebSocketを使ったリアルタイム通信を手軽に実装するためのサーバ・クライアントフレームワーク実装だと感じました。(違ってたらご指摘下さい!) Railsらしく規約に従ってサーバ・クライアント側で所定のクラスを作っておけば、実際の接続処理や接続の監視・再接続、受け取ったデータのハンドリングなど細かいことはActionCableが良い感じにしてくれるっぽい。 なおAction CableのサーバはこれまでのWebサーバ(rails sなやつ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く