Sam Ruby

#Rails
#Web_Development
🚀 هشتمین نسخه اصلی Rails روی ساخت اپلیکیشنهای آماده پروداکشن تمرکز داره. این نسخه در کنار حفظ توانایی Rails برای ساخت تجربههای کاربری عالی، مزایای اپلیکیشنهای تکصفحهای رو با بخش کوچکی از پیچیدگی اونها ارائه میده.
🧰 Rails 8 ابزارهای جدیدی مثل Kamal 2 و Thruster رو معرفی میکنه، Adapterهای جدید دیتابیس رو اضافه میکنه، Asset Pipeline قبلی رو جایگزین میکنه و یک Generator جدید برای Authentication ارائه میده. نتیجه، Toolkit قدرتمندیه که حتی به یک نفر اجازه میده بهتنهایی اپلیکیشنهای مدرنی بسازه و بر پایه اونها یک کسبوکار رقابتی راه بندازه؛ درست مثل روزهایی که یک دولوپر مستقل میتونست محصول کاملی بسازه.
💎 Ruby on Rails کمک میکنه اپلیکیشنهای وب باکیفیت و زیبا رو با سرعت زیادی توسعه بدی. تو روی ساخت خود اپلیکیشن تمرکز میکنی و Rails جزئیات زیرساختی رو مدیریت میکنه. Rails 8 پیشرفتهای زیادی داره و این ویرایش کتاب، قابلیتهای جدید و تغییرهای Best Practiceها رو کامل پوشش میده.
🏗️ کتاب با یک راهنمای قدمبهقدم برای ساخت یک اپلیکیشن واقعی شروع میشه و بعد قابلیتهای داخلی Rails رو عمیقتر بررسی میکنه. در یک آموزش جامع، همراه کتاب یک فروشگاه اینترنتی میسازی و مرحلهبهمرحله قابلیتهای مختلف اون رو پیادهسازی میکنی.
⚙️ یاد میگیری پیکربندیها و کارهای نگهداری خستهکننده رو حذف کنی، JavaScript رو بدون دردسر وارد پروژه کنی، ایمیل بفرستی و دریافت کنی، کارهای پسزمینه رو با ActiveJob مدیریت کنی و با WebSocket و ActionCable قابلیتهای بلادرنگ بسازی.
🧪 همزمان با نوشتن اپلیکیشن، با فریمورکهای داخلی Unit Test، Integration Test و System Test اون رو تست میکنی. همینطور یاد میگیری اپلیکیشن رو چندزبانه کنی و در نهایت بهشکل ساده و امن روی پروداکشن دیپلوی کنی.
📚 نسخه Rails 1.0 در دسامبر ۲۰۰۵ منتشر شد و این کتاب از همان ابتدا همراه Rails بوده. کتاب فقط در کنار Rails تکامل پیدا نکرده، بلکه همراه خود Rails توسعه داده شده و محتوای اون با مشورت تیم اصلی Rails شکل گرفته. حتی خود Rails هم با کدهای این کتاب تست میشه.
🧩 چیزهایی که نیاز داری
💻 برای توسعه فقط به یک سیستم Windows، macOS یا Linux نیاز داری. کتاب تمام مراحل نصب Rails و وابستگیهای اون رو قدمبهقدم توضیح میده. اگر با زبان برنامهنویسی Ruby آشنا نیستی، یک فصل اختصاصی هم وجود داره که مبانی لازم برای فهم مطالب کتاب رو آموزش میده.
📖 فهرست مطالب
پارت ۱. شروع کار
فصل ۱. نصب Rails
فصل ۲. رسیدن سریع به اولین نتیجه
فصل ۳. معماری اپلیکیشنهای Rails
فصل ۴. مقدمهای بر Ruby
پارت ۲. ساخت یک اپلیکیشن
فصل ۵. اپلیکیشن Depot
فصل ۶. تسک A: ساخت اپلیکیشن
فصل ۷. تسک B: اعتبارسنجی و Unit Testing
فصل ۸. تسک C: نمایش کاتالوگ
فصل ۹. تسک D: ساخت سبد خرید
فصل ۱۰. تسک E: یک سبد خرید هوشمندتر
فصل ۱۱. تسک F: Hotwire کردن ویترین فروشگاه
فصل ۱۲. تسک G: نهایی کردن خرید
فصل ۱۳. تسک H: ارسال ایمیل و پردازش کارآمد پرداختها
فصل ۱۴. تسک I: ورود به سیستم
فصل ۱۵. تسک J: بینالمللیسازی
فصل ۱۶. تسک K: دریافت ایمیل و پاسخ با Rich Text
فصل ۱۷. تسک L: دیپلوی و پروداکشن
فصل ۱۸. مرور نهایی اپلیکیشن Depot
پارت ۳. بررسی عمیق Rails
فصل ۱۹. پیدا کردن مسیر در Rails
فصل ۲۰. Active Record
فصل ۲۱. Action Dispatch و Action Controller
فصل ۲۲. Action View
فصل ۲۳. Migrationها
فصل ۲۴. سفارشیسازی و توسعه Rails
👤 درباره نویسندگان
👨💻 سم روبی متخصص Rails در Fly.io است. او قبلاً رئیس Apache Software Foundation بوده، ریاست مشترک W3C HTML Working Group رو بر عهده داشته و در تعداد زیادی از پروژهها و استانداردهای Open Source مشارکت مهمی کرده.
👨💻 دیو توماس بهعنوان یکی از نویسندههای Agile Manifesto، درک عمیقی از Agility داره. او با نوشتن کتاب Programming Ruby تسلط خودش بر Ruby رو نشون داده و بهعنوان یک دولوپر فعال Rails، تجربه عملی گستردهای با این فریمورک داره.
The eighth major release of Rails focuses on the ability to produce production-ready applications. It achieves this while building upon and retaining the ability to produce fantastic user experiences, and achieves all the benefits of single-page applications at a fraction of the complexity. Rails 8 introduces Kamal 2, Thruster, new database adapters, replaces the asset pipeline, and adds a new authentication generator. The result is a toolkit so powerful that it allows a single individual to create modern applications upon which they can build a competitive business—the way it used to be.
Ruby on Rails helps you produce high-quality, beautiful-looking web applications quickly—you concentrate on creating the application, and Rails takes care of the details. Rails 8 brings many improvements, and this edition is updated to cover the new features and changes in best practices.
We start with a step-by-step walkthrough of building a real application. We look in depth at the built-in Rails features. Follow along with an extended tutorial as you write a web-based store application. Eliminate tedious configuration and housekeeping, seamlessly incorporate JavaScript, send and receive emails, manage background jobs with ActiveJob, and build real-time features using WebSockets and ActionCable. Test your applications as you write them using the built-in unit, integration, and system-testing frameworks; internationalize your applications; and deploy your applications easily and securely.
Rails 1.0 was released in December 2005. This book was there from the start, and didn’t just evolve alongside Rails, it evolved with Rails. It has been developed in consultation with the Rails core team. In fact, Rails itself is tested against the code in this book.
What You Need:
All you need is a Windows, Mac OS X, or Linux machine to do development on. This book will take you through the steps to install Rails and its dependencies. If you aren’t familiar with the Ruby programming language, this book contains a chapter that covers the basics necessary to understand the material in the book.
Table of Contents
Part I. Getting Started
Chapter 1. Installing Rails
Chapter 2. Instant Gratification
Chapter 3. The Architecture of Rails Applications
Chapter 4. Introduction to Ruby
Part II. Building an Application
Chapter 5. The Depot Application
Chapter 6. Task A: Creating the Application
Chapter 7. Task B: Validation and Unit Testing
Chapter 8. Task C: Catalog Display
Chapter 9. Task D: Cart Creation
Chapter 10. Task E: A Smarter Cart
Chapter 11. Task F: Hotwiring the Storefront
Chapter 12. Task G: Check Out!
Chapter 13. Task H: Sending Emails and Processing Payments Efficiently
Chapter 14. Task I: Logging In
Chapter 15. Task J: Internationalization
Chapter 16. Task K: Receive Emails and Respond with Rich Text
Chapter 17. Task L: Deployment and Production
Chapter 18. Depot Retrospective
Part III. Rails in Depth
Chapter 19. Finding Your Way Around Rails
Chapter 20. Active Record
Chapter 21. Action Dispatch and Action Controller
Chapter 22. Action View
Chapter 23. Migrations
Chapter 24. Customizing and Extending Rails
About the Author
Sam Ruby is a Rails Specialist at Fly.io, and previously was President of the Apache Software Foundation, co-chaired the W3C HTML Working Group, and has made significant contributions to many open source projects and standards.
Dave Thomas, as one of the authors of the Agile Manifesto, understands agility. As the author of Programming Ruby, he understands Ruby. And, as an active Rails developer, he knows Rails.









