ActionCable和实时交互

代码之力
September 24, 2016

 ActionCable和实时交互

未来属于实时交互

代码之力

September 24, 2016

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

39 slides
  1. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do

    eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
 ҁ๚ׅၥکଗᨵ҂ FBI WARNING
  2. BUT

  3. Client-side ActionCable Process Rails Process Server-side 
 Channel Client-side 


    Channel Redis
 named Channel stream_from Notify #received #perform(action) ActionCable broadcast Connection Model Controller Job DOM
  4. Model A Server-side Client-side Model A’ View හഝݶྍ ๅෛ ඙֢


    ץද Controller ᧗࿢ ቘమጱਫ෸Ի԰ጱᑕଧཛྷୗ ඙֢/ᬌف

More Decks by 代码之力

Other Decks in Technology