Ruby Cookbook, 2/e (Paperback)
暫譯: Ruby 食譜,第 2 版 (平裝本)

Lucas Carlson, Leonard Richardson

  • 出版商: O'Reilly
  • 出版日期: 2015-04-28
  • 定價: $1,650
  • 售價: 8.8$1,452
  • 語言: 英文
  • 頁數: 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 的程式碼區塊,也稱為閉包
- 物件導向程式設計(OOP)特性,如類別、方法、物件和模組
- XML 和 HTML、資料庫和持久性,以及圖形和其他格式
- 使用 Rails 和 Sinatra 進行網頁開發
- 網際網路服務、網路服務和分散式程式設計
- 軟體測試、除錯、打包和發佈
- 多任務處理、多執行緒,以及使用其他語言擴展 Ruby