作者:Dan Chak
出版日期:October 15, 2008
出版社:O'Reilly
页数:350
ISBN:ISBN-10: 0596515200 ISBN-13: 978-0596515201
文件格式:PDF
Review
Enterprise Rails is indispensable for anyone planning to buildenterprise web services. It’s one thing to get your service off theground with a framework like Rails, but quite another to construct asystem that will hold up at enterprise scale. The secret is to makegood architectural choices from the beginning. Chak shows you how tomake those choices. Ignore his advice at your peril. –Hal Abelson,Prof. of Computer Science and Engineering, MIT
Product Description
What does it take to develop an enterprise application with Rails? Enterprise Railsintroduces several time-tested software engineering principles toprepare you for the challenge of building a high-performance, scalablewebsite with global reach. You’ll learn how to design a solidarchitecture that ties the many parts of an enterprise websitetogether, including the database, your servers and clients, and otherservices as well.
Many Rails developers think that planning for scale is unnecessary.But there’s nothing worse than an application that fails because itcan’t handle sudden success. Throughout this book, you’ll work on anexample enterprise project to learn first-hand what’s involved inarchitecting 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 RailsLearn to structure a Rails 2.0 application for complex websitesDiscover how plugins can support reusable code and improve application clarityBuild a solid data model–a fortress–that protects your data from corruptionBase an ActiveRecord model on a database view, and build support for multiple table inheritanceExplore service-oriented architecture and web services with XML-RPC and RESTSee how caching can be a dependable way to improve performanceBuilding for scale requires more work up front, but you’ll have aflexible website that can be extended easily when your needs change. Enterprise Rails teaches you how to architect scalable Rails applications from the ground up.