Ruby Cookbook(影印版)
出版時(shí)間:2006年10月
頁(yè)數(shù):873
你想探究Ruby的極致嗎?Ruby Cookbook就是關(guān)于這一當(dāng)今最熱門(mén)編程語(yǔ)言的最全面的問(wèn)題求解指南。本書(shū)使用清晰的闡述和數(shù)千行可以在你的項(xiàng)目中使用的源代碼,來(lái)為在實(shí)際應(yīng)用中可能碰到的數(shù)百個(gè)問(wèn)題提供解決方法。從數(shù)據(jù)結(jié)構(gòu)到集成前沿技術(shù)的算法,Ruby Cookbook為每一位編程人員都準(zhǔn)備了一些專(zhuān)題。初學(xué)者和資深的Ruby專(zhuān)家都可以從本書(shū)學(xué)習(xí)到下列專(zhuān)題中有關(guān)Ruby編程的知識(shí)和技巧:
●字符串和數(shù)字
●數(shù)據(jù)庫(kù)
●數(shù)組和哈希表
●圖像
●類(lèi)、模塊和命名空間
●互聯(lián)網(wǎng)服務(wù),如電子郵件、SSH和BitTorrent
●反射機(jī)制和元編程
●XML和HTML處理
●多任務(wù)
●Ruby on Rails(包括Ajax 集成)
●圖形界面和終端界面
如果你需要一個(gè)網(wǎng)絡(luò)應(yīng)用程序,本書(shū)將向你展示如何使用Rails來(lái)開(kāi)始進(jìn)行開(kāi)發(fā)。假設(shè)你需要重命名數(shù)以千計(jì)的文件,本書(shū)將告訴你如何使用Ruby來(lái)完成諸如此類(lèi)的日常任務(wù)。你還可以學(xué)習(xí)如何使用Ruby讀寫(xiě)微軟Excel表格文件,如何使用貝葉斯(Bayesian)過(guò)濾器進(jìn)行文本歸類(lèi)以及如何創(chuàng)建PDF文件。甚至本書(shū)還將介紹一些冒傻氣的把戲,比如如何讓你的鍵盤(pán)燈閃爍不停。
總而言之,在目前已寫(xiě)成的關(guān)于Ruby的書(shū)中,Ruby Cookbook是最有用的一本。如果你需要解決一個(gè)Ruby問(wèn)題,大可不必進(jìn)行重復(fù)勞動(dòng),就直接在本書(shū)中尋找現(xiàn)成答案吧。
Lucas Carlson是一位專(zhuān)注于使用Rails進(jìn)行網(wǎng)絡(luò)開(kāi)發(fā)的專(zhuān)業(yè)Ruby程序員。他是6個(gè)Ruby庫(kù)程序的作者,也對(duì)其他很多庫(kù)程序有所貢獻(xiàn),其中包括Rails以及RedCloth。
Leonard Richardson負(fù)責(zé)為多種編程語(yǔ)言開(kāi)發(fā)和維護(hù)庫(kù)程序,其中包括Rubyful Soup。
“程序員并不是僅僅靠語(yǔ)法知識(shí)就可以生存的,而是要靠他們所編寫(xiě)的每一行實(shí)際的代碼。本書(shū)充滿(mǎn)了實(shí)用的方法、技巧、知識(shí)和智慧。我希望它將讀者的Ruby編程帶入更高境界?!?br />
- Yukihiro(Matz)Matsumoto,Ruby的作者
“你認(rèn)為書(shū)中各個(gè)主題不過(guò)是些傳統(tǒng)的日常菜譜,錯(cuò),其實(shí)它們?nèi)际潜煌可狭苏吵淼暮商m奶酪醬的美味。哦,伙計(jì),這就是實(shí)例:雜湊的版本系統(tǒng),幾個(gè)BitTorrent的客戶(hù)端以及你走失的恐龍的尋物啟事。有關(guān)各種協(xié)議的這一章好有趣。好像大快朵頤后濃稠香甜的醬汁將從你的嘴邊流下來(lái)!對(duì)了,還有些大塊的咸肉。”
-why the lucky stiff
書(shū)名:Ruby Cookbook(影印版)
國(guó)內(nèi)出版社:東南大學(xué)出版社
出版時(shí)間:2006年10月
頁(yè)數(shù):873
書(shū)號(hào):7-5641-0596-8
原版書(shū)出版商:O'Reilly Media
Lucas Carlson
Lucas Carlson創(chuàng)建了AppFog,這是一家采用Cloud Foundry的PaaS公司,該公司于2013年被CenturyLink收購(gòu)。Lucas是一位有著10年開(kāi)發(fā)經(jīng)驗(yàn)的專(zhuān)業(yè)開(kāi)發(fā)者,專(zhuān)注于Ruby on Rails的開(kāi)發(fā)工作。Lucas還與他人共同編寫(xiě)了《Ruby大全》(http://shop.oreilly.com/product/9780596523695.do)。他還用不同的編程語(yǔ)言編寫(xiě)了數(shù)十個(gè)庫(kù),并且為其他很多庫(kù)共享過(guò)代碼,包括Rails以及RedCloth。他的個(gè)人網(wǎng)站為rufy.com(http://rufy.com/)。
Leonard Richardson
Leonard Richardson, 《Ruby Cookbook》 (O’Reilly)一書(shū)的作者,曾 創(chuàng)建了包括Beautiful Soup在內(nèi) 的多個(gè)開(kāi)源代碼庫(kù)。
The animal on the cover of Ruby Cookbook is a side-striped jackal (Canis adustus),
found mostly in central and southern Africa. These jackals avoid the open, prefer-
ring thickly wooded areas on the edge of savannas and forests. They occasionally
make their way into cities. Side-striped jackals are rare but not considered endan-
gered. There are reserves for these jackals at the Serengeti National Park in Tanzania
and at the Akagera National Park in Rwanda.
Side-striped jackals are about 15 inches tall and weigh between 16 and 26 pounds.
This jackal has a light grey coat with a white stripe from shoulder to hip, and a
white-tipped tail. The diet of side-striped jackals consists largely of wild fruits, small
mammals, and insects. They also eat carrion and are adept scavengers; they will
follow a lion or other big cat to a kill. The jackals usually live singly or in pairs, but
they sometimes gather in family units of up to six members. Their lifespan is about
10 to 12 years.
Jackals have been an object of superstition because of their association with carrion
and death, and and because of their eerie nocturnal noises: they hoot, yap, and make a
kind of screaming yell. Perhaps because jackals were often found prowling and
hunting the edges of the desert near cemeteries, the ancient Egyptian god of
embalming and gatekeeper of the path of the dead, Anubis, was depicted as a jackal-
headed man. Anubis served as a psychopomp, conducting souls to the underworld,
where he weighed their hearts on a scale to determine whether they would be
admitted to the underworld or cast to the crocodile-headed demon, Ammit.