Agile Web Development with Rails 5.1
- Length: 496 pages
- Edition: 1
- Language: English
- Publisher: Pragmatic Bookshelf
- Publication Date: 2017-11-16
- ISBN-10: 1680502514
- ISBN-13: 9781680502510
- Sales Rank: #576095 (See Top 100 Books)
Learn Rails the way the Rails core team recommends it, along with the tens of thousands of developers who have used this broad, far-reaching tutorial and reference. If you’re new to Rails, you’ll get step-by-step guidance. If you’re an experienced developer, get the comprehensive, insider information you need for the latest version of Ruby on Rails. The new edition of this award-winning classic is completely updated for Rails 5.1 and Ruby 2.4, with information on system testing, Webpack, and advanced JavaScript.
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 5.1 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, and in-depth chapters look 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 Ajax and JavaScript; send emails and manage background jobs with ActiveJob; 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. New in this edition is support for Webpack and advanced JavaScript, as well as Rails’ new browser-based system testing.
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: Add A Dash Of Ajax
Chapter 12. Task G: Check Out!
Chapter 13. Task H: Entering Additional Payment Details
Chapter 14. Task I: Processing Emails And Payments Efficiently
Chapter 15. Task J: Logging In
Chapter 16. Task K: Internationalization
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