Writing on software design, experiences and whatever I find interesting.

All of my long-form thoughts on programming, design, experiences, and more, collected in chronological order.

Hotwire: Supercharged Rails forms with Turbo

Rails 7 featured the new addition of Hotwire which is a bundle of frontend tools that allow us to build modern and fast web applications without writing any JavaScript(most of the times). The idea of Hotwire is to send HTML “over the wire” instead of JSON, this means that the server will deliver directly the HTML that should be rendered, reducing the overhead.

Real time Rails (Introduction to ActionCable) Rails 5

Rails 5 introduced ActionCable which is a built-in module that integrates WebSockets with the rest of your application and sets up both the server and the client side in a rails-magic-friendly way which means that you don’t actually need to know much about WebSockets or how they work in the background.