Micronaut Integration with Hotwire Turboby Sergio Del Amo Caballero
Micronaut Views adds integration with Turbo, the heart of Hotwire.
Turbo is a set of complementary techniques for accelerating page changes and form submissions, dividing complex pages into components, and streaming partial page updates over WebSocket.
Micronaut Views supports easy generation of Turbo Frames and Turbo Streams with a fluid API and annotations.
We recorded a screencast that shows how to build a chat application with Turbo and the Micronaut framework.
We also wrote a Micronaut Guide featuring the code shown in the previous screencast.
Moreover, the Micronaut framework is a perfect fit for the backend of mobile-native applications that use Turbo Native.
Turbo Native for iOS and Android provides the tooling to wrap your Turbo-enabled web app in a native iOS / Android shell.
Turbo Native manages a single WKWebView or WebView instance across multiple view controllers or fragment destinations, giving you a native navigation UI with all the client-side performance benefits of Turbo.
We wrote a Micronaut Guide to show you how to write the Turbo Native Demo with a Micronaut backend.
Turbo Native iOS
We recorded a screencast that shows how to run the Turbo Native iOS demo application and point it to the Micronaut application.
Turbo Native Android
We also recorded a screencast that shows how to run the Turbo Native Android demo application and point it to the Micronaut application.
By integrating Micronaut technology with Turbo, we get to keep all of our template rendering on the server. This means we’re free to write more of our applications in our favorite programming languages (Java, Kotlin, Groovy) and have access to server-side logic around persistence and security.