Ruby by Example: Concepts and Code (Paperback)
暫譯: Ruby 實例解析:概念與程式碼 (平裝本)
Kevin C. Baird
- 出版商: No Starch Press
- 出版日期: 2007-06-08
- 定價: $1,050
- 售價: 5.0 折 $525
- 語言: 英文
- 頁數: 326
- 裝訂: Paperback
- ISBN: 1593271484
- ISBN-13: 9781593271480
-
相關分類:
Ruby
立即出貨(限量) (庫存=1)
買這商品的人也買了...
-
$680$537 -
$1,570$1,492 -
$700$553 -
$599$473 -
$550$468 -
$690$545 -
$1,180$1,121 -
$550$429 -
$1,274Data Mining: Concepts and Techniques, 2/e (IE-Paperback)
-
$680$578 -
$480$379 -
$720$569 -
$990$891 -
$580$452 -
$550$435 -
$1,000Learning Ruby (Paperback)
-
$600$480 -
$699Mastering Perl (Paperback)
-
$480$379 -
$520$343 -
$540$427 -
$1,200$1,020 -
$1,200$1,176 -
$2,030$1,929 -
$199Learning Node (Paperback)
相關主題
商品描述
Description
There may be no better way to learn how to program than by dissecting real, representative examples written in your language of choice. Ruby by Example analyzes a series of Ruby scripts, examining how the code works, explaining the concepts it illustrates, and showing how to modify it to suit your needs. Baird's examples demonstrate key features of the language (such as inheritance, encapsulation, higher-order functions, and recursion), while simultaneously solving difficult problems (such as validating XML, creating a bilingual program, and creating command-line interfaces). Each chapter builds upon the previous, and each key concept is highlighted in the margin to make it easier for you to navigate the book.
You'll learn how to:
- Use the interactive Ruby shell (irb) to learn key features of the language
- Extend Ruby using RubyGems, the Ruby package manager
- Create numerical utilities, as well as utilities that process and analyze HTML/XML
- Implement purely functional and metaprogramming techniques to save time and effort
- Optimize, profile, and test your code to make sure that it not only does its job, but does it well
- Create web applications using Rails
Ruby is the fastest growing programming language today, and for good reason: Its elegant syntax and readable code make for prolific and happy programmers. But it can be difficult to understand and implement without a little help. Ruby by Example shows you how to take advantage of Ruby as you explore Ruby's fundamental concepts in action.
Table of Contents
Introduction: What is Ruby?
Chapter 1: Interactive Ruby and the Ruby Environment
Chapter 2: Amusements and Simple Utilities
Chapter 3: Programmer Utilities
Chapter 4: Text Manipulation
Chapter 5: Number Utilities
Chapter 6: Functionalism with Blocks and Procs
Chapter 7: Using, Optimizing, and Testing Functional Techniques
Chapter 8: HTML and XML Tools
Chapter 9: More Complex Utilities and Tricks Part I
Chapter 10: More Complex Utilities and Tricks Part II
Chapter 11: CGI and the Web
Chapter12: RubyGems and Rails Preparation
Chapter 13: A Simple Rails Project
Appendix: How Does Ruby Compare to Other Languages?
Index
商品描述(中文翻譯)
**描述**
沒有比解剖用你選擇的程式語言編寫的真實、具代表性的範例更好的學習程式設計的方法了。《Ruby by Example》分析了一系列的 Ruby 腳本,檢視程式碼的運作方式,解釋其所闡述的概念,並展示如何修改它以符合你的需求。Baird 的範例展示了語言的關鍵特性(如繼承、封裝、高階函數和遞迴),同時解決了一些困難的問題(如驗證 XML、創建雙語程式和創建命令列介面)。每一章都在前一章的基礎上進行擴展,每個關鍵概念都在邊欄中突出顯示,以便你更容易導航這本書。
你將學會如何:
- 使用互動式 Ruby Shell (irb) 來學習語言的關鍵特性
- 使用 RubyGems 擴展 Ruby,這是 Ruby 的套件管理工具
- 創建數值工具,以及處理和分析 HTML/XML 的工具
- 實現純函數式和元程式設計技術,以節省時間和精力
- 優化、分析和測試你的程式碼,以確保它不僅能完成工作,還能做好
- 使用 Rails 創建網頁應用程式
Ruby 是當今增長最快的程式語言,這是有原因的:它優雅的語法和可讀的程式碼使得程式設計師能夠高效且愉快地工作。但沒有一些幫助,理解和實現它可能會很困難。《Ruby by Example》向你展示如何利用 Ruby,讓你在實際操作中探索 Ruby 的基本概念。
**目錄**
引言:什麼是 Ruby?
第一章:互動式 Ruby 和 Ruby 環境
第二章:娛樂和簡單工具
第三章:程式設計師工具
第四章:文本處理
第五章:數字工具
第六章:使用區塊和 Proc 的函數式編程
第七章:使用、優化和測試函數式技術
第八章:HTML 和 XML 工具
第九章:更複雜的工具和技巧 第一部分
第十章:更複雜的工具和技巧 第二部分
第十一章:CGI 和網路
第十二章:RubyGems 和 Rails 準備
第十三章:一個簡單的 Rails 專案
附錄:Ruby 與其他語言的比較
索引