网络图书:《Learn Ruby The Hard Way》繁体版本
由Gudao Luo在2011-10-12 at 19:58发表的
网站推荐:rubylang.info
由Gudao Luo在2011-08-08 at 22:51发表的
图书世界:MongoDB in Action (free PDF)
由Gudao Luo在2011-08-05 at 09:13发表的
网站推荐:十个最受欢迎的博客
由Gudao Luo在2011-08-02 at 18:24发表的
Ruby世界:对象属性扩展软件包
由Gudao Luo在2011-08-01 at 23:51发表的
图书世界:《JavaScript: The Definitive Guide, 6th Edition》英文版本
由Gudao Luo在2011-07-29 at 10:17发表的
Ruby世界:汉字转换成拼音
由Gudao Luo在2011-07-25 at 21:31发表的
图书世界:《Continuous Testing: with Ruby, Rails, and JavaScript》英文版本
由Gudao Luo在2011-07-22 at 10:19发表的
Rails世界:Rails软件开发组合环境
由Gudao Luo在2011-07-12 at 23:11发表的
网站推荐:Mac和Ruby中文博客
由Gudao Luo在2011-07-04 at 21:58发表的
Ruby世界:如何使得Ruby版本与Rails版本绑定Rails应用程序
由Gudao Luo在2011-06-11 at 16:10发表的
Rails世界:学习Rails3入门教材
由Gudao Luo在2011-06-08 at 05:47发表的

- Rails3系统入门教材
- Rails 3 in a Nutshell http://rails-nutshell.labs.oreilly.com
- Learn Rails by Example http://ruby.railstutorial.org/ruby-on-rails-tutorial-book
- 免费系统入门视频学习资料
- http://www.buildingwebapps.com/learningrails
- Rails for Zombies http://www.codeschool.com/courses/rails-for-zombies (1)需要注册;(2)该网站其它视频是收费的;
- 免费视频学习资料
网站推荐:二维条形码的生成和读取解析
由Gudao Luo在2011-06-07 at 09:31发表的
Ruby语言:Nokogiri版本问题
由Gudao Luo在2011-06-04 at 03:31发表的
苹果世界:如何安装ImageMagick和RMagick
由Gudao Luo在2011-06-03 at 08:48发表的
- 说明
- 通过源代码,使用一行命令完成安装ImageMagick和RMagick;
- 上面这一行安装命令,做了两件事情:先下载文件*.sh,之后执行该文件;
- 参考资料
- http://rmagick.rubyforge.org/install-faq.html#osx
- https://github.com/maddox/magick-installer
- http://snippets.dzone.com/posts/show/4798
- http://johnford.is/installing-imagemagickrmagick-on-leopard/
- http://www.imagemagick.org/script/binary-releases.php#macosx
- http://johnford.is/installing-imagemagickrmagick-on-leopard/
Ruby世界:看看如何解析Ruby语言代码
由Gudao Luo在2011-05-31 at 10:16发表的
Ruby世界:Ruby语言有函数Dir.exists?吗
由Gudao Luo在2011-05-30 at 10:11发表的
Rails世界:Rails框架走向何方(四)
由Gudao Luo在2011-05-28 at 10:40发表的

- 道喜评论
- 在浏览器上看到所显示的代码都是JavaScript+HTML,但是与你在服务器端应用程序所使用的语言(Ruby.Java,PHP等)无关;
- 没有HTML也可以使用Rails框架;
- 可以这样使用Rails框架:Rails MC <= JSON => JS MCV 也是是一种趋势;
- Rails MC = Rails Model + Controller
- JS MCV = JavaScript Backbone + (Mustache/Icanhazjs/Handlebars);
- 使用JSON作为客户端与服务器之间的数据传送格式;
- 这种使用Rails框架趋势有发展前途吗?
- 说明
- Mustache是视图模板的JavaScript库;
- Mustache是无逻辑视图代码库;
- 从2010起,Mustache是Twitter网站程序的一部分[ 1 ];
- 借助于Mustache,可以将视图层分成为两个子视图层,无逻辑视图与逻辑视图[ 2 ];
- 重要参考资料
- Rails框架+Mustache.js
- 参考资料
- https://github.com/elado/isotope
- http://www.v2ex.com/t/8713
- https://github.com/defunkt/mustache
- http://icanhazjs.com/
- http://handlebars.strobeapp.com/
- http://www.json.org/
- http://code.google.com/p/google-ctemplate/
- http://www.michaelharrison.ws/weblog/?p=324
- http://blogger.forgottenskies.com/?p=585
- http://net.tutsplus.com/tutorials/javascript-ajax/quick-tip-using-the-mustache-template-library/
- http://couchapp.org/page/index
- http://sammyjs.org/intro
Rails世界:Rails框架走向何方(一)
由Gudao Luo在2011-05-22 at 00:45发表的

- Rails框架走向何方(一)
- Rails 3.1将会使用Coffeescript语言,目的是改进简化JavaScript语言;
- Rails 3.1将会使用Sass,目的是改进简化CSS;
- Rails 3.1把 JQuery 作为JavaScript默认框架,目的是采用更好的和更广泛应用的JavaScript框架;
- 说明 CoffeeScript
- CoffeeScript是一门新的语言;
- CoffeeScript语言编译器采用了CoffeeScript语言写成的;
- CoffeeScript语言目的是把CoffeeScript代码可以编译为JavaScript代码;
- 引入CoffeeScript语言,以达到简化JavaScript代码的目的;
- 说明 Sass
- Sass是一门新的动态CSS语言;
- Sass具有如下的动态功能:变量(variables), 混入(mixins), 操作运算(operations) 和函数(functions)等;
- 引入Sass语言,以达到简化CSS重复代码的目的;
- 类似的软件有: less ;
- 道喜评论
- JavaScript和CSS代码一直是Web应用程序开发的死角;
- 对于Rails框架而言,使用Coffeescript和Sass仅仅是这方面改进的一个良好开端;
- 项目 Boilerplate 会给Rails框架未来带来什么影响;
- 如何解决HTML+JavaScript+CSS集成可能是Rails框架未来需要面对的课题;
- 参考资料
- http://tinyurl.com/3rf7dls
- http://tinyurl.com/3m2wkdq
- http://github.com/jnicklas/bistro_car
- http://rubysource.com/using-coffeescript-in-rails/
- http://tinyurl.com/654vke2
- http://tinyurl.com/yah8g5q
- http://tinyurl.com/3tsxly4
- http://coffeescript-seattlejs.heroku.com/#1
- http://island205.com/2011/03/17/coffeescript%E8%AF%AD%E6%B3%95%E5%9B%BE/
- http://www.infoq.com/cn/news/2010/12/languages-on-javascript-vms
- "":
- http://aya.idv.tw/post/1635479495/coffeescript
- http://news.ycombinator.com/item?id=1834605
Debian世界:如何安装ImageMagick
由Gudao Luo在2011-05-20 at 10:56发表的
网站推荐:Ruby语言技术资料网站
由Gudao Luo在2011-05-15 at 08:59发表的
Rails世界:Groonga系列(五)—— ActiveGroonga是什么
由Gudao Luo在2011-05-13 at 05:59发表的
- 说明
- ActiveGroonga是全文搜寻引擎Groonga的Rails框架接口。
Ruby世界:Groonga系列(四)——rrroonga是什么
由Gudao Luo在2011-05-12 at 08:53发表的
- 说明
- rrroonga是全文搜寻引擎Groonga的Ruby语言接口。
- 安装rroonga命令
- gem install rroonga
- 在Ruby终端里使用rroonga方法
- irb —simple-prompt -rubygems -rgroonga
- 参考资料
苹果世界:Groonga系列(三)——如何使用Groonga
由Gudao Luo在2011-05-11 at 21:02发表的
软件世界:基于系统终端的幻灯片演示文稿软件tpp
由Gudao Luo在2011-05-07 at 08:17发表的

