Ruby Cookbook, 2/e (Paperback)

Lucas Carlson, Leonard Richardson

  • 出版商: O'Reilly
  • 出版日期: 2015-04-28
  • 定價: $1,650
  • 售價: 9.0$1,485
  • 語言: 英文
  • 頁數: 992
  • 裝訂: Paperback
  • ISBN: 1449373712
  • ISBN-13: 9781449373719
  • 相關分類: Ruby
  • 立即出貨 (庫存 < 4)

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

商品描述

Why spend time on coding problems that others have already solved when you could be making real progress on your Ruby project? This updated cookbook provides more than 350 recipes for solving common problems, on topics ranging from basic data structures, classes, and objects, to web development, distributed programming, and multithreading.

Revised for Ruby 2.1, each recipe includes a discussion on why and how the solution works. You’ll find recipes suitable for all skill levels, from Ruby newbies to experts who need an occasional reference. With Ruby Cookbook, you’ll not only save time, but keep your brain percolating with new ideas as well.

Recipes cover:

  • Data structures including strings, numbers, date and time, arrays, hashes, files and directories
  • Using Ruby’s code blocks, also known as closures
  • OOP features such as classes, methods, objects, and modules
  • XML and HTML, databases and persistence, and graphics and other formats
  • Web development with Rails and Sinatra
  • Internet services, web services, and distributed programming
  • Software testing, debugging, packaging, and distributing
  • Multitasking, multithreading, and extending Ruby with other languages

商品描述(中文翻譯)

為什麼要花時間解決已經有人解決過的編碼問題,當你可以在你的 Ruby 專案上取得實質進展呢?這本更新的食譜書提供了超過 350 個解決常見問題的食譜,涵蓋的主題包括基本的資料結構、類別和物件,以及網頁開發、分散式程式設計和多執行緒。

這本針對 Ruby 2.1 進行修訂的食譜書,每個食譜都包含了解決方案的討論,以及為什麼和如何運作。你會找到適合各個技能水平的食譜,從 Ruby 新手到偶爾需要參考的專家都適用。透過 Ruby Cookbook,你不僅能節省時間,還能讓你的大腦充滿新的想法。

食譜涵蓋的內容包括:
- 包括字串、數字、日期和時間、陣列、雜湊、檔案和目錄等資料結構
- 使用 Ruby 的程式碼區塊,也稱為閉包
- 物件導向程式設計的特性,如類別、方法、物件和模組
- XML 和 HTML、資料庫和持久化、以及圖形和其他格式
- 使用 Rails 和 Sinatra 進行網頁開發
- 網際網路服務、網路服務和分散式程式設計
- 軟體測試、除錯、封裝和分發
- 多工、多執行緒和使用其他語言擴充 Ruby