Sign up
Forgot password?
FAQ: Login

Newatia Ayush. The Rails and Hotwire Codex: Build an app for web, iOS, and Android

  • pdf file
  • size 35,53 MB
Newatia Ayush. The Rails and Hotwire Codex: Build an app for web, iOS, and Android
Leanpub, 2023. — 924 p. — 09.02.2023 (Version v1.0.4)
In 2022, building an app solely for web doesn't cut it any more. iOS and Android apps are essential for a successful SaaS product. Using Rails and Hotwire, it's possible to build a web app with accompanying hybrid mobile apps that don't suck. This book will teach you the skills to push Rails.
Hotwire to the max.
Hotwire provides the tools to build high-fidelity web apps without a monolithic front-end framework like React. It also gives us native extensions using which we can build iOS and Android wrappers for web apps, with the ability to go fully native when required. In this book, we’ll build an application for Web, iOS, and Android without losing our sanity!
You'll learn...
How to build an app for Web, iOS, and Android.
We'll build a neighborhood marketplace app à la Gumtree or Craigslist. We'll call it Piazza. Alongside the Rails app, we'll also build iOS and Android apps using Turbo Native.
Authentication and Authorization from scratch
These are core concepts used in every single web app, and having a working understanding of what goes on under the hood is essential. That's why, in this book, we build them from scratch instead of using a gem.
Shipping production quality code
Far too many tutorials come with a caveat of "but don’t do this in production". They rarely explain what one should do in production. None of that nonsense. Everything in this book is 100% production-ready!
Internationalization and Localization
Internationalizing an app from the get-go keeps all the user-facing text out of the views. This keeps the code clean, makes it easier to test, and the app is ready to be localized when required.
Every single Rails sub-framework
Action Mailer, Active Storage, Action Text, Active Job, Action Cable, Action Mailbox. We'll build features using them all!
PostgreSQL powered search
It's hard to imagine a modern web app without a search. PostgreSQL packs in quite a punch with its full-text search feature. We'll build a search engine using it.
Deploying the app to Render
Heroku is frozen in time. Render is the future. We'll deploy services to run Rails, Sidekiq, PostgreSQL, and Redis.
Prerequisites:
This book assumes a basic understanding of programming for the web, object-oriented programming, Ruby, Rails, modern JavaScript, HTML, CSS, and version control using Git. If you’re familiar with basic OOP principles like classes and inheritance, setting up Active Record models and associations, defining Rails routes to connect to a controller action, and rendering a view from a controller action; you’ll be able to follow along just fine. You’ll also need Ruby 3, Rails 7, Node.js 16, and PostgreSQL 14 installed on your local machine.
  • Sign up or login using form at top of the page to download this file.
  • Sign up
Up