Ruby on Rails
Sunday, September 16, 2018
Does it matter if my rails app is an api app or not?
On Sunday, September 16, 2018 at 7:33:00 AM UTC-4, Rob Jonson wrote:
-- On Sunday, September 16, 2018 at 7:33:00 AM UTC-4, Rob Jonson wrote:
The rails way to do this (update page when stuff happens at the server) is ActionCablehttps://guides.rubyonrails.org/action_cable_overview.html It runs on websockets and allows the server to push information to the browser. Your javascript on the page then needs to know what to do with that information.It is typically slightly more complex to host than a 'regular' site as you probably need Redis running.
On Sunday, 16 September 2018 08:34:38 UTC+1, fugee ohu wrote:how does gmail make new messages appear in your browser as they arrive?
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b7f6cb06-257d-44a5-81c0-148edd35ee57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment