Jump to ratings and reviews
Rate this book

Sustainable Web Development with Ruby on Rails: Practical Tips for Building Web Applications that Last

Rate this book
Learn how to get the most out of Ruby on Rails 7 without making a mess. Create Rails apps that can be sustained for years without accruing carrying costs that make development slow and expensive. Recently updated for Ruby on Rails version 7, this book is over 450 pages of practical tips, with clear code examples. Each tip is presented with the tradeoffs and nuance you'd face on an actual project. Everything in the book has been applied to real-world systems that have been in production for years. If you want that for your apps, this book has what you are looking for.

589 pages, Kindle Edition

Published November 12, 2020

23 people are currently reading
85 people want to read

About the author

David Bryant Copeland

7 books15 followers
David Copeland is a programmer and author. He wrote "The Senior Software Engineer" and "Build Awesome Command-Line Applications in Ruby", and has over 16 years of professional development experience. He's managed high-performance, high-traffic systems at LivingSocial, helped build the engineering team at Opower, and worked consulting gigs both large and small. Currently, he's a lead engineer at fashion start-up Stitch Fix, building a platform that will change the retail shopping experience.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
25 (48%)
4 stars
18 (34%)
3 stars
6 (11%)
2 stars
1 (1%)
1 star
2 (3%)
Displaying 1 - 4 of 4 reviews
Profile Image for Daniel Dao.
105 reviews30 followers
December 7, 2022
It was very okay. I’ve used Rails in production for 2.5 years at scale—and a lot of the practices in here aren’t bad, I just didn’t think it was too mind-blowing. Maybe I’m not the target audience though..
Profile Image for Hưng Đặng.
129 reviews71 followers
April 7, 2024
T đến từ thế giới của JS, nơi của tự do và thoải mái. RoR thì có một cấu trúc ổn định hơn và rõ rệt nên ngay từ những chương đầu khi nói về kiến trúc của 1 RoR app, t đã có một cảm giác ngăn nắp và dễ hiểu. Tuy nhiên điểm nhấn là "carrying cost", dạng chi phí mà tác giả định nghĩa phải trả mọi lúc mà một ví dụ cụ thể là khi thấy khó khăn lúc chạy app dạng development đến mức phải đọc doc cùng với thực hiện nhiều loại câu lệnh khác nhau. Có lẽ việc bắt đầu phát triển cần đơn giản và dễ dàng hơn để carrying cost giảm.

Một điều thú vị là rất nhiều thủ thuật ở đây được sếp thực hiện khi triển khai app mà t đang làm. Một số thủ thuật khác (như là tập trung logic ở services thay vì models) lẽ ra nên đc triển khai sớm hơn thì lại được bắt đầu hơi muộn. Một số cảnh báo đến vào giai đoạn sau khi phát triển app như là tránh việc sao chép dữ liệu từ production database về development thì mãi sau này mới được áp dụng. Một số điều lẽ ra nên được thực hiện nghiêm ngặt thì lại bị bỏ qua như chuỗi migration đang nhẽ nên được duy trì ổn định thì đã bị đứt đoạn khi thiết lập app ở development. Rất nhiều những lời khuyên nho nhỏ như đồng nhất các tên biến môi trường, luôn để ý nâng cấp Rails version mới nhất... đều phù hợp và t sẽ cố gắng ghi nhớ và áp dụng cho các dự án sắp tới

Cuốn sách đến đúng thời điểm mà cty đang cần t chân nọ chân kia, chân JS chân RoR. T thực sự ngưỡng mộ RoR với những bài toán sẵn có cần đc giải quyết đến mức t tự tạo 1 template JS để làm việc với db tương tự ActiveRecord.

Có một nhận xét là một số đoạn code trong sách bị outdated nên t ko thể chạy toàn bộ mà khoảng 80% số lượng code demo.
12 reviews1 follower
August 13, 2021
A very valuable resource that I'd wish every Rails developer could read. And I wish I had read it earlier.

Most of the book is explained in a very easy-to-follow way. It's just like being sharing a beer with a good old-friend.
Displaying 1 - 4 of 4 reviews

Can't find what you're looking for?

Get help and learn more about the design.