您的位置:首页 > 大数据 > 人工智能

The Art of Rails

2009-02-19 22:03 295 查看
版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章原始出版、作者信息和本声明。否则将追究法律责任。http://blog.csdn.net/topmvp - topmvp
Any programmer knows that an API is only half the story, and with Ruby on Rails(r) this is especially true. Good Rails development, like good web development, is much more about the design choices you make than the framework you have at your disposal. Written by an experienced web application developer, this book picks up where the API leaves off and explains how to take good Rails code and turn it into beautiful Rails code: simple, effective, reusable, evolvable code.

In a blend of design and programming, this book identifies and describes the very latest in design patterns, programming abstractions, and development methodologies that have emerged for the modern web. Ruby on Rails offers a completely new way of thinking about and using these emerging techniques, and learning to think like a Rails developer will enable you to rapidly design and write high-quality code with elegance and maintainability. With each design technique, you will discover how Rails incorporates it into its domain-specific language, and you will learn how to weave it seamlessly into your own Rails applications. Then you will learn how to take the next step and transform yourself from user into creator, making your own additions to Rails and crafting a development environment tailored to your specific needs.

What you will learn from this book
*Techniques for organizing your code between and within Model, View, and Controller to eliminate code repetition and maximize your effectiveness

*How to think like a REST-based developer and use Rails 2.0 to translate these thoughts into your code

*Advanced Ruby and meta-programming: how to use features such as block-based development, monkey patching, and dynamic APIs to build your own additions to the Rails framework

*Design patterns for AJAX, web APIs, HTML decomposition, schema development, meta-programming, and more

*Behavior-driven development: A new style of testing and development centered around stories and behaviors instead of method calls and assertions

*Ways to make your development both productive and fun in the software you write
http://rapidshare.com/files/124341672/0470189487.rar
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息