Practical Ruby Gems

David Berube

  • 出版商: Apress
  • 出版日期: 2007-04-16
  • 定價: $1,240
  • 售價: 2.4$299
  • 語言: 英文
  • 頁數: 271
  • 裝訂: Paperback
  • ISBN: 1590598113
  • ISBN-13: 9781590598115
  • 相關分類: Ruby
  • 立即出貨(限量) (庫存=1)

買這商品的人也買了...

商品描述

Description

Practical Ruby Gems is a comprehensive guide to utilizing and creating Ruby Gems--ready-made Ruby code modules that can be easily added to Ruby and Rails projects. This book is ideal for Ruby programmers as well as web developers who use Rails and wish to extend the functionality of their projects.

You'll get a prime selection of 34 of the best and most useful Gems, which makes up the core of this book. Each of these also comes complete with actual use cases and code examples that you can use immediately in your own projects. You'll learn how Ruby Gems can be used to

  • Validate credit cards.
  • Create graphical interfaces on multiple platforms.
  • Speed up Rails applications.
  • Develop lightweight web applications.
  • Use ActiveRecord to make databases easy.
  • Process RSS feeds.
  • Prevent spam using CAPTCHA.
  • Crop and scale images.
  • Tap into the same caching system that runs LiveJournal.com.

    And much, much more!

    You'll also learn how to package and distribute your own Ruby Gems. This lets you tap into powerful mechanisms for resolving dependencies. And the book takes a detailed look at how Gems differ between operating systems, so you'll be prepared whether your desktop runs OS X, Windows, or Linux. You'll also learn how you can share code more easily between projects, optionally sharing your contributions with the world!

商品描述(中文翻譯)

《實用的 Ruby Gems》是一本全面指南,介紹如何使用和創建 Ruby Gems,這是一種可以輕鬆添加到 Ruby 和 Rails 項目中的現成 Ruby 代碼模塊。這本書非常適合 Ruby 程序員和使用 Rails 的網絡開發人員,他們希望擴展項目的功能。

本書精選了34個最佳和最有用的 Gems,這些 Gems 構成了本書的核心。每個 Gems 都附帶實際的使用案例和代碼示例,您可以立即在自己的項目中使用。您將學習如何使用 Ruby Gems:

- 驗證信用卡。
- 在多個平台上創建圖形界面。
- 加速 Rails 應用程序。
- 開發輕量級網絡應用程序。
- 使用 ActiveRecord 輕鬆處理數據庫。
- 處理 RSS 訂閱。
- 使用 CAPTCHA 防止垃圾郵件。
- 裁剪和縮放圖像。
- 利用運行 LiveJournal.com 的緩存系統。
- 還有更多!

您還將學習如何打包和分發自己的 Ruby Gems。這讓您能夠利用強大的機制解決依賴關係。本書還詳細介紹了不同操作系統之間 Gems 的差異,因此無論您的桌面運行的是 OS X、Windows 還是 Linux,您都能做好準備。您還將學習如何更輕鬆地在項目之間共享代碼,並可以選擇與世界分享您的貢獻!