Contact Us About Sponsorship

Questions about Micronaut Foundation sponsorship?

Please complete this form, and we’ll follow up with you shortly.

[hubspot type=form portal=4547412 id=a7b3ddfa-64b0-47fd-8358-45fa6a09456a]

Micronaut Integration with Hotwire Turbo

by Sergio Del Amo Caballero Tags:

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.https:

We also wrote a Micronaut Guide featuring the code shown in the previous screencast.

Turbo Native

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.

Hotwire

Hotwire is an alternative approach to building modern web applications without using much JavaScript by sending HTML instead of JSON over the wire.

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.