Home Page Icon
Home Page
Table of Contents for
Part III. Rails in Depth
Close
Part III. Rails in Depth
by Sam Ru, David B. Copeland, Dave Thomas
Agile Web Development with Rails 6
 Foreword to the Rails 5 Edition
 Preface to the Rails 6 Edition
 Acknowledgments
 Introduction
Rails Simply Feels Right
Rails Is Agile
Who This Book Is For
How to Read This Book
Part I. Getting Started
1. Installing Rails
Installing on Windows
Installing on macOS
Installing on Linux
Choosing a Rails Version
Setting Up Your Development Environment
Rails and Databases
2. Instant Gratification
Creating a New Application
Hello, Rails!
Linking Pages Together
When Things Go Wrong
3. The Architecture of Rails Applications
Models, Views, and Controllers
Rails Model Support
Action Pack: The View and Controller
4. Introduction to Ruby
Ruby Is an Object-Oriented Language
Data Types
Logic
Organizing Structures
Marshaling Objects
Pulling It All Together
Ruby Idioms
Part II. Building an Application
5. The Depot Application
Incremental Development
What Depot Does
Let’s Code
6. Task A: Creating the Application
Iteration A1: Creating the Product Maintenance Application
Iteration A2: Making Prettier Listings
7. Task B: Validation and Unit Testing
Iteration B1: Validating!
Iteration B2: Unit Testing of Models
8. Task C: Catalog Display
Iteration C1: Creating the Catalog Listing
Iteration C2: Adding a Page Layout
Iteration C3: Using a Helper to Format the Price
Iteration C4: Functional Testing of Controllers
Iteration C5: Caching of Partial Results
9. Task D: Cart Creation
Iteration D1: Finding a Cart
Iteration D2: Connecting Products to Carts
Iteration D3: Adding a Button
10. Task E: A Smarter Cart
Iteration E1: Creating a Smarter Cart
Iteration E2: Handling Errors
Iteration E3: Finishing the Cart
11. Task F: Add a Dash of Ajax
Iteration F1: Moving the Cart
Iteration F2: Creating an Ajax-Based Cart
Iteration F3: Highlighting Changes
Iteration F4: Hiding an Empty Cart with a Custom Helper
Iteration F5: Broadcasting Updates with Action Cable
12. Task G: Check Out!
Iteration G1: Capturing an Order
Iteration G2: Atom Feeds
13. Task H: Entering Additional Payment Details
Iteration H1: Adding Fields Dynamically to a Form
Iteration H2: Testing Our JavaScript Functionality
14. Task I: Sending Emails and Processing Payments Efficiently
Iteration I1: Sending Confirmation Emails
Iteration I2: Connecting to a Slow Payment Processor with Active Job
15. Task J: Logging In
Iteration J1: Adding Users
Iteration J2: Authenticating Users
Iteration J3: Limiting Access
Iteration J4: Adding a Sidebar, More Administration
16. Task K: Internationalization
Iteration K1: Selecting the Locale
Iteration K2: Translating the Storefront
Iteration K3: Translating Checkout
Iteration K4: Adding a Locale Switcher
17. Task L: Receive Emails and Respond with Rich TextTask L: Receive Emails and Respond with Rich Text
Iteration L1: Receiving Support Emails with Action Mailbox
Iteration L2: Storing Support Requests from Our Mailbox
Iteration L3: Responding with Rich Text
Part III. Rails in Depth
18. Finding Your Way Around Rails
Where Things Go
Naming Conventions
19. Active Record
Defining Your Data
Locating and Traversing Records
Creating, Reading, Updating, and Deleting (CRUD)
Participating in the Monitoring Process
Transactions
20. Action Dispatch and Action Controller
Dispatching Requests to Controllers
Processing of Requests
Objects and Operations That Span Requests
21. Action View
Using Templates
Generating Forms
Processing Forms
Uploading Files to Rails Applications
Using Helpers
Reducing Maintenance with Layouts and Partials
22. Migrations
Creating and Running Migrations
Anatomy of a Migration
Managing Tables
Advanced Migrations
When Migrations Go Bad
Schema Manipulation Outside Migrations
23. Customizing and Extending Rails
Testing with RSpec
Creating HTML Templates with Slim
Serving CSS via Webpack
Customizing Rails in Other Ways
Where to Go from Here
 Bibliography
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Agile Web Development with Rails 6
Next
Next Chapter
18. Finding Your Way Around Rails
Part 3
Rails in Depth
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset