Skip to content

Commit

Permalink
First official teaser of the book!
Browse files Browse the repository at this point in the history
  • Loading branch information
joemasilotti committed Jan 21, 2024
1 parent 61bdb6c commit 65b95b4
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 0 deletions.
1 change: 1 addition & 0 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ ErrorDocument 404 /404/

Redirect /hotwire /newsletter/
Redirect /workshop /turbo-native-workshop/
Redirect /book /turbo-native-for-rails-developers/
3 changes: 3 additions & 0 deletions _data/navigation_links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@
- title: Newsletter
href: _pages/newsletter.liquid

- title: Book
href: _pages/book.liquid

- title: Services
href: _pages/services.liquid
15 changes: 15 additions & 0 deletions _includes/content/book.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Native apps are hard. They are expensive to build and even more expensive to maintain.

But what if that wasn’t the case? What if every time you built a new workflow in your Rails app, your mobile apps got that feature for free?

This is possible with Turbo Native. And this book will teach you how to build high-fidelity, low-maintenance iOS and Android apps drive by your Rails server.

You won't need any Kotlin or Swift experience to get started, just some Rails experience.

## Readers will learn...

1. **Confidence across platforms**: Hybrid apps are most impactful when launched across multiple platforms. Readers will learn how to build for web, iOS, and Android.
2. **The Turbo Native mindset**: Building effective Turbo Native apps means leaving as much business logic as possible on the server. Readers will learn how to create low-maintenance, server-drive apps.
3. **Native vs. web**: Building native screens and components requires a lot more effort to build and maintain. But sometimes the additional fidelity is worth it. Readers will learn when it makes sense to upgrade to native.
4. **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 building blocks so they can interact with any native interface, current or future.
5. **Turbo 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.
40 changes: 40 additions & 0 deletions _pages/book.liquid
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
title: Turbo Native for Rails developers
description: An upcoming book by Joe Masilotti that teaches Rails developers how to build iOS and Android apps with Turbo Native.
layout: simple
permalink: /turbo-native-for-rails-developers/
---

<div class="prose lg:prose-lg">
{% capture markdown %} {% include content/book.md %} {% endcapture %}
{{ markdown | markdownify }}
</div>

<div class="bg-gray-50 max-w-screen-sm rounded-2xl p-6 mt-16">
<h2 class="flex items-center font-medium text-gray-900">
{% svg /assets/icons/outline/envelope.svg class="h-6 w-6 flex-none text-gray-500" %}
<span class="ml-3"># for updates</span>
</h2>
<p class="mt-3 text-base text-gray-600 pr-4">Books take a while and I'm still writing this one! # to get first access to the beta release and help shape the future of the book.</p>
{% include newsletter/subscribe.liquid tag="book" %}
<p class="mt-3 text-gray-500 text-sm">You’ll also be subscribed my <a href="{% link _pages/newsletter.liquid %}" class="hover:underline">weekly newsletter</a>.</p>
</div>

<section class="isolate overflow-hidden bg-white px-6 lg:px-8">
<div class="relative mx-auto max-w-2xl pt-20 sm:pt-24 lg:max-w-4xl">
<figure class="grid grid-cols-1 items-center gap-x-6 gap-y-8 lg:gap-x-10">
<div class="relative col-span-2 lg:col-start-1 lg:row-start-2">
<blockquote class="text-xl font-medium leading-8 text-gray-900 sm:leading-9">
<p>I've been building iOS and Android apps with Turbo Native since 2016. I know where it shines and where it falls short. And I'm excited to share everything I know with you in this book!</p>
</blockquote>
</div>
<div class="col-end-1 w-16 lg:row-span-4 lg:w-72">
<img class="rounded-xl bg-primary-50 lg:rounded-3xl" src="/assets/images/joe.jpg" alt="Joe Masilotti">
</div>
<figcaption class="text-lg lg:col-start-1 lg:row-start-3">
<div class="font-semibold text-gray-900"><a href="{% link _pages/index.liquid %}" class="hover:underline">Joe Masilotti</a></div>
<div class="text-gray-500">The Turbo Native guy</div>
</figcaption>
</figure>
</div>
</section>

0 comments on commit 65b95b4

Please # to comment.