Advanced Rails (Paperback)

Brad Ediger

  • 出版商: O'Reilly
  • 出版日期: 2008-01-29
  • 定價: $1,225
  • 售價: 1.6$199
  • 語言: 英文
  • 頁數: 360
  • 裝訂: Paperback
  • ISBN: 0596510322
  • ISBN-13: 9780596510329
  • 相關分類: Ruby
  • 立即出貨(限量) (庫存=5)




Ready to go to the next level with Rails? From examining the parts of Ruby that make this framework possible to deploying large Rails applications, Advanced Rails offers you an in-depth look at techniques for dealing with databases, security, performance, web services and much more.

Chapters in this book help you understand not only the tricks and techniques used within the Rails framework itself, but also how to make use of ideas borrowed from other programming paradigms. Advanced Rails pays particular attention to building applications that scale -- whether "scale" means handling more users, or working with a bigger and more complex database. You'll find plenty of examples and code samples that explain:

  • Aspects of Ruby that are often confusing or misunderstood
  • Metaprogramming
  • How to develop Rails plug-ins
  • Different database management systems
  • Advanced database features, including triggers, rules, and stored procedures
  • How to connect to multiple databases
  • When to use the Active Support library for generic, reusable functions
  • Security principles for web application design, and security issues endemic to the Web
  • When and when not to optimize performance
  • Why version control and issue tracking systems are essential to any large or long-lived Rails project

Advanced Rails also gives you a look at REST for developing web services, ways to incorporate and extend Rails, how to use internationalization, and many other topics. If you're just starting out with rails, or merely experimenting with the framework, this book is not for you. But if you want to improve your skills with Rails through advanced techniques, this book is essential.





準備好進入更高階的Rails開發了嗎?《Advanced Rails》從深入探討使這個框架成為可能的Ruby部分,到部署大型Rails應用程式,提供了對處理資料庫、安全性、效能、網路服務等技術的深入瞭解。

本書的章節不僅幫助你理解Rails框架本身使用的技巧和技術,還介紹了從其他程式設計範式借鑒的想法。《Advanced Rails》特別關注構建可擴展應用程式,無論是處理更多使用者還是處理更大更複雜的資料庫。書中有許多例子和程式碼示例,解釋了以下內容:

- 經常令人困惑或誤解的Ruby方面
- 元程式設計
- 如何開發Rails插件
- 不同的資料庫管理系統
- 高級資料庫功能,包括觸發器、規則和儲存過程
- 如何連接多個資料庫
- 何時使用Active Support庫進行通用的可重複使用功能
- 網路應用程式設計的安全原則,以及與網路相關的安全問題
- 何時以及何時不需要優化效能
- 為什麼版本控制是重要的