- 前提条件
- MacOSX Snow Leopard 10.6.x + Ruby 1.9.2 (本文介绍)
- 或者
- MacOSX Leopard 10.5.x + Ruby 1.8.7 (参考资料 5)
- 说明
- 软件 Ncurses 是什么?系统终端开发工具。
- 软件包 “ncurses-ruby” 是软件 "Ncurses"的Ruby接口。
- 参考资料
- 项目ncurses首页 http://invisible-island.net/ncurses/
- 项目ncurses-ruby首页 http://ncurses-ruby.berlios.de/
- 项目tpp首页 http://www.ngolde.de/tpp.html
- http://download.berlios.de/ncurses-ruby/
- http://blog.elliottcable.name/posts/building_ncurses_and_ncurses_ruby_on_leopard.xhtml
- https://github.com/eclubb/ncurses-ruby
- 使用软件tpp说明 http://www.sourcefiles.org/Office/Presentation/tpp-1.0.tar.gz.shtml
- https://github.com/rkumar/rbcurse/downloads
Debian世界:如何安装Ruby软件包管理系统RubyGem
由Gudao Luo在2011-05-02 at 04:12发表的
Ruby世界:更完善的Ruby终端软件Pry
由Gudao Luo在2011-04-30 at 11:24发表的
Ruby语言:块代码与文件创建
由Gudao Luo在2011-04-06 at 09:12发表的
Ruby世界:乐高(Lego)式软件开发软件antetype
由Gudao Luo在2011-03-27 at 13:57发表的
- 说明
- 大量的第三方软件能否很简单一条命令和统一方法进行安装和重用;
- 软件开发过程能否从一开始到结束反复自如地进与退;
- 在软件发布时,能否知道所使用了第三方软件是如何被安装到软件中;
- 在第三方软件安装以后,能否很简单地了解到底增加和修改了我们软件哪些文件;
- 软件开发过程能否如拼装乐高(Lego)结构一样。
Ruby语言:使用函数first
由Gudao Luo在2011-03-22 at 15:59发表的
- 说明
- 在Ruby语言中,类Array有函数first,而类String没有函数first。因此,"standard".first(2)中的"standard"被看作为类Array对象,即[“standard”]。
- 在Rails框架中,"standard"被看作为字符串String的对象。
Ruby世界:元编程函数一例
由Gudao Luo在2011-03-20 at 20:15发表的
- 说明
- 所有函数的不同内容都写入到变量legos中
- 函数本身参数写入do之后的两竖之中
Ruby语言:使用块代码秘密
由Gudao Luo在2011-03-15 at 08:55发表的
Ruby世界:如何把Hash对象键的字符串类型变成为符号类型
由Gudao Luo在2011-03-10 at 22:23发表的
Ruby世界:从小开始学习Ruby语言
由Gudao Luo在2011-02-24 at 08:47发表的
Ruby世界:Ruby程序到底调用了哪些默认目录软件库
由Gudao Luo在2011-02-06 at 12:44发表的
网络免费图书:基于Ruby语言描述的巧妙算法(Clever Algorithms)
由Gudao Luo在2011-01-26 at 22:36发表的
《Rails 3 图例》:Rails程序模板与Bundler命令
由Gudao Luo在2011-01-25 at 14:08发表的

- 《Rails 3 图例》: Rails程序模板与Bundler命令
Ruby世界:2010年Ruby和Rails的十个博客
由Gudao Luo在2010-12-29 at 17:55发表的
Ruby世界:2010年Ruby语言十大网站
由Gudao Luo在2010-12-28 at 21:26发表的
Ruby世界:2010年Ruby语言十大软件新闻
由Gudao Luo在2010-12-27 at 19:39发表的

- 2010年Ruby语言十大软件新闻
- Ruby进入1.9时代 – Ruby 1.9.2 正式版发布
- Rails进入3.0时代 – Rails 3正式版发布
- 最具创意Rails入门教程 Rails For Zombies
- Rails软件服务器部置系统 Phusion Passenger 3 正式版发布,它是Rails网络服务器必备的软件;
- 基于Ruby1.8.7和1.9.2的一键Ruby安装软件 RubyInstaller 是Windows系统最快捷安装工具;
- 项目跟踪管理工具 Redmine 1.0正式版发布,它是软件项目开发最好的助手;
- Ruby语言虚拟机 Rubinius 1.0正式版发布;
- Ruby语言函数重写技术 refine 可以简化代码;
- Ruby语言版本管理系统 rvm 成为Ruby语言开发环境必备工具;
- Ruby软件包管理系统 Bundler 越来越普及;
Ruby世界:每周Ruby新闻摘要
由Gudao Luo在2010-12-16 at 19:22发表的
Rails世界:学习Rails3框架
由Gudao Luo在2010-12-06 at 00:17发表的
网络世界:值得一读的推特Ruby新闻
由Gudao Luo在2010-07-25 at 12:41发表的
Apple世界:Rails IDE开发工具NetBeans
由Gudao Luo在2010-06-21 at 11:24发表的

- 使用方法
- 参考资料
- NetBeans Ruby版本下载链接 http://goo.gl/TwPs
- NetBeans下载页面 http://netbeans.org/downloads/index.html
Apple世界:基于Ruby语言的系统软件包管理软件HomeBrew
由Gudao Luo在2010-06-20 at 21:51发表的

- 说明
- 参考资料
- Homebrew: OS X’s Missing Package Manager http://goo.gl/BpbW
- 2009苹果开发环境搭建指南 http://goo.gl/3w5x
- http://goo.gl/wSdb6
Ruby世界:使用iTune学习Ruby语言和Rails框架
由Gudao Luo在2010-06-14 at 20:17发表的

- 前提条件
- 下载软件Apple iTune for windows或者mac
- http://www.apple.com/itunes/ http://www.apple.com/itunes/
- 安装软件apple iTune
- 启动软件apple iTune
- 注册帐号
- 使用iTune
- 启动软件apple iTune
- 进入Store >>> iTune Store
- 登陆帐号
- 进入App Store
- 在搜索中,输入“ruby rails”
- 选择与Ruby和Rails相关的网络视频(Podcast)下载
- 进入资料库 >>> Podcast,就看到你下载的网络视频资料
- 点击你想看的网络视频,下载你需要的视频
软件框架:jQuery三年来的发展趋势
由Gudao Luo在2010-03-28 at 22:28发表的
- 参考资料
- 全新JavaScript库jQuery http://www.lycom.de/past/2007/2/23/jquery2007-02-23_232016/
- 在Rails中应用jQuery http://www.infoq.com/cn/presentations/zhaolu-jquery
- 春风得意的 jQuery http://www.comsharp.com/GetKnowledge/zh-CN/It_News_K932.aspx
代码世界:如何理解Ruby类及其函数?
由Gudao Luo在2010-02-16 at 18:15发表的

- 说明
- 首先要理解类的函数是什么意思。
- 其次类没有我们所需要的函数,但是有自己想法。
- 最后就自己写个相关函数,与大家共享。
- 参考资料
- http://chinaonrails.com/topic/view/3730.html http://chinaonrails.com/topic/view/3730.html
- http://ruby-doc.org/core/classes/Array.html http://ruby-doc.org/core/classes/Array.html
- http://carsonified.com/blog/dev/ruby-arrays/ http://carsonified.com/blog/dev/ruby-arrays/
- http://tinyurl.com/yge2k4c http://tinyurl.com/yge2k4c
Ruby世界:Ruby库的发展历程
由Gudao Luo在2010-02-09 at 07:29发表的

- 说明
- RAA和Rubyforge基本上退出了历史舞台。
- Rubyforge全面转向Gemcutter。所有Rubyforge的帐号转移到了Gemcutter网站。
- Github更全面,不仅仅是库服务器。
- Gemcutter更专心,仅仅是gem服务器。Rails3也开始使用它。
- 参考资料
- RAA http://raa.ruby-lang.org/
- Rubyforge http://rubyforge.org/
- Github http://github.com/
- Gemcutter http://gemcutter.org/
- gemcutter: 假如你写了gem打算共享,准备在哪里安家? rubyforge?github?? 还有其他的选择吗? http://chinaonrails.com/topic/view/3255.html
- 还有人惦记RAA的时代吗? http://chinaonrails.com/topic/view/795.html
Ruby世界:不一样的学习Ruby教程
由Gudao Luo在2010-02-04 at 19:29发表的

- 下载学习代码
- git clone git://github.com/edgecase/ruby_koans.git
- 如何研究所下载的学习代码
- 方法一:从头起研究
- cd ruby_koans
- rake
- 在这个命令执行以后,就看到有测试代码错误。这个正是我们需要学习和研究的内容。
- vim koans/about_asserts.rb
- 修改所要求的提示信息,或者代码中有两个下横杆的内容。
- rake
- 进一步学习下一个函数的内容。每一个函数上都有相关的重要学习内容说明。
- 方法二:选择性研究
- cd ruby_koans/koans
- rake about_arrays.rb
- vim about_arrays.rb
- rake about_arrays.rb
- cd ruby_koans/koans
- 方法一:从头起研究
- 参考资料
- http://github.com/edgecase/ruby_koans
- http://chinaonrails.com/topic/view/2649.html http://chinaonrails.com/topic/view/2649.html 谢谢大力!
代码世界:灰色对象、灰色操作、灰色关联和灰色。。。
由Gudao Luo在2010-01-28 at 20:57发表的

- 参考资料
- What’s New in Edge Rails: Dirty Objects http://ryandaigle.com/articles/2008/3/31/what-s-new-in-edge-rails-dirty-objects
- Introducing the Dirty Associations Plugin http://opensource.sha.cornell.edu/blog/2010/01/25/introducing-the-dirty-associations-plugin/
- Dirty Associations插件首页 http://github.com/daphonz/dirty_associations
- 专业名称翻译
- 灰色对象(Dirty Objects)、灰色操作(Dirty Operations)、灰色关联(Dirty Associations)和灰色(Dirty)。。。
网络图书世界:《Ruby on Rails Web Mashup Projects》
由Gudao Luo在2010-01-25 at 07:20发表的
网站推荐:Ruby和Rails社区最新新闻
由Gudao Luo在2010-01-21 at 00:08发表的

- 推荐说明
- ruby5.envylabs.com 发表的信息都是很有目光的。
Ruby世界:2009年代码段网站
由Gudao Luo在2010-01-06 at 22:53发表的
Ruby世界:2009年Ruby视频聚合网站
由Gudao Luo在2010-01-05 at 22:40发表的
Ruby语言:2009年聚合新闻网站
由Gudao Luo在2010-01-04 at 23:04发表的

- 参考资料
- “http://rubyreflector.com/”http://rubyreflector.com/
- http://www.reddit.com/r/ruby/
- http://www.reddit.com/r/rails/
- http://www.dzone.com/links/tag/ruby.html
- http://rubycorner.com/
- Google Blog News
Ruby世界:2009年项目开发及其文档API网站
由Gudao Luo在2010-01-03 at 23:23发表的

- 参考资料
- https://github.com/ 软件项目代码服务器
- http://gemcutter.org/ 软件包服务器
- http://rdoc.info/ 软件代码文档服务器
- http://runcoderun.com/ 项目持续集成服务器
- http://www.ruby-toolbox.com/ 软件开发工具网站
- http://www.opensourcerails.com/ 项目展示平台网站
Ruby世界:2009年博客网站回顾
由Gudao Luo在2010-01-02 at 00:48发表的

- 说明
- http://www.igvita.com/
- 内容有深度,文章新颖而广泛,网站漂亮
-——————————————————- http://eigenclass.org/hiki/Ruby
- 内容有深度,关注Ruby和代码分析
-——————————————————- http://yehudakatz.com/
- "":http://ryandaigle.com/
- Rails框架核心成员,特别关注Rails最新技术
-——————————————————- http://robots.thoughtbot.com/
- thoughtbot公司博客,注重技术发展趋势
-——————————————————- http://themomorohoax.com/
- http://drnicwilliams.com/
- 关心程序的代码技术
-——————————————————- http://weblog.rubyonrails.org/
- Rails框架网站博客,发布Rails最新信息
-——————————————————- http://www.infoq.com/ruby/
- http://www.infoq.com/cn/ruby/
- IT行业综合新闻网站,特别关注Ruby最新技术发展
-——————————————————- http://www.rubyinside.com/
- http://www.railsinside.com/
- 及时报道Ruby和Rails及其相关发展,值得推荐
-——————————————————- http://railstips.org/
- Ruby语言相关最新技术信息
-——————————————————- http://asciicasts.com/
- 视频网站http://www.railscasts.com/的文字版本
Ruby代码世界:Array排序代码实例
由Gudao Luo在2009-09-06 at 10:33发表的
Google世界:通过关键词bd7lx搜索Ruby信息
由Gudao Luo在2009-07-13 at 06:51发表的
代码世界:Ruby/Rails反射技术实例
由Gudao Luo在2009-07-11 at 06:51发表的

- 使用正常类方法代码
@blogs = Blog.find(:all)- 使用反射技术代码(Ruby语言)
@blogs = Kernel.const_get("Blog").send(:find, :all)
@blogs = Object.const_get("Blog").send(:find, :all)
@blogs = Kernel.eval("Blog").send(:find, :all)- 使用反射技术代码(类名称包含”::”)(Ruby语言)
Model = "ActiveRecord::Base".split('::').inject(Object) do |base,item|
base.const_get(item)
end
class Blog < Model; end- 使用反射技术代码(Rails框架)
@blogs = "Blog".classify.constantize.send(:find, :all)
Ruby on X系列:Ruby on Cron工具whenever
由Gudao Luo在2009-06-18 at 19:04发表的
Ruby代码世界:UNIX时间将抵达1234567890秒
由Gudao Luo在2009-02-14 at 00:31发表的
- 参考资料
Apple/Ruby世界:Ruby和Rails技术词典
由Gudao Luo在2009-02-10 at 03:56发表的

- 安装方法
- wget http://www.priithaamer.com/files/Ruby.dictionary.zip
- unzip Ruby.dictionary.zip
- mv Ruby.dictionary ~/Library/Dictionaries
或者
mv Ruby.dictionary /Library/Dictionaries
- 配置方法
- open /Applications/Dictionary.app
- 菜单 >> 设置偏好 >> 把Ruby技术词典移到最上面
- 使用方法一
- Apple键+Space >> 例如搜索函数"exists?" >> 点击“定义”>> 即会出现上图。
- 使用方法二
- Apple + Control + D >> 弹出窗口 (in TextMate or Safari, iChat, Mail etc.) >> 点击“定义”>> 即会出现上图。
Rails世界:CnRails成员超过500人
由Gudao Luo在2009-02-07 at 10:26发表的
Ruby/Rails世界:《什么是Ruby和Rails》演讲稿
由Gudao Luo在2009-01-28 at 18:57发表的
Ruby代码世界:尽可能使用Ruby语言方法”<<“
由Gudao Luo在2009-01-19 at 09:50发表的

- 说明
- 下面第一段代码使用了变量“i”。在Ruby代码中,基本上不需要使用这种变量,即使需要也可以使用“each_with_index”。而第一段代码连这种需要也没有。
- 下面第二段代码是使用方法“<<”改进后代码清单。注意使用这种方法时,一定要清楚方法“<<”之后的对象是什么。在Rails 2.2.2版本中因为使用此方法不当,产生了错误。参见: Rails2.2世界:国际化功能问与答(二) 。
网站推荐:Ruby语言项目大世界
由Gudao Luo在2009-01-19 at 00:37发表的
Ruby/Rails工具世界:创建基于Ruby语言的PDF文件工具Prawn
由Gudao Luo在2009-01-02 at 02:31发表的

