Enterprise Rails

by Dan Chak (O'Reilly Media). Get your copy and discuss.

A community forum for discussing Enterprise Rails (O'Reilly Media), by Dan Chak.

Buy now on Amazon! List price - $44.99 Amazon price - $29.69
About the 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.

About the author

Dan Chak’s varied education in real-world web architecture gives him a unique perspective on the challenges of building rock-solid web applications. Dan has worked at Amazon.com, the world’s biggest online retail store, where seemingly small technology problems become big ones due to enormous scale. Dan also directed software development at CourseAdvisor Inc., a Ruby on Rails startup company. A nearly instant success, CourseAdvisor was acquired by the Washington Post Company in October 2007.
 

Events

Notes

Don't forget to write a review!

Reviews help others make informed purchases.  If you've found Enterprise Rails helpful to your projects, please let others know by submitting a review on Amazon.  You can do so by clicking here.

Created by Dan Chak Mar 3, 2009 at 3:51pm. Last updated by Dan Chak Mar. 3, 2009.

Dan Chak featured in "97 Things Every Software Architect Should Know"

The new O'Reilly book 97 Things Every Software Architect Should Know features an article by me, entitled "Database as a Fortress."  That is, incidental… Continue

Created by Dan Chak Feb 26, 2009 at 2:40pm. Last updated by Dan Chak Feb. 26, 2009.

Forum

John Markos O'Neill

Working through examples 1 Reply

I'm working through the examples, and I have a few comments. I'm currently in chapter 5, and I'm running PostgreSQL 8.3, Ruby 1.8.7, and Rails 2.3.4. FIrst of all, I wasn't sure where to do the DDL,…

Started by John Markos O'Neill in Chapter 5: Building a solid data model. Last reply by John Markos O'Neill Jan 2.

Josef Wolf

Why are addresses in Figure 6-6 not in violation of 3NF? 1 Reply

Hello, I am somewhat confused about why the addresses in the theatres and orders tables are not a violation of 3NF. Is it because a theatre (that is, a building) is conceptually something totally di…

Started by Josef Wolf in Chapter 6: Refactoring to Third Normal Form. Last reply by Dan Chak Aug. 31, 2009.

Josef Wolf

Migrations vs constrains?

Hello, I just found this interesting post: http://tektastic.com/2007/09/on-ruby-on-rai like an easy way to have both: migrations _and_ constrains. Any opinions?

Started by Josef Wolf in General Book Discussion Aug. 27, 2009.

James

Map Data to Multiple Tables Simultaneously (OR, not XOR) 1 Reply

Dan - I'm new to Rails, and I am about 3/4 through your book (it's great BTW!). What pattern would you use in Rails when an object can map data to multiple tables at once -- is it better to use dele…

Started by James in Chapter 10: Multiple Table Inheritance. Last reply by Dan Chak Aug. 31, 2009.

Josef Wolf

Confused with databases 7 Replies

Hello Dan, I was trying to get my feet wet with RoR for quite a while now. I have read the agile book and countless tutorials about rails and database normalization and whatever. But since I'm new t…

Started by Josef Wolf in General Book Discussion. Last reply by Josef Wolf Aug. 29, 2009.

Sonny Garcia

Integration Testing an XML-RPC Client in Rails 1 Reply

I recently picked up a copy of your book ( good stuff) and I'm using the service pattern you suggested to abstract the database from a "new" front-facing web service that is currently being built. M…

Started by Sonny Garcia in Chatper 15: An XML-RPC Service. Last reply by Dan Chak Aug. 19, 2009.

Critical Reviews from the community

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


An information-rich book for advanced developers that combines the rapid
development advantages of Ruby-on-Rails with the solid, cross-toolkit
design principles of robust, scalable web applications. A must-read-and-reference for serious web developers.

--Ben Adida, PhD, W3C RDFa Task Force Chair, Harvard University Research Scientist


Enterprise Rails attacks the problems that many businesses face, but few Rails books discuss. Chak draws from many fields of expertise and isn't afraid to question traditional wisdom. If you use Rails in business (or want to), this book will save you time and frustration.
--Brad Ediger, author of Advanced Rails (O'Reilly Media)
 
 
 

© 2010   Created by Dan Chak on Ning.   Create a Ning Network!

Badges  |  Report an Issue  |  Privacy  |  Terms of Service