The Ruby Way: Solutions and Techniques in Ruby Programming, 3/e (Paperback)
暫譯: Ruby之道:Ruby程式設計的解決方案與技術,第3版(平裝本)

Hal Fulton, André Arko

  • 出版商: Addison Wesley
  • 出版日期: 2015-03-12
  • 售價: $1,750
  • 貴賓價: 9.5$1,663
  • 語言: 英文
  • 頁數: 816
  • 裝訂: Paperback
  • ISBN: 0321714636
  • ISBN-13: 9780321714633
  • 相關分類: Ruby
  • 立即出貨 (庫存 < 3)

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

相關主題

商品描述

For more than a decade, Ruby developers have turned to The Ruby Way for reliable “how-to” guidance on effective Ruby programming. Now, Hal Fulton and André Arko have thoroughly updated this classic guide to cover new language enhancements and developers’ experiences through Ruby 2.1.

 

The new edition illuminates Ruby 2.1 through 400+ examples, each answering the question: “How do I do this in Ruby?” For each example, they present both a task description and realistic technical constraints. Next, they walk step-by-step through presenting one good solution, offering detailed explanations to promote deeper understanding.

 

Conveniently organized by topic, The Ruby Way, Third Edition makes it easier than ever to find the specific solution you want—and to write better code by reflecting Ruby’s unique philosophy and spirit.

 

Coverage includes

  • Ruby 2.1 overview: terminology, philosophy, and basic principles
  • Best practices for strings and regular expressions
  • Efficiently internationalizing your code
  • Performing calculations (including trigonometry, calculus, statistics, and time/date calculations)
  • Working with “Rubyesque” objects such as symbols and ranges
  • Using arrays, hashes, stacks, queues, trees, graphs, and other data structures
  • Efficiently storing data with YAML, JSON, and SQLite3
  • Leveraging object-oriented and dynamic features, from multiple constructors to program inspection
  • Building GUIs with Shoes 4, Ruby/Tk, Ruby/GTK3, QtRuby, and other toolkits
  • Improving thread performance by understanding Ruby’s synchronization methods and avoiding its pitfalls
  • Automating system administration with Ruby
  • Data formats: JSON, XML, RSS, Atom, RMagick, PDF, and more
  • Testing and debugging with RSpec, Minitest, Cucumber, byebug, and pry
  • Measuring Ruby program performance
  • Packaging and distributing code, and managing dependencies with Bundler
  • Network programming: clients, time servers, POP, SMTP, IMAP, Open-URI
  • Web applications: HTTP servers, Rails, Sinatra, HTML generation, and more
  • Writing distributed Ruby software with drb
  • Choosing modern development tools that maximize your productivity

All source code for this book may be downloaded at www.rubyhacker.com.

 

informit.com/aw

informit.com/ruby

rubyhacker.com/therubyway

therubyway.io

 

 

商品描述(中文翻譯)

超過十年來,Ruby 開發者一直依賴《The Ruby Way》提供可靠的「如何做」指導,以有效地進行 Ruby 程式設計。現在,Hal Fulton 和 André Arko 對這本經典指南進行了全面更新,涵蓋了 Ruby 2.1 的新語言增強功能和開發者的經驗。

新版通過 400 多個範例來闡明 Ruby 2.1,每個範例都回答了「我該如何在 Ruby 中做到這一點?」的問題。對於每個範例,他們提供了任務描述和現實的技術限制。接著,他們逐步展示了一個良好的解決方案,並提供詳細的解釋以促進更深入的理解。

《The Ruby Way, Third Edition》按主題方便地組織,使您比以往更容易找到所需的具體解決方案,並通過反映 Ruby 的獨特哲學和精神來編寫更好的程式碼。

內容涵蓋:

- Ruby 2.1 概述:術語、哲學和基本原則
- 字串和正則表達式的最佳實踐
- 高效地國際化您的程式碼
- 執行計算(包括三角函數、微積分、統計和時間/日期計算)
- 使用「Rubyesque」物件,如符號和範圍
- 使用陣列、哈希、堆疊、佇列、樹、圖和其他資料結構
- 使用 YAML、JSON 和 SQLite3 高效地儲存資料
- 利用物件導向和動態特性,從多個建構子到程式檢查
- 使用 Shoes 4、Ruby/Tk、Ruby/GTK3、QtRuby 和其他工具包構建 GUI
- 通過理解 Ruby 的同步方法和避免其陷阱來改善執行緒性能
- 使用 Ruby 自動化系統管理
- 資料格式:JSON、XML、RSS、Atom、RMagick、PDF 等
- 使用 RSpec、Minitest、Cucumber、byebug 和 pry 進行測試和除錯
- 測量 Ruby 程式的性能
- 打包和分發程式碼,並使用 Bundler 管理相依性
- 網路程式設計:客戶端、時間伺服器、POP、SMTP、IMAP、Open-URI
- 網頁應用程式:HTTP 伺服器、Rails、Sinatra、HTML 生成等
- 使用 drb 編寫分散式 Ruby 軟體
- 選擇現代開發工具以最大化您的生產力

《本書的所有源代碼可在 www.rubyhacker.com 下載。》

informit.com/aw

informit.com/ruby

rubyhacker.com/therubyway

therubyway.io