- 说明
- 参考资料
- http://github.com/sandal/prawn http://github.com/sandal/prawn
- Ruby Mendicant: Permian Prawn
- Ruby Mendicant: Archaean Prawn
- The Ruby Mendicant Project
- The Ruby Mendicant Project
- Ruby Mendicant: Permian Prawn
- 轻而易举创建PDF打印文档
- Building printable documents doesn’t have to be hard
- Building printable documents doesn’t have to be hard
- Prawn的Rails插件Prawnto首页
- Prawn项目中文实例代码
- Prawn项目首页
- Prawn: The Pure Ruby PDF Generation Library
- 项目Redmin的Prawn代码
- How To Generate PDFs in Rails With Prawn
Ruby/Rails世界:推荐2008年Ruby/Rails网站
由Gudao Luo在2008-12-27 at 07:29发表的
Ruby实例世界:静态网页生成器Jekyll on Thin
由Gudao Luo在2008-12-12 at 03:57发表的
网站推荐:澳大利亚社区网站
由Gudao Luo在2008-12-10 at 02:37发表的
Cucumber实例世界:Cucumber on Rails深化实例(四)
由Gudao Luo在2008-12-05 at 08:48发表的
网站推荐:获取网络世界知识的快速途径www.yeeyan.com
由Gudao Luo在2008-12-02 at 10:34发表的
Rails2.2世界:国际化功能问与答(三)
由Gudao Luo在2008-11-30 at 22:27发表的

警告:在复制本博客代码时,空行存在中文空格,需要删除!!!
- 国际化功能问与答(三):本地化翻译方法
- 如何调用翻译函数?
I18n.translate < key >
如:
I18n.translate :hello
或者
I18n.t :hello - 如何调用具有插值的翻译函数?
I18n.translate < key >, < 插值 >
如:
I18n.translate :hello_with_name, :name=>”Hans” - 如何调用多元化的翻译函数?
I18n.translate < key >, < 多元化变量 >
如:
I18n.translate :second_in_words, :count=>12 - 如何调用具有命名空间的翻译函数?
I18n.translate < 命名空间.key >, < 多元化变量 >
如:
I18n.translate “namespcae.second_in_words”, :count=>2 - 如何调用时间对象的本地化函数?
I18n.localize < 时间对象 >, :format=>< key >
如:
I18n.localize Time.now, :format=>:long
或者
I18n.l Time.now, :format=>:long - 如何调用日期对象的本地化函数?
I18n.localize < 日期对象 >, :format=>< key >
如:
I18n.localize Date.parse(‘2008-11-29’) - 如何调用时间和日期名称的翻译函数?
I18n.translate < 命名空间.key >
如:
I18n.translate(‘date.month_names’)
I18n.translate(‘date.month_names’).last
- 如何调用翻译函数?
- 注
- 在图中的命令sc就是“ruby script/console”命令。
Cucumber实例世界:Cucumber基本概念实例(二)
由Gudao Luo在2008-11-29 at 20:17发表的

- 除了括号<>的内容之外,在文件features/addition.feature
与
文件features/step_definitons/calculator_steps.rb
之间的陈述句要"基本"保持一致;
如:
features/addition.feature:“我已经在计算器里输入<6>”
features/step_definitons/calculator_steps.rb:“我已经在计算器里输入<$n>” - 在括号<>中,一个是具体值:6,一个是变量$n。
- 这个括号<>是我增加的,不是必须的,目的是要把问题说明清楚;
- 括号<>是为了说明在其里面的内容是可以变化的值;
- 陈述句是随意表达的,只要意思正确就可以了。
- 我们可以把这种表述看作为一个“函数名称”。
- 在陈述句之前的单词是该软件的中文关键词,必须如此。
- 关键词之后的空格是我增加的,不是必须的,目的是要把问题说明清楚;
- 在文件.feature中,Cucumber关键词对应于文件
*_steps.rb的相应关键词
如:
features/addition.feature:“当”
features/step_definitons/calculator_steps.rb:“When” - 文件.feature是*应该*是仅仅问题的描述
- 文件
*_steps.rb是对问题的描述具体实现
代码世界:对于数组的运算符“<<”和“+=”的差异
由Gudao Luo在2008-11-27 at 21:53发表的
代码世界:逆向循环语句
由Gudao Luo在2008-11-27 at 09:58发表的
- 说明
- 在下面资料的逆向循环语句中,do前面多了一个点。
- 参考资料
- http://www.railsrocket.com/articles/looping-backwards-in-ruby
Rails框架:最有前途的代码测试工具Cucumber
由Gudao Luo在2008-11-26 at 22:40发表的

- 说明
- Cucumber是跨计算机语言的代码测试工具
- Cucumber是使用本地化语言的代码测试工具
- Cucumber是集成多种测试工具于一体的工具
- Cucumber彻底分离测试描述(文字工作者)与描述实现(软件工作者)
- Cucumber更加人性化,更加语言化,更加简单化
- 评论
- Cucumber makes me so happy. —Dr Nic
- 参考资料
- 代码测试工具Cucumber首页
- Cucumber工具开发者
- Cucumber工具相关项目
- Cucumber: Next Generation Ruby BDD tool
- Cucumber: 黄瓜将成为下一代的Ruby BDD工具
- Ruby on Rails(Cucumber Wiki)
- Cucumber(黄瓜)
- Behavior Driven Development with Cucumber
- Using Cucumber for Writing Stories for Command-Line Applications
- Writing a Story: why, when, where, who, what, how and a bunch of other questions and answers
- Using RSpec, Cucumber and User stories to build our internal systems
- Cucumber: The Latest in Ruby Testing
- Story Driven Development Recipes with Cucumber
- Cucumber(中文语言描述)基础讲座系列
Rails世界:Ruby软件包和Rails插件的使用趋势
由Gudao Luo在2008-11-20 at 06:05发表的
技术图书世界: 免费的电子图书"Ruby要点(Essential Ruby)"
由Gudao Luo在2008-11-17 at 15:36发表的
网站推荐:Ruby & Rails 外文精华翻译站
由Gudao Luo在2008-11-15 at 06:41发表的
Ruby语言世界:今天动态类型语言地位
由Gudao Luo在2008-08-30 at 20:19发表的
网站推荐:英文每周Ruby语言评论
由Gudao Luo在2008-06-22 at 22:36发表的
开发工具:Ruby语言正则表达式工具
由Gudao Luo在2008-06-16 at 08:33发表的

- 正则表达式工具
- 在线类型工具:http://www.regexbuddy.com/
- 离线类型工具:http://rubular.com/
Ruby世界:解决Ruby的重大安全
由Gudao Luo在2008-06-14 at 07:06发表的
视频世界:Netbeans如何实现文件类型关联方法
由Gudao Luo在2008-06-12 at 12:02发表的
图书世界:Ruby图书知多少
由Gudao Luo在2008-06-11 at 18:39发表的
Ruby语言:每周Ruby语言新闻综述
由Gudao Luo在2008-06-03 at 00:14发表的
- 相关链接
Rails框架:Rails 2.1将会有什么
由Gudao Luo在2008-05-29 at 00:59发表的


