Hotwire — Turbo + Stimulus + Strada

Hotwire is the latest technology stack Basecamp announced based on Rails.

It aims to provide a collection of tools for developers to build an interactive, real-time application, while you do not have to build a separate frontend application (SPA).

The benefits of using Hotwire are as follows:

  • reduces the time developer set up an infrastructure for both frontend and backend applications
  • reduces the integration tests to be run for testing the interfaces between frontend and backend
  • supports real-time push of the application

The Architecture

It provides three separate libraries

  • Turbo — working on Server Side to deliver HTML fragment to web browsers by websocket
  • Stimulus — working on Client Side Browsers to do an interactive change without the need of server
  • Strada — for mobile application processing the HTML fragments to native components. It is not official yet. Hey.com is using that on its mobile applications.

From pragmatic studio

Demo

By Basecamp

--

--

--

Let's go invent tomorrow instead of worrying about what happened yesterday.

Love podcasts or audiobooks? Learn on the go with our new app.

Comparing CSS and SCSS syntax

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adam00

Adam00

Let's go invent tomorrow instead of worrying about what happened yesterday.

More from Medium

Demonstration of custom serializer specification at a specific route method’s render output line.
img