Hotwire Native for Rails Developers
An upcoming book by Joe Masilotti that teaches Rails developers how to build iOS and Android apps with Hotwire Native. Published by The Pragmatic Bookshelf.
Hotwire Native is a game changer for Rails developers looking to build apps for iOS and Android. It enables you to create intuitive and maintainable mobile apps powered by the technology you already know: Ruby on Rails.
In this book, you’ll leverage existing content from your Rails app to build an iOS and Android app from scratch. You’ll progressively enhance these apps with native components and screens.
By the end of this book, you’ll be able to work with confidence across multiple platforms and understand the benefits of native versus web to build for any SDK and any API.
Readers will learn…
- Work with confidence across multiple platforms: Hybrid apps are most impactful when launched across multiple platforms. Readers will learn how to build for the web, iOS, and Android with confidence.
- Cultivate the Hotwire Native mindset: Building effective Hotwire Native apps means leaving as much business logic as possible on the server. Readers will learn how to cultivate this mindset and how this creates low-maintenance, server-driven apps.
- Understand the benefits of native vs. web: Building and maintaining native screens and components requires a lot of effort. But sometimes the additional fidelity is worth it. Readers will learn when and why it makes sense to upgrade to native.
- Build for any SDK and any API: One of the biggest benefits of mobile apps is access to the underlying platform SDKs and APIs not available on the web. Readers will learn the patterns to follow and best practices for working with Swift, Kotlin, Rails, and Hotwire Native to develop their own native features so they can interact with any native interface, current or future.
- Avoid Hotwire Native pitfalls and gotchas: Hybrid still has some trade-offs. Readers will learn where it falls short and what to watch out for when building their apps.
Table of contents
Note that this chapter list is not yet final and will evolve as the book is written.
- Build Your First Hotwire Native Apps
- Control Your Apps with Rails
- Navigate Gracefully with Path Configuration
- Add a Native Tab Bar
- Render Native Screens with SwiftUI
- Render Native Screens with Jetpack Compose
- Build Native iOS Components with the Bridge
- Build Native Android Components with the Bridge
- Deploy to Physical Devices with TestFlight and Internal Testing
- Send Push Notifications with APNS and FCM
Sign up for updates
Books take a while and I'm still writing this one! Sign up to get first access to the beta release and help shape the future of the book.
You’ll also be subscribed my weekly newsletter.