Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Agile Web Development with Rails 5.1
About the Pragmatic Bookshelf
Table of Contents
Early praise for Agile Web Development with Rails 5 .1
Foreword to the Rails 5 Edition
Preface to the Rails 5.1 Edition
Acknowledgments
Introduction
Rails Simply Feels Right
Rails Is Agile
Who This Book Is For
How to Read This Book
Pa rt 1 Getting Started
Installing on Cloud9
Installing on a Virtual Machine
Installing on Windows
Installing on Mac OS X
Installing on Linux
Choosing a Rails Version
Setting Up Your Development Environment
Rails and Databases
Creating a New Application
Hello, Rails!
Linking Pages Together
When Things Go Wrong
Models, Views, and Controllers
Rails Model Support
Action Pack: The View and Controller
Ruby Is an Object-Oriented Language
Data Types
Logic
Organizing Structures
Marshaling Objects
Pulling It All Together
Ruby Idioms
Part 2: Building an Application
Incremental Development
What Depot Does
Let’s Code
Iteration A1: Creating the Product Maintenance Application
Iteration A2: Making Prettier Lis tings
Iteration B1: Validating!
Iteration B2: Unit Testing of Models
Iteration C1: Creating the C atalog Listing
Iteration C2: Adding a Page Layout
Iteration C3: Using a Helper to Fo rmat the Price
Iteration C4: Functional Testing of C ontrollers
Iteration C5: Caching of Partial Results
What We Just Did
Iteration D1: Finding a Cart
Iteration D2: Connecting Products to Carts
Iteration D3: Adding a Button
Iteration E1: Creating a Smarter Cart
Iteration E2: Handling Errors
Iteration E3: Finishing the Cart
Iteration F1: Moving the Cart
Iteration F2: Creating an Ajax-Based Cart
Iteration F3: Highlighting Cha nges
Iteration F4: Hiding an Empty Cart with a Custom Helper
Iteration F5: Broadcasting Updates with Actio n Cable
Iteration G1: Capturing an Order
Iteration G2: Atom Feeds
Iteration H1: Adding Fields Dynamically t o a Form
Iteration H2: Testing Our JavaScript Fun ctionality
Iteration I1: Sending Confirmation Emails
Iteration I2: Connecting to a Slow Payme nt Processor with Active Job
Iteration J1: Adding Users
Iteration J2: Authenticating Users
Iteration J3: Limiting Access
Iteration J4: Adding a Sidebar, More Administ ration
Iteration K1: Selecting the Locale
Iteration K2: Translating th e Storefront
Iteration K3: Translating Checkout
Iteration K4: Adding a Locale Switcher
Iteration L1: Deploying with Phusion Passenge r and MySQL
Iteration L2: Deploying Remotely with Ca pistrano
Iteration L3: Checking Up on a Deployed Appli cation
Iteration L4: Deploying with Fewer Steps on H eroku
Rails Concepts
Documenting What We’ve Done
Part 3: Rails in Depth
Where Things Go
Naming Conventions
Defining Your Data
Locating and Traversing Records
Creating, Reading, Updating, and Deleting (CR UD)
Participating in the Monitoring Process
Transactions
Dispatching Requests to Controllers
Processing of Requests
Objects and Operations That Span Requests
Using Templates
Generating Forms
Processing Forms
Uploading Files to Rails Applications
Using Helpers
Reducing Maintenance with Layouts and Parti als
Creating and Running Migrations
Anatomy of a Migration
Managing Tables
Advanced Migrations
When Migrations Go Bad
Schema Manipulation Outside Migrations
Testing with RSpec
Creating HTML Templates with Slim
Serving CSS via Webpack
Customizing Rails in Other Ways
Where to Go from Here
Bibliography
You May Be Interested In…
← Prev
Back
Next →
← Prev
Back
Next →