1st ed. - Beijing ; Sebastopol, CA : O'Reilly, c2009.
xxii, 325 p. : ill. ; 24 cm.
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; and 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. (source: Nielsen Book Data)