Exploring Rails 7, Hotwire and AnyCable speedy streams
Vložit
- čas přidán 19. 05. 2024
- In this episode, we’re going to build a new Rails 7 application from scratch-a very first prototype of what could become a Discord-like multi-channel chat. We will see how the new --css=tailwind option makes generated templates look cool, give Turbo Frames and Streams a try, and, finally, configure AnyCable with its brand new JWT authentication and speedy streams features.
❤️ You can support us on GitHub Sponsors: github.com/sponsors/anycable
Our public roadmap is available here: github.com/orgs/anycable/proj...
Source code: github.com/anycable/anycasts_...
anycable.io/blog/anycasts-rai...
00:00 Intro
01:22 rails new
05:02 rails g new scaffold Channel
12:30 rails g resource Message
20:13 Going real-time with Turbo Streams
23:57 Optimizing with Turbo Frames
27:22 rails g anycable:setup
32:05 Switching to RPC-less AnyCable - Věda a technologie
Great content Vladimir. Would appreciate a future Anycast regarding deployment to production, covering not only this Hotwire-only scenario, but one that also supports other channels
Nice video Vladimir, always love reading your blogs & now screencast. Looking forward to 2nd episode of this.
thx for video, please keep going make screencast
thank you for support!
very cool! great tutorial!
freaking awesome!
Good tutorial! It worked well for me. I'm using rails 7 and Windows 10, but I don't know why I couldn't continue with anycable. I had some errors related with some gems in C: or something like that, but well, thanks a lot.
Nice video. What VS Code theme are you using?
what is the name of your zsh theme?
Is there a github repo for this project? The code is not fully visible at 9:39 EDIT: After a bunch of missing code, I had to stop wasting my time with this tutorial. 17:07 the guy creates a file and we don't get what goes into it. When we finally see it for 0.00001 seconds, it's all cut because the guy is using tailwind which requires 99999999 classes for a div. Also, what's the point in having a terminal eating half your code view if you're going to switch to a full screen terminal when needed? This has been the worst and most amateurish waste of time tutorial I've ever tried to follow.