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. You can hear his thoughts on his blog at http://blog.chak.org.
发表于2024-12-18
Enterprise Rails 2024 pdf epub mobi 电子书
图书标签: rails enterprise scale ruby programming Ruby红宝石 Rails 2011
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
谈论企业级开发的话题多过rails,而且,作者喜欢特立独行,不遵循Rails约定,打破了“惯例优于配置”的常规,虽然应用的层次划分是清晰了,但是也导致了很多不必要的手工配置过程,真是有利有弊啊。总之,还是值得一看的,扩宽Rails程序员的思路,虽然实际上不一定会按照上面的教条来实施。
评分工具书,快速过一遍,遇到问题的时候回来再看
评分Rails的版本比较旧了,但还是值得反复阅读。期待会有新版本。
评分工具书,快速过一遍,遇到问题的时候回来再看
评分Rails的版本比较旧了,但还是值得反复阅读。期待会有新版本。
Enterprise Rails 2024 pdf epub mobi 电子书