- 重要参考文献
- 参考文献
- Upgrade to Rails 2.1.0_RC1
- http://zargony.com/2008/04/02/my-favorite-features-in-upcoming-rails-2-1
- http://www.caboo.se/articles/2008/3/30/exciting-times-in-rails-land
- http://weblog.rubyonrails.org/2008/4/1/a-taste-of-what-s-coming-in-rails-2-1
- http://frozenplague.net/2008/04/03/rails-21-migration-timestamping/
网站推荐:天天有新闻A Fresh Cup
由Gudao Luo在2008-05-28 at 00:44发表的
Ruby语言:Ruby语言+Rails框架视频学习网站
由Gudao Luo在2008-05-24 at 00:28发表的
Ruby工具库系列:生成pdf格式的图形和文字工具库Tioga
由Gudao Luo在2008-04-08 at 07:59发表的
代码世界:使用Proc.new 和 lambda的区别
由Gudao Luo在2008-04-07 at 18:19发表的
博客世界:中文Ruby博客群聚"南沙坡"
由Gudao Luo在2008-04-05 at 13:43发表的
博客世界:中文Ruby群体博客“Enjoy Rails”
由Gudao Luo在2008-04-04 at 14:03发表的
Ruby语言:谁能够超越Rails框架?
由Gudao Luo在2008-03-29 at 00:05发表的

- 说明
- Waves 是一款很有前途的Ruby语言网络软件框架。它是一种全新的思维,而不是简单的模仿;集成当前最好的软件包,而不是轻易的纳入;不仅注意软件开发的细节,更重要的是以软件全局为出发点。
- 相关报道
Ruby语言:太阳公司Ruby语言开发中心
由Gudao Luo在2008-03-26 at 20:49发表的
Ruby语言:Ruby语言重新回到第十位
由Gudao Luo在2008-03-05 at 21:55发表的
Ruby语言:免费Ruby微型图书
由Gudao Luo在2008-03-04 at 21:52发表的
Ruby语言:JRuby语言桌面框架Monkeybars
由Gudao Luo在2008-02-18 at 22:33发表的
Rails框架:组件理念是否重返Rails框架
由Gudao Luo在2008-02-14 at 22:53发表的
文章推荐:Ruby开发者的新伙伴NetBeans
由Gudao Luo在2008-02-11 at 10:42发表的
Ruby工具:获取子进程信息systemu
由Gudao Luo在2008-02-08 at 22:16发表的
天天红玉世界祝贺大家:新年愉快!
由Gudao Luo在2008-02-07 at 00:00发表的

天天红玉世界祝贺大家
新年愉快!
Ruby语言:Ruby语言网络框架Waves
由Gudao Luo在2008-02-06 at 20:54发表的
Ruby语言:值得关注的Ruby网络服务器Thin
由Gudao Luo在2008-02-01 at 22:09发表的
Ruby专家博客:Obie Fernandez
由Gudao Luo在2008-01-31 at 21:26发表的

- 相关链接
- 个人博客首页 http://obiefernandez.com/
- 个人博客 http://blog.obiefernandez.com/
- Obie Fernandez公司 http://www.hashrocket.com/
- 说明
- Obie Fernandez不仅仅是一位专家,而且还是Ruby社区的不多“几块宝石”之一。Mongrel开发者 如此说:
He’s one of the few gems of the Ruby world.
- Obie Fernandez不仅仅是一位专家,而且还是Ruby社区的不多“几块宝石”之一。Mongrel开发者 如此说:
Rails框架:Ruby on Rails入门基础教材
由Gudao Luo在2008-01-28 at 08:31发表的
网络工具:Ruby语言正则表达式编辑器
由Gudao Luo在2008-01-26 at 15:20发表的
Ruby语言:描述语言的计算机语言Treetop
由Gudao Luo在2008-01-25 at 22:49发表的
视频推荐:Ruby语言和Rails框架视频教程
由Gudao Luo在2008-01-19 at 14:14发表的
网站推荐: Ruby语言博客集
由Gudao Luo在2008-01-14 at 07:28发表的
Ruby语言:2007年Ruby语言集成运行环境
由Gudao Luo在2008-01-11 at 20:53发表的
网站推荐:Ruby语言代码段网站
由Gudao Luo在2008-01-10 at 14:27发表的

- 说明
- Ruby语言代码段网站 Refactor :my => ‘code’
- 晒晒你的代码,学习他人的代码
Ruby语言:Ruby语言网络框架如雨后春笋一般
由Gudao Luo在2008-01-08 at 03:33发表的
Ruby语言:Ruby语言未来几个重要和可能的项目
由Gudao Luo在2008-01-06 at 00:07发表的

- Ruby语言未来十个重要工具
- http://rubini.us/
- Ruby语言进入商业领域的重要项目。
- http://merbivore.com/
- Rails框架的最具有竞争力的项目。
- http://www.malline.org/
- Rails框架的视图需要使用纯Ruby的DSL框架,而不是ERB和其它新语言的DSL框架。
- http://swiby.codehaus.org/
- 一个基于 Swing 的未来Ruby语言桌面应用软件框架。
- Glimmer
- 一个基于 SWT 的未来Ruby语言桌面应用软件框架。
- JRuby on Android
- 在Android系统上实现JRuby语言程序的运行。
- http://rubini.us/
- 参考资料
Ruby语言:通向Erlang语言的桥梁
由Gudao Luo在2008-01-05 at 05:44发表的
视频推荐:如何创建DSL?
由Gudao Luo在2008-01-04 at 10:07发表的
Ruby语言:Ruby语言2007年最好的个人博客RSS
由Gudao Luo在2008-01-03 at 21:55发表的

- Ruby语言2007年最好的个人博客
- http://feeds.feedburner.com/nubyonrails
- http://feeds.feedburner.com/errtheblog
- http://feeds.feedburner.com/RidingRails
- http://feeds.feedburner.com/buckblog
- http://feeds.feedburner.com/LoudThinking
- http://feeds.feedburner.com/MyConfPlan
- http://www.oreillynet.com/ruby/blog/index.xml
- http://eigenclass.org/hiki.rb?c=rss;format=1;tags=blog
Ruby译文:“Rails Is A Ghetto”中文版本
由Gudao Luo在2008-01-03 at 21:38发表的
Ruby语言:Ruby语言2007年最好的综合博客feed
由Gudao Luo在2008-01-02 at 01:11发表的
软件发展趋势:JRuby语言全面进入商业领域
由Gudao Luo在2007-12-31 at 22:00发表的
Ruby语言:Ruby语言2007年最好的新闻博客
由Gudao Luo在2007-12-31 at 12:44发表的
Ruby语言:Ruby语言2007年最重要的十二个工具
由Gudao Luo在2007-12-30 at 19:46发表的
Ruby语言:Google Code的Ruby语言开源项目
由Gudao Luo在2007-12-28 at 03:55发表的
Rails博客:深入学习和使用Rails框架
由Gudao Luo在2007-12-27 at 02:22发表的
Ruby语言:Ruby语言1.9版本的开发版正式发行
由Gudao Luo在2007-12-26 at 00:50发表的
网站推荐:日本Ruby语言技术新闻博客网站
由Gudao Luo在2007-12-22 at 00:29发表的

- 说明
- 有点新鲜和惊喜 是一个很好的Ruby语言技术新闻与博客网站;
- 有点新鲜和惊喜 是一个日本语网站;
- 有点新鲜和惊喜 是一个类似于 rubyinside.com ,但是它更面向技术。
网络阅读:NetBeans 6.x vs Eclipse 3.x 第一局
由Gudao Luo在2007-12-20 at 21:55发表的
- 核心摘要
Ruby世界:中文Ruby论坛在哪里?
由Gudao Luo在2007-12-17 at 16:42发表的
Ruby语言:Ruby语言开始走向真正的商业之路?
由Gudao Luo在2007-12-16 at 11:24发表的
Ruby语言工具:使用工具irb变得更加方便
由Gudao Luo在2007-12-14 at 21:49发表的

