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