Ruby on Rails Sunday, September 16, 2018



On Mon, 17 Sep 2018, 02:51 fugee ohu, <fugee279@gmail.com> wrote:
Does it matter if my rails app is an api app or not?

Define (in terms of models and controllers) in what way they differ.

Colin



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 ActionCable
https://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.

--
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/CAL%3D0gLsFFjiqbUnUnZj2CLA4-TtOCyyUfMs0RuG2_gdW9ptxaw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment