Jump to ratings and reviews
Rate this book

Enterprise Rails

Rate this book
What does it take to develop an enterprise application with Rails? Enterprise Rails introduces several time-tested software engineering principles to prepare you for the challenge of building a high-performance, scalable website with global reach. You'll learn how to design a solid architecture that ties the many parts of an enterprise website together, including the database, your servers and clients, and other services as well.

Many Rails developers think that planning for scale is unnecessary. But there's nothing worse than an application that fails because it can't handle sudden success. Throughout this book, you'll work on an example enterprise project to learn first-hand what's involved in architecting serious web applications.

With this book, you will:

Tour an ideal enterprise systems layout: how Rails fits in, and which elements don't rely on Rails Learn to structure a Rails 2.0 application for complex websites Discover how plugins can support reusable code and improve application clarity Build a solid data model -- a fortress -- that protects your data from corruption Base an ActiveRecord model on a database view, and build support for multiple table inheritance Explore service-oriented architecture and web services with XML-RPC and REST See how caching can be a dependable way to improve performance Building for scale requires more work up front, but you'll have a flexible website that can be extended easily when your needs change. Enterprise Rails teaches you how to architect scalable Rails applications from the ground up.

"Enterprise Rails is indispensable for anyone planning to build enterprise web services. It's one thing to get your service off the ground with a framework like Rails, but quite another to construct a system that will hold up at enterprise scale. The secret is to make good architectural choices from the beginning. Chak shows you how to make those choices. Ignore his advice at your peril." -- Hal Abelson, Prof. of Computer Science and Engineering, MIT

352 pages, Paperback

First published January 1, 2008

Loading interface...
Loading interface...

About the author

Dan Chak

11 books1 follower

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
12 (29%)
4 stars
19 (46%)
3 stars
7 (17%)
2 stars
3 (7%)
1 star
0 (0%)
Displaying 1 - 5 of 5 reviews
Profile Image for David Dikman.
34 reviews1 follower
May 16, 2020
Being from 2009 a lot of things has changed since. SOA has been replaced with micro-services and REST has definitely overtaken XML-RPC or SOAP leaving portions of the book a bit irrelevant.

That being said, the arguments he proposes for the techniques can equally be applied to these new kids on the block and it is an interesting comparison over 10 years, showing how things change.

Too much is focused on database design and practical implementation rather than patterns of how to scale applications I felt but the almost 1/3 focussed on caching is still very relevant and applicable across languages and frameworks.

I'm glad I read it although I won't be able it all.
9 reviews
August 14, 2020
This book was written in the Rails 2 era, but it is timeless. It doesn't focus on Rails as much as it focusses on application and database design in the context of Rails. Surely there's a lot of new technology and methodology since this was written, but the things Dan Chak describes are still on-point. I'd love an updated version of this book, but it's still very recommendable in 2020.
Profile Image for Peter Rybarczyk.
95 reviews9 followers
January 11, 2019
Good enough.
Covers most of the important topics on at beginner level. It could be 5 stars a few years ago, but right now it is outdated in many aspects so only 3. But still, if you have some time it's worth of reading (just skip outdates parts ;))
1 review
June 7, 2010
Top points:
- Shortcomings of ActiveRecord
- SOAP/XML/RPC/REST compared
- Strong points of Postgresql and misuse of MySQL
- Database Caching: memcache

Not covered:
- Web caching
- Disaster Recovery
- Other enterprise databases such as Oracle, DB2
- Recent merging of MERB and Rails
This entire review has been hidden because of spoilers.
Profile Image for Robert.
107 reviews3 followers
April 24, 2010
Very, very good book on the issues that enterprise application architectures need to address. Well worth reading, even if you are not interested in ruby!
Displaying 1 - 5 of 5 reviews

Can't find what you're looking for?

Get help and learn more about the design.