Turbo Streams broadcastings principles

Turbo Streams broadcastings principles

Preview unavailable

You must log in or sign up to view this lesson.

LoginSign up

The rebuilding turbo-rails tutorial

Buy nowLearn more

Introduction and source code of the tutorial

  • Welcome to the rebuilding turbo-rails tutorial!

Rails plugins architecture

  • Creating our turbo-clone Rails engine
  • Railtie vs Full Engine vs Mountable Engine

Setting up our development and test environments

  • CRUD on the Article model
  • @hotwired/turbo-rails JavaScript dependency

Turbo Frames and Turbo Stream views

  • Turbo Frame tag helper
  • Turbo Frame tag helper test
  • Turbo Stream MIME type
  • Turbo Stream Tag Builder (part 1)
  • Turbo Stream Tag Builder (part 2)
  • Turbo Stream Tag Builder (part 3)
  • Integration Test
  • Turbo Stream Tag Builder tests
  • Turbo Stream Renderer

Broadcasting Turbo Stream views with Action Cable

  • Turbo Streams broadcastings principles
  • Turbo Stream from helper
  • Turbo Stream from helper test
  • Broadcasting HTML principles
  • Broadcast append to method
  • Other Broadcastable methods
  • Broadcastable tests

Asynchronous Broadcastings with Active Job

  • Asynchronous broadcastings (part 1)
  • Asynchronous broadcastings (part 2)
  • Asynchronous broadcastings tests

Security concerns

  • Showing the security issue
  • Active Support Message Verifier
  • Implementing signed stream names

Installation rake tasks and final tests

  • Installation Rake tasks
  • Testing our clone in a real Rails application

Conclusion

  • Congratulations!