The Ruby Way: Solutions and Techniques in Ruby Programming, 3/e (Paperback)

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

 

 

商品描述(中文翻譯)

《The Ruby Way》是一本可靠的指南,提供了十多年來Ruby開發者尋求有效的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
- Web應用程序:HTTP服務器、Rails、Sinatra、HTML生成等
- 使用drb編寫分佈式Ruby軟件
- 選擇最大化生產力的現代開發工具

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

informit.com/aw

informit.com/ruby

rubyhacker.com/therubyway

therubyway.io