Название: The Rails 7 Way Автор: Lucas Dohmen, Tom Henrik Aadland, Obie Fernandez Издательство: Leanpub Год: 2023-05-04 Страниц: 750 Язык: английский Формат: pdf (true), epub Размер: 29.4 MB
The Rails 7 Way is the comprehensive, authoritative reference guide for professionals delivering production-quality code using modern Ruby on Rails. It illuminates the entire Rails 7 API, its most powerful idioms, design approaches, and libraries. Building on the previous editions, this edition has been heavily refactored and updated. It features entirely new chapters on Action Mailbox, Active Storage, asset pipelines, ViewComponent, and Turbo.
Through detailed code examples, you’ll dive deep into Ruby on Rails, discover why it’s designed as it is, and learn to make it do exactly what you want. Proven in thousands of production systems, the knowledge in this book will maximize your productivity and help you build more successful solutions.
Rails 6 marked the beginning of a revolution, though: After years of using their own, forked version of an older revision of Rails, GitHub came back to the same Ruby on Rails we all use and love. This bears first fruit with contributions from their database and test setup in Rails 6. With GitHub, Shopify, and of course Basecamp and Hey all running the latest version of Rails, your app will be in good company. Rails 7 continues with At-Work encryption extracted from Basecamp and async loading from Shopify. Rails 7 is also a significant change for jаvascript in Rails: From a new approach to the asset pipeline (without Node by default and offering a wide range of choices) to replacing Turbolinks and UJS with Turbo and Stimulus. The new autoloader Zeitwerk introduced in Rails 6 as an option now is the only choice.
As with previous editions, this book is not a tutorial or basic introduction to Ruby or Rails. The idea is for the full-time Rails developer to give it a once-over straight through at first, then use it as a day-to-day reference. The more confident reader might get started in Rails using just this book, extensive online resources, and their wits. Still, other publications are more introductory and might be a wee bit more appropriate for beginners.
To make the most out of this book, you should be at least somewhat familiar with how to bootstrap a Rails application and the MVC (Model-View-Controller) architectural pattern. If you are not, we recommend that you first take advantage of the excellent Ruby on Rails Tutorial website by Michael Hartl.
Build powerful, scalable, REST-compliant back-end services Program complex program flows using Action Controller Represent models, relationships, and operations in Active Record, and apply advanced Active Record techniques Smoothly evolve your database schema via Migrations Craft maintainable front-ends with ActionView Build your assets with one of the asset pipelines Optimize performance and scalability with caching and Turbo Improve your productivity using Haml templating Secure your systems against attacks like SQL Injection, XSS, and XSRF Integrate email using Action Mailer and Action Mailbox Improve responsiveness with background processing Build “API-only” back-end projects that speak JSON Store your files in the cloud via Active Storage Leverage Multiple Databases Write a reactive application with little to no jаvascript
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.