- 工具名称
- Utility Belt
- 安装方法
- gem install utility_belt
- vi
%USER_HOME%\.irbrc - 增加下面代码到文件.irbrc中
require ‘rubygems’
require ‘utility_belt’ %USER_HOME%[Windows] =: C:\Documents and Settings\gudao%USER_HOME%[Ubuntu] =: /home/gudao
- 使用方法
- 打开系统终端
- irb【回车键】
- >> grep_classes(“num”)【回车键】
#=> [“Bignum”, “Fixnum”, “Numeric”, “REXML::SyncEnumerator”]
Rails框架:Rails版本2.0技术资料集
由Gudao Luo在2007-12-09 at 00:35发表的
网站推荐:Ruby和Rails重要博客和新闻网站
由Gudao Luo在2007-12-08 at 00:09发表的
Ruby语言:你的代码Ruby有重复吗?
由Gudao Luo在2007-12-04 at 21:21发表的

- 说明
- PDM 是一款十分重要的Java语言的软件静态代码分析工具;
- 上图CPD(Copy/Paste Detector)工具是PDM的一种部分,也可以分析Ruby语言的重复代码;
- 网络使用链接:这里
- PDM工具也可以在Eclipse上作为插件使用;
- Eclipse URL:http://pmd.sf.net/eclipse
- Finding copy/pasted code in a Rails app
开发工具:NetBeans成为开发Ruby软件的主流工具
由Gudao Luo在2007-12-03 at 09:44发表的
Ruby世界:最新和最快发现gem软件包
由Gudao Luo在2007-12-02 at 01:38发表的
Ruby世界:Ruby语言网络框架出现重要的支流
由Gudao Luo在2007-12-01 at 23:44发表的
- 在Windows系统和Ruby 1.8.6版本上安装Merb方法
- 说明
- 要是在执行命令时,还缺少软件包,就按照提示安装相关的软件包,如信息提示:
ERROR: While executing gem ... (RuntimeError)
Error instaling pkg\merb-0.4.2.gem:
merb requires ruby2ruby > 0.0.0 - Merb 0.4.1之前版本在Windows上会发生问题;
- Merb 0.4.1在JRuby语言上还不能实现运行【2007.12.01】;
- 要是在执行命令时,还缺少软件包,就按照提示安装相关的软件包,如信息提示:
- 参考资料
- http://brainspl.at/articles/tag/merb
- http://www.infoq.com/news/2007/08/performance-ruby-on-merb
- http://www.aidanf.net/blog/2007/11/12/taking-look-merb
- http://www.letrails.cn/archives/11-07-merb-framework
- http://rubyhoedown2007.confreaks.com/session02.html
- http://merb.rubyforge.org/files/README.html
- http://www.infoq.com/cn/news/2007/08/performance-ruby-on-merb
- http://drnicwilliams.com/2007/11/05/merb-04-installing-edge-merb-and-using-new-generators/
- http://hassox.blogspot.com/2007/11/new-merb-generators.html
- http://jit.nuance9.com/2007/11/merb-datamapper-getting-rolling.html
- http://www.ghostonthird.com/2007/11/11/merb-on-windows-need-to-have-gcc-installed-forget-it-im-done/
网站推荐:网络学习Ruby语言
由Gudao Luo在2007-11-29 at 13:51发表的
Java软件包:软件图形工具与JRuby语言程序
由Gudao Luo在2007-11-22 at 21:01发表的
Ruby语言软件:网络相册生成器Rhotoalbum
由Gudao Luo在2007-11-21 at 23:56发表的
JRuby专题:应用服务器GlassFish on Rails
由Gudao Luo在2007-11-19 at 12:47发表的
开发框架:新一代Ruby ORM DataMapper
由Gudao Luo在2007-11-16 at 23:59发表的
视频推荐:Ruby Hoedown 2007视频
由Gudao Luo在2007-11-15 at 23:06发表的
软件产品:最好的手机操作系统--Android?
由Gudao Luo在2007-11-13 at 10:21发表的
Rails框架:全新而又简单的模板系统Malline
由Gudao Luo在2007-11-12 at 06:11发表的

- 说明
- 现有的Rails框架使用ERB作为模板系统欠佳;
- Malline是专门为Rails框架而设计的模板系统;
- Malline是从模板系统 Makeaby 获取的灵感;
- Malline不是嵌入式模板系统,也不是新的语言模板系统,而是使用纯Ruby语言编写模板代码;
- 回归Ruby语言。。。
新闻报道:Ruby语言排行第九名!
由Gudao Luo在2007-11-11 at 02:23发表的
软件发展动态:浏览器程序 vs 系统终端
由Gudao Luo在2007-11-10 at 01:25发表的
开发工具:NetBeans集成开发工具与Ruby语言
由Gudao Luo在2007-11-09 at 00:59发表的
Rails世界:免费多平台企业级Rails框架软件库
由Gudao Luo在2007-10-04 at 13:47发表的
Rails框架应用软件:全新的维客软件informl
由Gudao Luo在2007-06-14 at 21:43发表的
Ruby语言:学习Ruby语言最基础资料
由Gudao Luo在2007-06-09 at 09:00发表的
Rails框架网站推荐:Rails框架插件库
由Gudao Luo在2007-06-05 at 21:06发表的
Java语言和(J)Ruby语言构建系统大全
由Gudao Luo在2007-06-03 at 21:00发表的
Java语言和(J)Ruby语言构建系统大全
- buildr (Buildr is a build system for Java applications.)
- Rake (Ruby with basic task constructs)
- Jerbil (Jerbil is a set of Java-related tasklibs for Rake, JRuby语言程序可选择的构建工具)
- Raven (JRuby wrapper for Rake, RubyGems and Maven)
- AntBuilder (JRuby wrpper for Ant)
- JRake (JRuby wrapper for Rake)
- Antwrap (JRuby语言程序可选择的构建工具)
Ruby世界:Ruby语言快速参考索引大全
由Gudao Luo在2007-05-31 at 20:05发表的
放弃maven使用buildr
由Gudao Luo在2007-05-29 at 20:44发表的
放弃maven使用buildr
- 参考资料
- Buildr网站摘要
- Buildr is a build system for Java applications.
实现自己Ruby应用软件框架的工具Rack
由Gudao Luo在2007-05-28 at 21:15发表的
实现自己Ruby应用软件框架的工具Rack
- Rack网站说明:
- Rack provides an minimal interface between webservers supporting Ruby and Ruby frameworks.
- 使用方法:
- 安装Rack:
- gem install rack
- 运行代码实例一
- 下载:http://www.hhtong.com/blog1/files/app_rack.rb
- 执行 ruby app_rack.rb
- 打开浏览器
- 输入网址:http://localhost:4000/
- 运行代码实例二
- http://www.hhtong.com/blog1/files/app_auth_rack.rb
- 执行 ruby app_auth_rack.rb
- 打开浏览器
- 输入网址:http://localhost:4000/
- 输入密码:secret
- 安装Rack:
Eclipse IDE: Ruby
由Gudao Luo在2007-05-05 at 17:36发表的
- Eclipse IDE: Ruby
- http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/S-3.3M7-200705031400/eclipse-SDK-3.3M7-win32.zip
- http://wiki.eclipse.org/index.php/DLTK_Project_Plan
- http://www.eclipsezone.com/eclipse/forums/t92525.rhtml
- Update site: http://download.eclipse.org/technology/dltk/updates/1.0/site-interim.xml
Ruby语言专家博客世界
由Gudao Luo在2007-04-28 at 09:19发表的
Ruby语言专家(expert)博客
Ruby语言软件包(200705)
由Gudao Luo在2007-04-28 at 07:20发表的
- amulti
- Ruby Geonames API
- Ruby callcache gem
Ruby语言软件包(200704)
由Gudao Luo在2007-04-27 at 21:06发表的
http://wiki.github.com/assaf/uuid
http://github.com/assaf/uuid/tree/master
http://codesnipers.com/?q=node/143&title=Using-UUID/GUID-as-Primary-Key-in-Rails
http://ariejan.net/2008/08/12/ruby-on-rails-uuid-as-your-activerecord-primary-key/
http://uuidtools.rubyforge.org/
http://sporkmonger.com/2007/3/16/random-numbers-in-uuidtools
http://github.com/sporkmonger/uuidtools/tree/master
Ruby语言分布框架
由Gudao Luo在2007-04-26 at 21:12发表的
- Starfish
- https://rubyforge.org/forum/message.php?msg_id=12909
- http://typo.onxen.info/articles/2006/08/21/mapreduce-for-ruby-ridiculously-easy-distributed-programming
- http://tech.rufy.com/2006/08/mapreduce-for-ruby-ridiculously-easy.html
- 参考资料:
- http://theexciter.com/files/oslo_rug_drb.pdf
- http://rufy.com/distributed-programming/
- http://tech.rufy.com/2006/08/mapreduce-for-ruby-ridiculously-easy.html
- http://segment7.net/projects/ruby/drb/rinda/ringserver.html
Ruby语言Continuous框架
由Gudao Luo在2007-04-24 at 20:31发表的
Ruby语言ORM框架
由Gudao Luo在2007-04-24 at 20:18发表的
Ruby语言:Ruby语言学习网站
由Gudao Luo在2007-04-23 at 18:10发表的
博客天地:Chad Fowler
由Gudao Luo在2007-04-22 at 15:42发表的
- 说明:
- Rails实战要看的第三本书《rails recipes》
- 作者Chad Fowler也是ruby社区最资深的大佬之一。这本书列举了100多个rails实战的各种问题的解决方案,适合在你用RoR开发项目的时候,碰到相应问题去寻找相应的最佳实践。这本书还没有被引进国内。
Ruby语言软件包:Scruby
由Gudao Luo在2007-04-20 at 18:32发表的
- Scruby项目首页
- 项目说明:Scruby is a portable, customizable packet creation and sending/sniffing tool written in Ruby.
Ruby语言软件包:RubyInline
由Gudao Luo在2007-04-20 at 18:19发表的
- 项目说明:Quick and easy inlining of your C or C++ code embedded in your ruby script. Extendable to work with other languages.
Ruby语言软件包:Mock Object
由Gudao Luo在2007-04-20 at 17:34发表的
- FlexMock首页
- FlexMock is a flexible framework for creating mock object for testing
- API
- 博客
- http://blog.davidchelimsky.net/
Rails框架技术视频:最丰富的视频教程Railscasts
由Gudao Luo在2007-04-19 at 20:23发表的
Ruby语言的相关技术网站链接
由Gudao Luo在2007-04-18 at 22:19发表的
Ruby语言软件包:Builder
由Gudao Luo在2007-04-18 at 22:16发表的
Ruby语言方法相关资料
由Gudao Luo在2007-04-18 at 22:15发表的
元类(metaclass)相关技术资料
由Gudao Luo在2007-04-18 at 22:00发表的
- 参考资料
- 命名元类
- Grokking Idiomatic Dynamic Ruby Idiomatic Dynamic Ruby
- 讨论元类
- Exploring ruby class and metaclass relationships
- Seeing Metaclasses Clearly
- Ruby, Meta-programming, and Watir
- http://www.khelll.com/blog/ruby/ruby-and-metaprogramming/
- 做个自己的ActiveRecord(山寨版Example Usage: Poor Man’s Active Record)
- Metaprogramming 学习的大纲和规划
- 元编程就是那么回事,Metaprogramming in Ruby: It’s All About the Self
- 但是Yugui 认为Yehuda is confusing self with `klass’.
- 元编程实践应用 存储偏好
- ruby-metaprogramming-introduction
- metaprogramming-ruby-class-eval-and-instance-eval
- dont-know-metaprogramming-in-ruby
- http://chinaonrails.com/topic/view/1577.html
- http://chinaonrails.com/topic/view/3320.html
- 关键词
- virtual classes / metaobjects / metaclass / singleton class / metaprogramming
Ruby语言软件包:机器学习库decisiontree
由Gudao Luo在2007-04-18 at 08:42发表的
进入Ruby语言内部世界:Evil Ruby
由Gudao Luo在2007-04-18 at 08:36发表的
- Evil Ruby首页
或者 Evil Ruby首页 - 相关文章
- 项目英文说明 Ruby’s semantics by accessing its internals from pure Ruby code.
Ruby语言线性代数库
由Gudao Luo在2007-04-18 at 08:34发表的
Rails框架插件:MOle
由Gudao Luo在2007-04-17 at 21:59发表的
Rails框架软件包:RailRoad
由Gudao Luo在2007-04-17 at 20:59发表的
Ruby语言软件包:面向方面软件开发AspectR
由Gudao Luo在2007-04-17 at 17:35发表的
- Aspect-oriented programming concepts to Ruby. Essentially it allows you to wrap code around existing methods in your classes.
- 项目首页
Ruby语言有趣的文章
由Gudao Luo在2007-04-16 at 21:03发表的
Ruby语言代码片段网站
由Gudao Luo在2007-04-16 at 21:00发表的
网站推荐:Learing Ruby
由Gudao Luo在2007-04-15 at 22:06发表的
网站推荐:Ruby语言和Rails框架快捷表
由Gudao Luo在2007-04-15 at 22:05发表的
网站推荐:Ruby技术论坛
由Gudao Luo在2007-04-15 at 22:03发表的
博客天地:JRuby on NetBeans专家Tor Norbye
由Gudao Luo在2007-04-07 at 22:51发表的
Ruby语言软件包:Google网络服务Ruby语言接口Google4R
由Gudao Luo在2007-04-07 at 22:41发表的

- Google4R首页:http://google4r.rubyforge.org/api/
- 项目官方网站摘要:“Google4R is a collection of Ruby libraries that allow to access Google’s public web service APIs.”
- 说明:你现在注册 Google Checkout 马上可以有10美金奖励。你可以通过Google4R来访问该网站你的帐号服务。天天为Google免费做广告。
Ruby语言和Rails框架Amazon推荐图书
由Gudao Luo在2007-04-03 at 20:08发表的
Ruby语言软件包:创建命令行风格的命令cmdparse
由Gudao Luo在2007-04-01 at 23:11发表的

- 软件包cmdparse首页:http://cmdparse.rubyforge.org
- 说明:软件包cmdparse可以被用来创建命令行内包含命令的接口。如RubyGems软件,其命令“gem『软件包命令』 install『这是软件包内的命令』 cmdparse『这是命令install要求的参数』”。
推荐Ruby语言轻量级代码编辑器
由Gudao Luo在2007-04-01 at 01:39发表的

- 说明:上面三款Ruby语言轻量级代码编辑器都是免费软件。这些软件都是居于普通编辑器如Notepad和重量级开发工具如Eclipse和NetBeans的开发工具。我感到notepad++比普通编辑器优点是,一是能打开不同目录下的多文件,二是在你关闭后可以重新打开还是你曾经打开的文件,三是打开文件还可以进行切换Ctrl+Tab,四是Ruby语言很长代码时可以将方法和类缩短等等。但是在所有编辑器包括Windows Notepad中 notepad2 的中文文件编码(Encoding)问题是最少的。
- Ruby OneClick Installer开发者评论Notepad++和SciTE
- “The SciTE code editor has been replaced by
Notepad++. Both are based on the Scintilla code editor component, butNotepad++is a little more full featured and supports editing multiple files in separate tabs.”
- “The SciTE code editor has been replaced by
博客天地:Antonio Cangiano
由Gudao Luo在2007-03-31 at 01:52发表的
全自动软件分布式管理工具Puppet
由Gudao Luo在2007-03-17 at 23:39发表的

- 说明
- 以Ruby语言开发的Puppet(木偶,一个十分形象的名称)是一个可广泛应用于软件布置的十分重要工具。它可以分布式管理存在于网络中多个*nix操作系统及其重要资源, 比如: 文件、软件包、用户、服务、定时(cron)作业和挂载文件系统等等。摘自该网站说明:“Puppet is a declarative language for expressing system configuration, a client and server for distributing it, and a library for realizing the configuration.” Ruby语言还有类似的工具 Capistrano 。
- 技术资料
- Puppet有趣的图
- Puppet技术文档
- 在Ubuntu上StepByStep安装Puppet
- Puppet安装和使用中文说明
- Capistrano技术文档
- Capistrano安装和使用说明
- Capistrano 1.4.0版本说明
- Capistrano 1.4.1版本说明
- Puppet:基于Ruby的服务器管理自动化套件 http://www.infoq.com/cn/news/2010/02/puppet-25
- 7 of the Best Free Linux Configuration Management Tools http://www.linuxlinks.com/article/20100222155850632/ConfigurationManagement.html
NetBeans IDE进入了Ruby语言时代视频
由Gudao Luo在2007-03-17 at 01:14发表的

- 说明:NetBeans IDE 6.0 M7整体使用感觉不错,但是也一些小问题,如WEBrick在IDE内关不掉等,对此视频有相关操作。建议在DOS Shell启动WEBrick程序。注意要更新IDE的Ruby语言插件。视频的IDE版本旧了一点,现在有了新一点版本。还有某些功能还没有,如Rake命令不能在IDE执行等。
第一个真实的SOA架构Tuscany
由Gudao Luo在2007-03-11 at 22:06发表的

- 说明:Tuscany是第一个真实的面向服务软件架构。它本身没有定义容器,而是让不同的容器技术很好地在一起工作,比如Spring,J2EE等等。它也把Ruby语言作为一个容器也集成进来。我们可以在该架构使用Ruby语言编程。Tuscany主要有二部分:SCA(组件服务架构)和SDO(数据服务架构)。
Ruby语言最重要的代码库PLEAC-Ruby
由Gudao Luo在2007-03-08 at 23:12发表的

- PLEAC-Ruby首页:http://pleac.sourceforge.net/pleac_ruby/index.html
- 说明:PLEAC-Ruby网站包含了大量十分重要的Ruby语言代码实例。
- Ruby语言最大的代码库:http://snippets.dzone.com/tag/ruby
在NetBeans IDE下开发JRuby和Rails框架软件
由Gudao Luo在2007-03-06 at 23:22发表的

D:\netbeans-6.0-m7\bin\netbeans.exe —userdir D:\mynetbeans在启动了NetBeans后,需要从菜单进入Update Center来增加Ruby Feature,感到搜索时不如Eclipse方便,好处你不要知道Update Site在哪里。另外好像WEBRick有点问题。
创建自己的电话局Asterisk
由Gudao Luo在2007-03-02 at 01:02发表的

- Asterisk首页:http://www.asterisk.org/
- AGI Wiki:http://www.voip-info.org/wiki-Asterisk+AGI
- 说明:Asterisk是开源的电话交换机系统。AGI是Asterisk接口规范。RAGI和Batphone是Ruby语言的AGI实现。而后者是刚刚推出的。
- “Asterisk系统和Rails框架说明”: http://anarchogeek.com/assets/2006/10/25/integrating_asterisk_and_rails_astricon_06.pdf
开创网络商业新途经OpenID
由Gudao Luo在2007-02-28 at 22:06发表的

- OpenID首页:http://openid.net/
- Ruby OpenID库网站:http://www.openidenabled.com/openid/libraries/ruby/
- 说明:网络上的注册真是一种痛苦。OpenID解决了在网络上一次注册,可以到处使用技术,当然前提条件是该网站提供OpenID登陆功能。这肯定是一种发展趋势。OpenID最重要的是你的URL,比如我的OpenID为 https://cnruby.myopenid.com/,它相当于你的用户名。
- OpenID供应商:http://www.myopenid.com/
- OpenID和Rails:http://wiki.rubyonrails.org/rails/pages/OpenID
开源世界: Rails框架应用软件redMine企业项目管理系统
由Gudao Luo在2007-02-25 at 22:53发表的

- redMine首页:http://redmine.rubyforge.org/
- 说明:该软件有演示版本,只要下载点击即可使用。这是一款很不错的软件项目管理系统。尽管Rails框架还有类似的软件,但是它使用方便,功能丰富,值得一用。
- 感谢bd7lx提供的信息。
Rails框架的Ajax技术资料大全
由Gudao Luo在2007-02-24 at 21:27发表的

- Prototype框架
- Prototype Home http://www.prototypejs.org/
- Prototype APIhttp://prototypejs.org/api
- Prototype Developer Notes http://www.sergiopereira.com/articles/prototype.js.html
- scriptaculous框架
- scriptaculous Home: http://script.aculo.us/
- scriptaculous Wiki: http://scriptaculous.stikipad.com/scriptaculous/
- jQuery框架
- jQuery Home: http://jquery.com/
- jQuery API: http://rails.visualjquery.com/1.1.1.html
- Ajax开发必备工具
- Firefox Plugin JavaScript Debug http://www.mozilla.org/projects/venkman/
- Firefox Plugin FireBug https://addons.mozilla.org/firefox/1843/
- Firefox Plugin Web Developer http://chrispederick.com/work/webdeveloper/
- Java Script Console http://www.squarefree.com/bookmarklets/webdevel.html
- Firefox Plugin Modify Header https://addons.mozilla.org/firefox/967/
- Firefox Plugin LiveHTTPHeaders http://livehttpheaders.mozdev.org/
- Ajax博客和网站
- ajaxian http://www.ajaxian.com/
- ajaxblog http://www.ajaxblog.com/
- web2null http://www.web2null.de/
- ajaxcn http://ajaxcn.org/
目前最大的Ruby语言扩展库Ruby Facets
由Gudao Luo在2007-02-23 at 23:57发表的

- Ruby Facets首页:http://facets.rubyforge.org/
- Ruby Facets API:http://facets.rubyforge.org/doc.html
- 安装命令:
- gem install facets -r
- 说明:Ruby Facets最新版本1.8.51发行。
软件框架:全新JavaScript库jQuery
由Gudao Luo在2007-02-23 at 23:26发表的

- 说明:
- jQuery可以与Rails框架已集成的JavaScript库Prototype和scriptaculous同时使用。jQuery库让我们写得少,做得多。是很有前途的JavaScript开源库。
- 参考资料:
- jQuery首页: http://jquery.com http://jquery.com
- jQuery API: http://visualjquery.com http://visualjquery.com
- jQuery论坛
- The Year of jQuery
- Why JQuery’s Philosophy is Better
- 在Rails框架中使用jQuery
在Google中如何搜索Ruby语言代码
由Gudao Luo在2007-02-17 at 14:36发表的

- Google代码搜索网站:http://www.google.com/codesearch?hl=en
- 使用说明:进入上述网站,输入你想搜索的计算机语言名称,如Ruby语言,就是[lang:ruby],然后输入你想要寻找的代码内容,如[”...”],最好使用双引号。
Ruby语言和Rails框架最重要的网络资源
由Gudao Luo在2007-02-16 at 18:29发表的
Ruby语言协同集成测试框架RubyFIT
由Gudao Luo在2007-02-15 at 20:17发表的

- RubyFIT首页:fit.rubyforge.org
- RubyFIT是 FIT 的Ruby语言的一个实现。FIT框架看看有多少语言的实现,就大概知道其重要性。
- FIT是什么?摘自该网页说明
- Great software requires collaboration and communication. Fit is a tool for enhancing collaboration in software development.
道喜技术日记网站印章
由Gudao Luo在2007-02-10 at 21:21发表的

道喜技术日记『天天红玉世界』欢迎您!



























































































































