图书世界:MongoDB in Action (free PDF)
由Gudao Luo在2011-08-05 at 09:13发表的
Rails世界:Rails第四版翻译思考(五)
由Gudao Luo在2011-08-04 at 17:34发表的
- 英文:
- Default scopes apply to all queries that start with this model.
- We ask our customer whether she had a preference regarding the order things should be listed in, and we jointly decided to see what happened if we displayed the products in alphabetical order. We do this by adding a default_scope call to the Product model. Default scopes apply to all queries that start with this model.
- 中文:
- 这种默认的scope方法/函数适用于所有该模型的查询。
- 道喜评论
- 看来必须承认:这句话原作者说明不够透出。
- 书上代码default_scope是一个方法/函数,这是有特殊作用的方法/函数,其作用源代码是这样说明的:http://tinyurl.com/6zdewb3
- You can define a scope that applies to all finders using ActiveRecord::Base.default_scope.(这个方法/函数可以作用/适用于所有的查询。)
- 这句话使用default scopes,这说明还有不是默认(default)的scope方法/函数,请看API说明: http://tinyurl.com/366bkjo
- 这种默认方法/函数可以在一个模型里存在多个。所以原文使用复数。请看下面代码。
- function或者method,在软件科学中,我以为,它们是一个概念。但是,就是我写自己东西,也会使用方法或者函数。必须提醒开始接触Rails框架的朋友:在Ruby语言中,对象或者类的属性本身就是方法/函数。我以为,没有必要太多抓住“概念”,而是要理解“概念”,更重要的是:自己真正明白”概念“。
- 这里的Default scopes肯定是指:default_scope 方法/函数。我以为,scopes不应该翻译为“范围限定,范围设定,作用范围”等中文含义。
- 读者是否会联想到,”默认的scope(方法/函数)就是default_scope 方法/函数“?所以利用上下文关系,翻译为“所有这类函数”或者“所有这类方法”,是否更为妥当?
Rails世界:软件包delayed_paperclip
由Gudao Luo在2011-07-30 at 17:21发表的
- 道喜评论
- 优化文件上传过程;
- 基于软件包 paperclip
- 实现上传过程的后台运行;
图书世界:《JavaScript: The Definitive Guide, 6th Edition》英文版本
由Gudao Luo在2011-07-29 at 10:17发表的
图书世界:《Continuous Testing: with Ruby, Rails, and JavaScript》英文版本
由Gudao Luo在2011-07-22 at 10:19发表的
图书世界:《Smashing jQuery》英文版本
由Gudao Luo在2011-07-15 at 10:14发表的
Rails世界:Rails软件开发组合环境
由Gudao Luo在2011-07-12 at 23:11发表的
网站推荐:Rails中文博客
由Gudao Luo在2011-07-11 at 13:46发表的
Rails世界:文件database.yml代码字符有问题
由Gudao Luo在2011-07-03 at 23:47发表的
JavaScript世界:HTML5浏览器编辑器Aloha
由Gudao Luo在2011-06-27 at 08:40发表的
网站推荐:Rails框架模板生成工具
由Gudao Luo在2011-06-24 at 02:00发表的
JavaScript世界:如何玩转CoffeeScript
由Gudao Luo在2011-06-15 at 00:00发表的

- 前提条件
- 需要软件Node.js: 如何玩转Node.js
- 需要软件npm: 如何玩转npm
- 道喜评论
- CoffeeScript是一门计算机程序语言;
- CoffeeScript编译器可以把CoffeeScript代码变成为JavaScript代码;
- 从Rails3.1起,CoffeeScript将成为Rails框架的一个默认组成部分;
- CoffeeScript语言将成为Rails框架开发的必修课;
- CoffeeScript语言使得我们开发JavaScript程序变得更加简单方便;
- CoffeeScript语言代码风格类似于Ruby语言风格;
- 在今后几个周里,我们将会介绍CoffeeScript语言;
Ruby世界:如何使得Ruby版本与Rails版本绑定Rails应用程序
由Gudao Luo在2011-06-11 at 16:10发表的
网站推荐:Rails框架用户支架库
由Gudao Luo在2011-06-10 at 00:24发表的

- 道喜评论
- 支架(scaffold)是一个简单和功能化应用雏形;
- 支架生成器(scaffold generator)是生成一个简单和功能化应用雏形代码的工具;
- Rails框架为我们提供了一套功能十分强大的代码生成器和用户支架生成器框架;
- 网站 ScaffoldHub 是Rails框架用户支架库;
网站推荐:二维条形码的生成和读取解析
由Gudao Luo在2011-06-07 at 09:31发表的
Rails世界:崭新内容管理系统Locomotive
由Gudao Luo在2011-06-05 at 01:12发表的

- 道喜评论
- Locomotive是基于最新Rails3版本开发的;
- Locomotive是基于革命性数据库MongoDB开发的;
- Locomotive是非常漂亮用户界面的内容管理系统引擎;
- Locomotive能够一次安装简单搞定不同域名网站内容;
- Locomotive是一款基于云的引擎框架;
- Locomotive是一款开源的引擎框架;
- Locomotive能够商业化的引擎框架;
- Locomotive采用了大量最新的Ruby软件包,如 CarrierWave 、 Devise 和 Liquid 等;
- 前提条件说明
- MongoDB: 软件世界:安装非SQL语句数据库MongoDB
- ImageMagick: 苹果世界:如何安装ImageMagick和RMagick
- 浏览器:Safari、 Firefox 和 Chrome.
Ruby语言:Nokogiri版本问题
由Gudao Luo在2011-06-04 at 03:31发表的
Rails世界:Rails框架走向何方(五)
由Gudao Luo在2011-05-29 at 13:53发表的

- 道喜评论
- 随着HTML5不断地得到广泛应用,HTML5.pushState功能显示出越来越重要作用[ 1 ];
- 通俗地说,HTML5.pushState完成这样的功能:点击按钮,仅仅是把消息发送到服务器,更新页面部分内容,而其页面链接保持原样[ 2 ];
- 这种技术肯定会得到包括Rails框架程序在内的Web应用程序广泛采用;
- 参考资料
- http://www.rubyinside.com/dhh-keynote-streaming-live-from-railsconf-2011-right-here-right-now-4769.html
- http://blog.new-bamboo.co.uk/2011/2/2/degradable-javascript-applications-using-html5-pushstate
- https://github.com/defunkt/jquery-pjax
- http://pjax.heroku.com/
- http://webification.com/simple-javascript-routing-with-html5s-pushstate-davis-js
- http://echo.nextapp.com/site/corejs
- http://www.liquidmarkup.org/
- http://www.rubyinside.com/dhh-keynote-streaming-live-from-railsconf-2011-right-here-right-now-4769.html
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框架:最实用无配置网络服务器Pow
由Gudao Luo在2011-05-26 at 04:17发表的
网站推荐:中文Rails交流网站
由Gudao Luo在2011-05-25 at 18:57发表的
Rails世界:Rails框架走向何方(二)
由Gudao Luo在2011-05-23 at 00:55发表的

- 道喜评论
- JavaScript语言项目是越来越多和越来越细分,其发展趋势也是越来越快。
- 通用框架JavaScript有Prototype和JQuery等;
- 基于MVC的JavaScript框架有 BackBone 和 Spine 等;下面说明之。
- 桌面式Web软件框架或者说RIA框架有 SproutCore 、 ExtJS 和 qooxdoo 等,相关详细内容在后面博客介绍。
- 组件式和功能性的JavaScript软件或者框架有: 分配包库(asset packaging library) 、 表格组件库(grid/spreadsheet component) 、 函数编程库(functional programming) 、 视频组件框架(The HTML5 Video Framework) 、 JavaScript变体语言 等;
- 是否需要类似于gem一样的JavaScript软件包管理框架?
- 如何实现JavaScript软件、框架或者软件包代码是可测试、可规范和无重复(DRY)?
- Rails框架与很多其它框架一样,JavaScript代码有待改进。
- BackBone说明
- BackBone 是 MVC JavaScript框架;
- BackBone为我们提供了MVC的组织方式;
- BackBone能够很好地与Rails集成 [ 1 ] [ 2 ]。何时能够成为Rails框架的默认框架?是否还有更好的框架? [ 3 ] [ 4 ] [ 5 ]
- 在BackBone+Rails应用程序中,Rails框架控制器代码转移到了BackBone控制器代码中。
- BackBone能否与Coffeescript集成?[ 6 ]
- 重要参考资料
- http://www.jamesyu.org/2011/01/27/cloudedit-a-backbone-js-tutorial-by-example/
- http://www.jamesyu.org/2011/02/09/backbone.js-tutorial-with-rails-part-2/
- http://www.protectedmethod.com/blog/4d49b82942ba7864ce00000d/knockout_vs_javascriptmvc_vs_backbone
- http://maccman.github.com/spine/
- http://addyosmani.com/blog/building-apps-spinejs/
- https://github.com/codebrew/rails3-backbone-coffeescript
- http://mzhou.me/?p=95230
- http://www.limboy.com/2010/12/19/module-and-compiler-for-common-js/
- https://github.com/dexteryy/OzJS
- http://documentcloud.github.com/backbone/
- https://github.com/documentcloud/jammit/
- http://www.documentcloud.org/opensource
- 参考资料
- 10 Most Popular JavaScript Frameworks http://www.articlediary.com/print-563.html
- 16款最流行的JavaScript框架 http://developer.51cto.com/art/201103/249949.htm
- 推荐19个很有用的JavaScript库 http://sd.csdn.net/a/20110516/297878.html
- http://www.quora.com/Backbone-js-1/How-well-does-backbone-js-work-with-rails
- http://en.oreilly.com/rails2011/public/schedule/detail/19360
- https://gist.github.com/719080
- http://stackoverflow.com/questions/4773733/rails-mass-assignment-and-backbone-js
- http://news.ycombinator.com/item?id=1849271
- http://andrewgertig.com/2011/05/rails-backbone-js-example-screencast/
- http://rtomayko.github.com/rocco/
- http://blog.terrywh.net/develop/961/
- http://www.lainuo.info/2011/05/18/backbone-js-in-action
- https://github.com/winfield/traces
- https://github.com/codebrew/backbone-rails
- https://github.com/markbates/coffeebeans
Rails世界:Groonga系列(六完)—— ActiveGroonga-Fabrication是什么
由Gudao Luo在2011-05-14 at 08:17发表的

- 说明
- Rails fixture是持久层模型对象初始化软件库。
- factory_girl 是Rails fixture的替代品。该软件包给我们提供比fixture更加丰富的功能。
- Fabrication 也是Rails fixture的替代品。它给我们提供比factory_girl还要丰富的功能。如“惰性所生成的关联(lazily generated associations)”和“针对定义和生成的块(blocks for definition and generation)”等。
- Rails fixture、factory_girl和 Fabrication都是针对持久层模型的对象生成器软件包。
- ActiveGroonga-Fabrication是基于ActiveGroonga的对象生成器软件包。
- 参考资料
- http://judywang.iteye.com/blog/792986
- http://blog.waynedeng.com/?p=222
- http://robots.thoughtbot.com/post/722112946/factory-girl-rails3
- http://railser.com/forums/14/topics/109
- http://en.wikipedia.org/wiki/Fabrication_%28metal%29
- https://github.com/ranguba/activegroonga-fabrication/
- https://github.com/paulelliott/fabrication
- http://en.wikipedia.org/wiki/Fabrication
搜索:
Sphinx groonga
Senna ruby
Rails世界:Groonga系列(五)—— ActiveGroonga是什么
由Gudao Luo在2011-05-13 at 05:59发表的
- 说明
- ActiveGroonga是全文搜寻引擎Groonga的Rails框架接口。
苹果世界:Groonga系列(三)——如何使用Groonga
由Gudao Luo在2011-05-11 at 21:02发表的
软件世界:Groonga系列(一)——Groonga是什么
由Gudao Luo在2011-05-09 at 20:51发表的

- 说明
- Groonga是一个软件库;
- Groonga具有储存功能和全文搜寻的检索功能;
- Groonga是一款可嵌入式的全文搜寻引擎;
- Groonga是全文搜寻引擎Senna的追随者;
- Groonga储存引擎的后端就是Groonga软件库;
- 借助于Groonga储存引擎,我们可以使用在Groonga数据库中数据,如同使用传统关系数据库表的数据一样方便。
- 英语原文1:groonga is a library which have storages and indexes for fast fulltext searching. The backend of groonga Storage Engine is groonga library. With groonga Storage Engine, you can use datas in groonga as a usual MySQL tables.
- 英语原文2:An embeddable fulltext search engine. Groonga is the successor project to Senna.
Ruby世界:乐高(Lego)式软件开发软件antetype
由Gudao Luo在2011-03-27 at 13:57发表的
- 说明
- 大量的第三方软件能否很简单一条命令和统一方法进行安装和重用;
- 软件开发过程能否从一开始到结束反复自如地进与退;
- 在软件发布时,能否知道所使用了第三方软件是如何被安装到软件中;
- 在第三方软件安装以后,能否很简单地了解到底增加和修改了我们软件哪些文件;
- 软件开发过程能否如拼装乐高(Lego)结构一样。
Rails框架语言:使用Rails框架函数link_to
由Gudao Luo在2011-03-26 at 14:10发表的

- 参考资料
- http://pradeep88.wordpress.com/2010/04/19/link_toimage_tag-in-rails/
- http://snippets.dzone.com/posts/show/6722
- http://snipplr.com/view/5595/rails-link-to-an-image-instead-of-text/
- http://www.railsrocket.com/image_tag-and-link_to-helpers
- http://jquery-ui.googlecode.com/svn/tags/1.6rc5/tests/static/icons.html
- http://tinyurl.com/alocdk
- http://tinyurl.com/7htryn
Rails框架:Rails2.3框架内部结构
由Gudao Luo在2011-02-25 at 12:56发表的
《Rails 3 图例》:Rails程序模板与Bundler命令
由Gudao Luo在2011-01-25 at 14:08发表的

- 《Rails 3 图例》: Rails程序模板与Bundler命令
Ruby世界:2010年十本计算机软件开源图书
由Gudao Luo在2010-12-31 at 20:30发表的
- 2010年十本计算机软件开源图书
- http://progit.org/book/zh/
- http://eloquentjavascript.net/
- http://railstutorial.org/ruby-on-rails-tutorial-book
- http://rails-nutshell.labs.oreilly.com/
- http://guides.rubyonrails.org/
- http://ruby.runpaint.org/ https://github.com/runpaint/read-ruby
- http://vim.runpaint.org/ https://github.com/runpaint/vim-recipes
- http://ofps.oreilly.com/titles/9781449380373/
- http://blog.envylabs.com/Rails_3_Cheat_Sheets.pdf
- http://www.sapphiresteel.com/IMG/pdf/LittleBookOfRuby.pdf
Ruby世界:2010年Ruby和Rails的十个博客
由Gudao Luo在2010-12-29 at 17:55发表的
Ruby世界:2010年Ruby语言十大网站
由Gudao Luo在2010-12-28 at 21:26发表的
Rails世界:怎么把大系统划分为若干子系统
由Gudao Luo在2010-07-17 at 21:30发表的

- 参考资料
- RailsConf 2010: we rocked the world http://goo.gl/k5X5
- From 1 to 30 – How to refactor one monolithic application into an application ecosystem http://goo.gl/Vzuy
- RailsConf 2010 演讲台上的中国人 http://goo.gl/BFmh
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
Ruby世界:在Ruby和Rails交互界面中使用Vim
由Gudao Luo在2010-06-16 at 13:04发表的
- 安装命令
- sudo gem install interactive_editor
- 配置方法
- vim ~/.irbrc
- vim ~/.vimrc
- vim ~/.irbrc
- 使用方法
- 启动下面命令之一
- irb
- ./script/console #Rails2
- rails console #Rails3
- 输入vi或者vim
- 输入需要在交互界面的Ruby语言代码
- 退出vi或者vim
- 启动下面命令之一
- 参考资料
- Running Vim within IRB http://goo.gl/oE79
- Podcast: vimcasts http://goo.gl/NI8o
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
软件世界:看看Aquamacs的Rails扩充件
由Gudao Luo在2010-02-23 at 06:28发表的

- 前提条件
- 选择Mac OS X上的emacs:Aquamacs http://www.lycom.de/past/2010/2/22/2010-02-27-aquamacs/
- 安装方法
- 参考资料
- http://github.com/walter/aquamacs-emacs-starter-kit http://github.com/walter/aquamacs-emacs-starter-kit
- http://tinyurl.com/5c57r7 http://tinyurl.com/5c57r7
- http://chinaonrails.com/topic/view/569.html http://chinaonrails.com/topic/view/569.html
- http://tinyurl.com/y95qfnu http://tinyurl.com/y95qfnu
- http://tinyurl.com/y8fae7m http://tinyurl.com/y8fae7m
- http://tinyurl.com/yz2k9l6 http://tinyurl.com/yz2k9l6
Rails3世界:安装Rails3.0pre版本(二)
由Gudao Luo在2010-02-08 at 10:14发表的

- 前提条件
- 系统已经安装了Ruby1.8.7版本。Ruby1.9版本还有问题。
- Rails3pre版本问题实在太多,或许改动确实太大!
- 说明
- 参考资料
- http://gist.github.com/290606 http://gist.github.com/290606
- http://tinyurl.com/yf6vkww http://tinyurl.com/yf6vkww
- http://tinyurl.com/yerlbdz http://tinyurl.com/yerlbdz
- 系列全部内容
- Rails3世界:安装Ruby1.8.7(一甲) http://www.lycom.de/past/2010/2/7/2010-02-07-rvm-ruby187/
- Rails3世界:安装Ruby1.9.1(一乙) http://www.lycom.de/past/2010/2/6/2010-02-07-rvm-ruby191/
- Rails3世界:安装Rails3.0pre版本(二) http://www.lycom.de/past/2010/2/8/2010-02-07-rails3-pre/
- Rails3世界:使用软件包管理工具Bundler(三) http://www.lycom.de/past/2010/2/10/2010-02-10-bundler/
- Rails3世界:使用另外的网络服务器Unicorn(四) http://www.lycom.de/past/2010/2/13/2010-02-14-unicorn/
- Rails3世界:使用新的命令rails(五) http://www.lycom.de/past/2010/2/17/2010-02-17-rails-command/
- Rails3世界:使用抽象持久层Arel(六) http://www.lycom.de/past/2010/2/18/2010-02-18-arel/
Rails误解一百例:命令“rake gems:install”
由Gudao Luo在2010-02-01 at 10:42发表的
Rails世界:发布Rails 2.3.5版本的Rails插件ActiveFPDF
由Gudao Luo在2010-01-31 at 19:21发表的

- 参考资料
- undefined method `call’ for LiquidView:Class http://groups.google.com/group/liquid-templates/msg/b58ebd9b358e4672
- PDF::Writer and Ruby on Rails 2.2.2 http://info.michael-simons.eu/2008/11/24/pdfwriter-and-ruby-on-rails-222/
- PATCHED to work with Rails 2.2.2 and Liquid Gem 1.9.0
http://pastie.org/365287
代码世界:灰色对象、灰色操作、灰色关联和灰色。。。
由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)。。。
软件包世界:最新IBM DB2 gem驱动软件包
由Gudao Luo在2010-01-26 at 22:20发表的

- ibm db2 for mac osx
- IBM DB2下载 http://www.ibm.com/developerworks/cn/downloads/im/udbexp/
- Install DB2 on Mac OS X and give us feedback http://antoniocangiano.com/2009/01/20/installing-db2-on-mac-os-x/
- How to install DB2 Express-C 9 on Mac OS X in about 10 minutes http://nunoveloso.eu/blog/2009/03/07/how-install-db2-express-c-9-mac-os-x-about-10-minutes
- Screencast on how to install DB2 Express-C on Mac OS X http://antoniocangiano.com/2009/04/27/screencast-on-how-to-install-db2-express-c-on-mac-os-x/
- ibm db2 gem for ruby
- ibm db2 gem 下载 http://rubyforge.org/frs/?group_id=2361
- Improve the security and performance of DB2 Ruby on Rails applications using parameterized queries http://www.ibm.com/developerworks/data/library/techarticle/dm-1001db2rubyonrailsapps/
- Install the DB2 IBM_DB Gem for Ruby on OS X https://wikihub.berkeley.edu/display/istas/Install+the+DB2+IBM_DB+Gem+for+Ruby+on+OS+X
- IBM_DB_Adapter README http://rubyibm.rubyforge.org/svn/trunk/IBM_DB_Adapter/ibm_db/README
- Using DB2 with Rails http://wiki.rubyonrails.org/database-support/db2
网络图书世界:《Ruby on Rails Web Mashup Projects》
由Gudao Luo在2010-01-25 at 07:20发表的
命令世界:在帮助信息中Rails命令没有说明的使用方法
由Gudao Luo在2010-01-24 at 03:48发表的


- 为什么我们需要这样的命令?
- Showing_SQL_statements_in_the_Rails_console
- ab rails 2.2.2
- 参考资料
- http://stackoverflow.com/questions/379141/specifying-rails-version-to-use-when-creating-a-new-application
- http://craiccomputing.blogspot.com/2008/06/using-older-versions-of-rails.html
- http://bbs.chinaonrails.com/topic/view/1994.html
- http://ruby.geraldbauer.ca/rails-downgrade.html
- http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/6a7883e4d67e5606
- http://guides.rubyonrails.org/command_line.html
网上精品:《通向Rails3:入门》
由Gudao Luo在2010-01-23 at 23:58发表的
网站推荐:Ruby和Rails社区最新新闻
由Gudao Luo在2010-01-21 at 00:08发表的

- 推荐说明
- ruby5.envylabs.com 发表的信息都是很有目光的。
Ruby世界:2009年Rails框架企业管理开源软件
由Gudao Luo在2010-01-08 at 17:03发表的

- Rails框架企业管理开源软件
- 2009年最佳企业事务管理软件Tracks http://www.getontracks.org/
- 软件项目管理软件Redmin http://www.redmine.org/
- 电子商务软件Spree http://spreecommerce.com/
- RailsERP ERP软件 http://www.railserp.com
- 网络邮件管理软件Mailr http://mailr.org/
- 企业文件管理系统Boxroom http://boxroom.rubyforge.org/
- 2009年最佳论坛管理软件El Dorado http://github.com/trevorturk/eldorado
- 论坛管理软件Beast http://svn.techno-weenie.net/projects/beast/trunk/
Ruby世界:2009年最佳Rails内容管理软件
由Gudao Luo在2010-01-07 at 23:35发表的

- 内容管理软件CMS
- Seed http://seed.mediacollectiveslice.com/
- Railscasts http://github.com/ryanb/railscasts
- Refinery http://refinerycms.com/ (2009年最佳Rails内容管理软件)
- Browsercms http://www.browsercms.org/
- Instiki http://instiki.org/show/HomePage
- Simplelog http://simplelog.net/
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/的文字版本
Rails框架:终端应用程序的微型视图框架Hirb
由Gudao Luo在2009-12-16 at 18:19发表的

- 创建Rails程序实例演示命令清单
- 使用hirb演示实例
- 最重要的参考资料:
- http://github.com/cldwalker/hirb
- http://tagaholic.me/hirb/
- http://github.com/jeremymcanally/rails-templates
- http://railscasts.com/episodes/148-app-templates-in-rails-2-3
- http://m.onkey.org/2008/12/4/rails-templates
- 参考资料:
- http://www.ozmox.com/2009/11/01/enjoy-working-with-models-using-hirb/
- http://tagaholic.me/2009/03/13/hirb-irb-on-the-good-stuff.html
- http://github.com/BJClark/rails-templates/blob/d8889e1c771847f75641503e478c130e959e1686/scidept.rb
- http://www.geekskillz.com/articles/11
- http://tagaholic.me/2010/02/16/two-dimensional-console-menus-with-hirb.html http://tagaholic.me/2010/02/16/two-dimensional-console-menus-with-hirb.html
《Rails框架九十九例丛书 : 框架功能》-- Rails ActiveMailer系列
由Gudao Luo在2009-08-08 at 10:43发表的

- 说明
- 致谢:非常感谢王大力、冯侃、Donner So和姜伟等朋友的大力支持
- 论坛:http://groups.google.com/group/cnrails (需要注册)
- Rails框架九十九例丛书:框架功能(发送邮件完整版本)
Rails世界:源代码分析工具Excellent
由Gudao Luo在2009-08-06 at 21:05发表的
Rails世界:最好Rails网络入门教程
由Gudao Luo在2009-08-04 at 22:59发表的
第一例:基于SMTP方式的Rails软件
由Gudao Luo在2009-08-03 at 20:50发表的
Rails框架九十九例丛书:——框架功能

- 说明
- 请看:
http://hhtong.com/news/2008/12/23/rails——rails-activemailer/
或者
http://www.lycom.de/past/2009/8/8/rails99-2009-08-08/ 本书内容正在让朋友审核阅读。等到他们完成以后马上发布。你想马上阅读吗?只要发个邮件给我:gudao.luo@gmail.com ,只要在邮件标题上复制“第一例:基于SMTP方式的Rails软件”,就可以了,其它什么也不要写。但是我有一个小小的愿望,请你给我提你的意见,无论是技术上还是文字上都可以。不要忘记了!
- 请看:
Rails视频世界:利用苹果工具Xcode开发Rails软件
由Gudao Luo在2009-08-01 at 18:30发表的
- 说明
- 工具Xcode的安装目录:
/Developer/Applications/Xcode.app - 视频链接
- 工具Xcode的安装目录:
Rails开发世界:推荐Rails框架API网站
由Gudao Luo在2009-07-14 at 12:56发表的
Google世界:通过关键词bd7lx搜索Ruby信息
由Gudao Luo在2009-07-13 at 06:51发表的
技巧命令: 查询自己所需要的rake命令信息
由Gudao Luo在2009-07-12 at 08:00发表的
代码世界: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)
Rails技术系列:使用命令script/runner实现输出文件csv
由Gudao Luo在2009-07-10 at 21:05发表的


具体实现步骤
- 安装Rails框架插件fastercsv
sudo gem install fastercsv
- 创建Rails应用软件
rails demo && cd demo
ruby script/generate scaffold post title:string body:text published:boolean
rake db:migrate && rake db:fixtures:load
- 实现输出文件csv代码
vim lib/export_csv.rb
- 运行输出文件csv的代码
script/runner lib/export_csv.rb
- 查看导入数据库数据
cat cat test/fixtures/posts.yml
- 使用终端查看导出文件csv数据
cat posts.csv
- 使用OpenOffcie查看导出文件csv数据
open posts.csv
Rails参考资料:迁移类型及其限制值/默认值
由Gudao Luo在2009-07-09 at 18:45发表的
| 迁移类型 | MySQL类型 | 限制值/默认值 |
|---|---|---|
| :binary | TINYBLOB, BLOB, MEDIUMBLOB, or LONGBLOB2 | :limit => 1 to 4294967296 ( default = 65536 ) |
| :boolean | TINYINT | – |
| :date | DATE | – |
| :datetime | DATETIME | – |
| :decimal | DECIMAL | :precision => 1 to 63 (default = 10) :scale => 0 to 30 (default = 0)3 |
| :float | FLOAT | – |
| :integer | INT | :limit => 1 to 11 (default = 11) |
| :primary_key | INTAUTO_INCREMENT PRIMARY KEY | – |
| :string | VARCHAR | :limit => 1 to 255 (default = 255) |
| :text | TINYTEXT, TEXT, MEDIUMTEXT, or LONGTEXT2 | :limit => 1 to 4294967296Bytes ( default = 65536Bytes ) |
| :time | TIME | – |
| :timestamp | DATETIME | – |
网站推荐:英文免费电子Rails杂志《Rails Magazine》
由Gudao Luo在2009-07-07 at 09:39发表的
Rails框架世界:工具Cucumber版本兼容问题
由Gudao Luo在2009-04-15 at 13:08发表的

- 说明
- Cucumber版本组合:
- Cucumber 0.2.3 + rspec 1.1.11 + rspec 1.2.4
- 出现问题:
- “can’t activate rspec (= 1.1.11, runtime), already activated rspec-1.2.4 (Gem::Exception)”
- 解决办法:
- 更新至Cucumber版本0.3.0
- 更新至Cucumber版本0.3.0新问题(代码还是版本Cucumber 0.2.3):
- “you can only pass a proc to #World once, but it’s happening (Cucumber::MultipleWorld)”
- 进一步解决办法:
- 在文件$RAILS_ROOT/features/support/paths.rb中,
把下面代码:
World do |world|
world.extend NavigationHelpers
world
end
修改为:
World(NavigationHelpers)
- 在文件$RAILS_ROOT/features/support/paths.rb中,
- Cucumber版本组合:
- 提示:
- 不要期望(或者说按照错误提示的说明)删除同一程序的旧版本,就能够解决所出现的问题。尽管这是一种方法,但是有时候可能会带来更多的问题。
- 参考资料
- Install Cucumber, Webrat and RSpec
- Cucumber 0.3.0源代码文件(第179行):/Library/Ruby/Gems/1.8/gems/cucumber-0.3.0/lib/cucumber/step_mother.rb
Rails框架世界:如何正确设定Rails产品配置文件
由Gudao Luo在2009-04-13 at 09:23发表的
Rails框架世界:苹果系统风格的消息提示Growl4Rails
由Gudao Luo在2009-04-12 at 08:49发表的
- 参考资料
Rails实例世界(No 4):REST_in_Place on Rails编辑器
由Gudao Luo在2009-02-11 at 21:34发表的
Rails世界:CnRails成员超过500人
由Gudao Luo在2009-02-07 at 10:26发表的
Ruby/Rails世界:《什么是Ruby和Rails》演讲稿
由Gudao Luo在2009-01-28 at 18:57发表的
Rails世界:Rails 2.3版本重要功能(应用软件生成器Rails Templates)
由Gudao Luo在2009-01-25 at 18:00发表的
- 什么是Rails Templates
- Rails Templates记录软件开发过程的所有命令。
- 利用什么方法记录Rails Templates?
- Ruby语言文件
- Rails Templates文件存放在哪里
- 从理论上说,任何地方;在实际中,应该存放在服务器上。
- 利用Rails Templates方法,如何开发Rails项目
- 三个步骤:(1)>= Rails 2.3,在今天Rails 2.3正式版本尚未发布之前,可以使用上面命令一方法获取它,或者参见:如何获取Rails当前开发版本(Rails Edge Version)? ;(2) 创建Rails Template文件,该文件的实例代码,如上面代码所示;(3)利用命令“rails -m [Rails Template位置及其文件名称]”,如上面二所示。
- 参考资料
- http://ryandaigle.com/articles/2008/12/11/what-s-new-in-edge-rails-application-generators
- http://ramblingsonrails.com/how-to-use-the-new-templates-in-rails
- http://github.com/imajes/rails-template/tree/master
- Rails Templates实例代码
- http://gist.github.com/33337
- Rails Templates实例代码
- http://m.onkey.org/2008/12/4/rails-templates
- 说明Rails Templates最重要的文章
- http://www.rubyinside.com/rubys-top-hitter-in-2008-jeremy-mcanally-1404.html
- http://www.railsinside.com/tips/212-rails-templates-pumped-full-of-caffeine.html
- http://github.com/rails/rails/commit/e8cc4b116c460c524961a07da92da3f323854c15
- http://ariejan.net/2009/01/04/how-to-start-a-rails-edge-app-the-easy-way/
Rails世界:如何获取Rails当前开发版本(Rails Edge Version)?
由Gudao Luo在2009-01-24 at 12:31发表的
Ruby代码世界:尽可能使用Ruby语言方法”<<“
由Gudao Luo在2009-01-19 at 09:50发表的

- 说明
- 下面第一段代码使用了变量“i”。在Ruby代码中,基本上不需要使用这种变量,即使需要也可以使用“each_with_index”。而第一段代码连这种需要也没有。
- 下面第二段代码是使用方法“<<”改进后代码清单。注意使用这种方法时,一定要清楚方法“<<”之后的对象是什么。在Rails 2.2.2版本中因为使用此方法不当,产生了错误。参见: Rails2.2世界:国际化功能问与答(二) 。
Rails技巧系列:你使用过script/runner吗?
由Gudao Luo在2009-01-18 at 15:30发表的

- 说明
- Rails命令script/runner可以执行Rails软件Ruby文件或者Ruby代码。
- 结合工具 crontab 可以实现Rails项目的定时任务的执行。
- 参考资料
- Automation With Rails script/runner http://tinyurl.com/99unbm
- Hidden in plain sight: script/runner http://tinyurl.com/ax4kv7
- Running one migration by hand http://tinyurl.com/a3ocsb
Rails技巧系列:代码redirect_to(@object)够用了吗
由Gudao Luo在2009-01-17 at 11:56发表的
Rails世界:Rails框架软件平台 adva cms
由Gudao Luo在2009-01-17 at 00:18发表的

- 说明
- adva cms 是基于Rails框架的开发平台。
- adva cms 最大的特点是所有插件和引擎都存储于目录vendor下,与用户软件彻底分离。
Rails技巧系列:为什么不要使用函数puts?
由Gudao Luo在2009-01-16 at 22:54发表的

- 说明
- 很多人喜欢使用函数puts,获取调试信息。这个问题类似于Java语言人们使用System.out.println(),获取输出内容。一旦使用了函数puts,无法保证网络服务器对于源代码输出信息的顺序!参见上图作了标记的两行输出记录。尽管在上面代码中,函数puts和logger.info是一前一后,但是输出信息的顺序与代码的顺序是不同的。
- 建议放弃使用函数puts,获取输出信息的方法。
- Rails框架已经集成了logger软件包!
- 什么是logger? What is logger?
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
Rails2.2世界:国际化功能问与答(五)
由Gudao Luo在2008-12-28 at 15:02发表的

- 参考资料
- Rails I18N: ActiveRecord对象本地化
- http://groups.google.com/group/rails-i18n/msg/7951160fbac686e3
- http://www.func09.com/wordpress/archives/262
- The Ruby on Rails I18n core api
- Rails i18n: recarregando arquivos de localizações
- Rails Restful Authentication i18n
- New Rails 2.2 i18n defaults
- http://chinaonrails.com/topic/view/1918.html
Ruby/Rails世界:推荐2008年Ruby/Rails网站
由Gudao Luo在2008-12-27 at 07:29发表的
Rails框架世界:Rails 3有哪些传闻
由Gudao Luo在2008-12-26 at 11:30发表的
Rails2.2世界:国际化功能问与答(四)
由Gudao Luo在2008-12-13 at 10:04发表的
网站推荐:澳大利亚社区网站
由Gudao Luo在2008-12-10 at 02:37发表的
Cucumber实例世界:Cucumber on Rails深化实例(四)
由Gudao Luo在2008-12-05 at 08:48发表的
图书世界:免费的RJS教程
由Gudao Luo在2008-12-03 at 14:57发表的
网站推荐:获取网络世界知识的快速途径www.yeeyan.com
由Gudao Luo在2008-12-02 at 10:34发表的
Cucumber实例世界:Cucumber on Rails最简单实例(三)
由Gudao Luo在2008-12-01 at 23:09发表的
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是对问题的描述具体实现
Rails2.2世界:国际化功能问与答(二)
由Gudao Luo在2008-11-28 at 23:50发表的

- 国际化功能问与答(二):用户定义本地化文件
- 注意 ,在下面第二个问题中,Rails 2.2.2的示例代码存在错误,源代码为:“<<”,正确应该是:“+=”。参见: 对于数组的运算符“<<”和“+=”的差异
Cucumber实例世界:Cucumber on Rails基本使用过程(一)
由Gudao Luo在2008-11-28 at 20:17发表的
Rails实例世界(No 3):关于Textile的可视化编辑插件textile_toolbar
由Gudao Luo在2008-11-27 at 11:23发表的
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(中文语言描述)基础讲座系列
Rails2.2世界:国际化功能问与答(一)
由Gudao Luo在2008-11-26 at 06:02发表的
Rails世界:Ruby on Rails 2.2版本相关资料
由Gudao Luo在2008-11-25 at 15:41发表的

- 重要参考资料
- Rails 2.2: i18n, HTTP validators, thread safety, JRuby/1.9 compatibility, docs
- Ruby on Rails 2.2 Release Notes
- Rails 2.2已经正式发布!
- What’s New in Edge Rails: Rails 2.2 Released – Summary of Features 4
- Demo application to show Rails’ new i18n features
- Rails 2.2 For Me And For You
- Rails 2.2 Released – 27 Links and Resources To Get You Going
- Localizing Rails : Demo application
- Rails2.2 发布 - 27个链接和资源带你出发
- Rails 2.2版本不再推荐使用的功能
- 专题资料
Rails世界:Ruby软件包和Rails插件的使用趋势
由Gudao Luo在2008-11-20 at 06:05发表的
Rails实例世界(No 2):很有前途的JavaScript框架Mootools
由Gudao Luo在2008-11-19 at 08:30发表的

- 参考资料
- Mootools首页 http://mootools.net
- Mootools on Rails插件
- MooTools Plays Well With Rails http://tinyurl.com/6pl8ql
- Mootools插件Accordion
- Increasing User Experience With Javascript http://tinyurl.com/5ed8tf
Rails实例世界(No 1):可视化路由工具vasco
由Gudao Luo在2008-11-16 at 06:49发表的
- 安装前提条件:
- ruby version 1.8.6
- gem version 1.3.1
- rails version 2.1.2
- git version 1.6.0.1
- 说明
- 在Mac OS X上使用上面所说的方法一切正常
- 在Debian Sarge 3.1 Server上使用上面所说的方法,在使用命令“rake vasco:explore”时,就会出现问题。
- 在使用Mongrel服务器可以正常访问
- 在使用Thin服务器可以访问vasco时,会出现下面错误:
No route matches ”/vasco” with {:method=>:get}
- 参考资料
- Introducing Vasco: A Route Explorer for Rails http://tinyurl.com/59pacg
- Minor bug fix to Vasco http://tinyurl.com/5dk37r
- Vasco now supports nested routes http://tinyurl.com/6n8v6y
博客世界:Rails神话(The Rails Myths)
由Gudao Luo在2008-11-15 at 07:59发表的

- 相关资料
- Merb, Rails Myths, Language Popularity and other Zenbits http://tinyurl.com/6pjfrn
- http://www.zedshaw.com/blog/2008-11-13.html
- MythBusting — Rails is not a monolith http://tinyurl.com/6adalf
网站推荐:Ruby & Rails 外文精华翻译站
由Gudao Luo在2008-11-15 at 06:41发表的
数据库世界:下一代数据库储存系统CouchDB
由Gudao Luo在2008-11-01 at 17:44发表的

- 说明
“Its interesting to see that recently things like CouchDB or BigTable, and other implementations treat the database as a big hash. Or implement a big hash as a database are popping up and that’s very interesting.”—-DHH
- CouchDB on Rails何时到位?
- 值得好好学习的数据库系统!
- Ruby语言实现的CouchDB接口
- ActiveCouch home http://activecouch.googlecode.com/
- ActiveCouch Source
- CouchResource
- CouchObject
- CouchObject Home
- CouchObject RDoc
- 参考文献
- Installing CouchDB on MacOSX
- 最简单地安装CouchDB到MacOS
- 基于RESTful的面向文档数据库
- ActiveCouch – A Ruby Wrapper for CouchDB
- Futuretalk: CouchDB
- ActiveCouch – a CouchDB library in the spirit of ActiveResource and ActiveRecord
- Installing CouchDB 0.8.0 on Ubuntu 8.04
- ThruDB for Rails? ActiveDocument
- Thrudb – faster, cheaper than SimpleDB
- Damien Katz
- CouchDB Implementation
命令世界:在MacOSX上简化Rails启动命令
由Gudao Luo在2008-09-03 at 00:05发表的

- 参考资料
- Mac Leopard OS X, Windows Convert: Color Terminal, Fixing Spaces, Home & End Keys, Mouse http://tinyurl.com/6rydey
Ruby语言世界:今天动态类型语言地位
由Gudao Luo在2008-08-30 at 20:19发表的
数据库世界:基于RESTful的面向文档数据库(document-oriented database)
由Gudao Luo在2008-08-29 at 18:04发表的
Rails框架:PDF开发包ActvieFPDF for Rails 2.1
由Gudao Luo在2008-08-16 at 08:45发表的
网站推荐:开源Rails项目大本营
由Gudao Luo在2008-08-07 at 04:46发表的
代码世界: 如何在软件SimpleLog中更好地显示代码
由Gudao Luo在2008-08-03 at 03:32发表的

解决方案
- 切换到软件SimpleLog的根目录
cd %SIMPLELOG_ROOT%
- 下载CSS文件
cd public/themes/simplelog/stylesheets
wget http://www.lycom.de/themes/simplelog/stylesheets/coderay.css
cd %SIMPLELOG_ROOT%
- 打开SimpleLog软件的主模板文件,并且把所下载的CSS文件连接到程序中去
vi themes/simplelog/layouts/site.rhtml
<%= theme_stylesheet_link_tag 'coderay.css', :title => Site.site_name, :media => 'screen' %>
<div class="CodeRay"><pre>
—你的代码—
</pre></div>
代码世界:介绍使用jQuery UI标签功能
由Gudao Luo在2008-08-02 at 19:04发表的

使用实例
- 下载CSS文件及其图片
1 svn co http://jquery-ui.googlecode.com/svn/tags/latest/themes/flora/
- 下载jQuery软件及其UI库
或者使用命令1 curl -O http://code.jquery.com/jquery-latest.js 2 curl -O http://dev.jquery.com/view/tags/ui/latest/ui/ui.core.js 3 curl -O http://dev.jquery.com/view/tags/ui/latest/ui/ui.tabs.js
1 wget http://code.jquery.com/jquery-latest.js 2 wget http://dev.jquery.com/view/tags/ui/latest/ui/ui.core.js 3 wget http://dev.jquery.com/view/tags/ui/latest/ui/ui.tabs.js
- 创建一个HTML文件
1 vi tabs.html - 该HTML文件必须包含三部分内容:
1 <html><head> 2 <!— 1. 说明CSS文件和jQuery文件的位置 BEGIN —> 3 <script src="jquery-latest.js"></script> 4 <link rel="stylesheet" href="flora/flora.all.css" type="text/css" media="screen" title="Flora (Default)"> 5 <script type="text/javascript" src="ui.core.js"></script> 6 <script type="text/javascript" src="ui.tabs.js"></script> 7 <!— 1. 说明CSS文件和jQuery文件的位置 END —> 8 9 <!— 2. jQuery代码 BEGIN —> 10 <script> 11 $(document).ready(function(){ 12 $("#example > ul").tabs(); 13 }); 14 </script> 15 <!— 2. jQuery代码 END —></head><body> 16 17 <!— 3. 与jQuery代码相关的HTML代码 BEGIN —> 18 <div id="example" class="flora"> 19 <ul> 20 <li><a href="#fragment-1"><span>One</span></a></li> 21 <li><a href="#fragment-2"><span>Two</span></a></li> 22 <li><a href="#fragment-3"><span>Three</span></a></li> 23 </ul> 24 <div id="fragment-1">tab1 内容</div> 25 <div id="fragment-2">tab2 内容</div> 26 <div id="fragment-3">tab3 内容</div> 27 </div> 28 <!— 3. 与jQuery代码相关的HTML代码 END —></body></html>
- 参考资料
Rails框架:知道什么是ActivePresenter?
由Gudao Luo在2008-07-30 at 00:03发表的
Rails框架:免费Rails 2.1中文版本图书
由Gudao Luo在2008-07-28 at 18:15发表的
Rails框架:有用的jQuery插件Accordion
由Gudao Luo在2008-06-30 at 21:48发表的
Rails框架:集成jQuery到Rails软件
由Gudao Luo在2008-06-29 at 21:56发表的
Rail框架:《jQuery on Rails系列》
由Gudao Luo在2008-06-28 at 23:02发表的

- jQuery on Rails系列
- 在Rails上安装和使用jQuery的方法
- 简单使用jQuery插件Accordion的方法
- 深入使用jQuery插件Accordion的方法
- 改进jQuery插件Accordion的源代码
- 使用Rails插件navigation_helper的方法
- 集成Rails插件Accordion和jQuery插件navigation_helper于一体的应用方法:完整菜单实例
视频世界:Netbeans如何实现文件类型关联方法
由Gudao Luo在2008-06-12 at 12:02发表的
图书世界:Ruby图书知多少
由Gudao Luo在2008-06-11 at 18:39发表的
Rails框架:Rails框架系列教程
由Gudao Luo在2008-06-09 at 19:46发表的

- Rails框架系列教程一
- Beginners Tutorial: Routing in Rails 2.0 (with REST) – Part 1 of n
- Beginners Tutorial: Routing in Rails 2.0 (with REST) – Part 2 of n
- Beginners Tutorial: Routing in Rails 2.0 (with REST) – Part 3 of n
- Beginners Tutorial: Routing in Rails 2.0 (with REST) – Part 4 of n
- Beginners Tutorial: Routing in Rails 2.0 (with REST) – Part 5 of n
Rails框架:最重要的可视化图表Ruby语言库gchartrb
由Gudao Luo在2008-06-06 at 21:57发表的

- 说明
- Ruby语言库gchartrb是一件穿着Ruby语言的外套,其核心是基于Google API Chart 。
- bd7lx说:“不需要(自身)server端的图形处理库,计算(大权)交给强大的google(集群服务器)。给出(源自于数据库的)数据,返回漂亮的图形。”
- 中文总是问题。上面的图形是通过Rails软件所生成的。
- 参考资料
- http://www.infoq.com/articles/bass-google-charts-gchartrb
- http://blog.runrails.de/2008/05/21/charts-und-diagramme-mit-der-google-api-in-rails-erzeugen/
- http://blog.codefront.net/2007/12/12/gchartrb-ruby-google-chart-api/
- http://railsontherun.com/2007/12/10/google-chart-gem
- http://chinaonrails.com/topic/view/1063.html
Rails框架:Rails 2.1最重要的改进功能
由Gudao Luo在2008-06-05 at 04:59发表的
Rails框架:Rails框架高级系列教程
由Gudao Luo在2008-06-02 at 05:48发表的
Rails框架:插件will_paginate的未来版本
由Gudao Luo在2008-06-01 at 00:20发表的
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/
Rails框架:Rails论坛实例项目教程
由Gudao Luo在2008-05-26 at 23:09发表的
Rails框架插件系列:增加标记input的属性class
由Gudao Luo在2008-05-25 at 12:12发表的
Ruby语言:Ruby语言+Rails框架视频学习网站
由Gudao Luo在2008-05-24 at 00:28发表的
Rails框架:Rails重要开源应用项目
由Gudao Luo在2008-05-23 at 16:04发表的
博客世界:中文Ruby博客群聚"南沙坡"
由Gudao Luo在2008-04-05 at 13:43发表的
Rails框架:Rails重要插件系列教程
由Gudao Luo在2008-03-31 at 21:09发表的
Rails框架:在MacOS上开发Rails软件教程
由Gudao Luo在2008-03-30 at 00:56发表的
Ruby语言:谁能够超越Rails框架?
由Gudao Luo在2008-03-29 at 00:05发表的

- 说明
- Waves 是一款很有前途的Ruby语言网络软件框架。它是一种全新的思维,而不是简单的模仿;集成当前最好的软件包,而不是轻易的纳入;不仅注意软件开发的细节,更重要的是以软件全局为出发点。
- 相关报道
图书推荐:【部署Rails应用软件:手把手指南】
由Gudao Luo在2008-03-03 at 22:24发表的
Rails框架:在Apple上开发Rails应用软件
由Gudao Luo在2008-03-01 at 21:37发表的
Rails框架:组件理念是否重返Rails框架
由Gudao Luo在2008-02-14 at 22:53发表的
Rails框架:Ruby on Rails入门基础教材
由Gudao Luo在2008-01-28 at 08:31发表的
视频推荐:Ruby语言和Rails框架视频教程
由Gudao Luo在2008-01-19 at 14:14发表的
Rails插件:创建自己的导航系统Geokit
由Gudao Luo在2008-01-18 at 10:10发表的

- 说明
- Rails插件Geokit提供了地理编码(geocoding),路线寻找和距离计算等功能。这个插件不仅提供Google地图API还提供Yahoo地图和Geocoder.us 等其他地图。
- Geokit项目首页:http://geokit.rubyforge.org/
- 图中链接是借助于Google 地图 API 实现瑞士火车实时运行网站。
网站推荐: Ruby语言博客集
由Gudao Luo在2008-01-14 at 07:28发表的
Ruby语言:2007年Ruby语言集成运行环境
由Gudao Luo在2008-01-11 at 20:53发表的
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发表的
Rails博客:深入学习和使用Rails框架
由Gudao Luo在2007-12-27 at 02:22发表的
网站推荐:日本Ruby语言技术新闻博客网站
由Gudao Luo在2007-12-22 at 00:29发表的

- 说明
- 有点新鲜和惊喜 是一个很好的Ruby语言技术新闻与博客网站;
- 有点新鲜和惊喜 是一个日本语网站;
- 有点新鲜和惊喜 是一个类似于 rubyinside.com ,但是它更面向技术。
Ruby语言:重要的软件包BackgroundFu
由Gudao Luo在2007-12-19 at 21:46发表的
Ruby世界:中文Ruby论坛在哪里?
由Gudao Luo在2007-12-17 at 16:42发表的
Rails框架:谁在为Rails框架贡献代码?
由Gudao Luo在2007-12-15 at 21:22发表的
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发表的
Rails框架插件:使得网络链接变得容易理解
由Gudao Luo在2007-11-28 at 20:52发表的
Rails框架插件:页面缓存技术mongrel-esi
由Gudao Luo在2007-11-25 at 09:15发表的
JRuby专题:应用服务器GlassFish on Rails
由Gudao Luo在2007-11-19 at 12:47发表的
开发框架:新一代Ruby ORM DataMapper
由Gudao Luo在2007-11-16 at 23:59发表的
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框架技术讲座:分页技术插件will_paginate
由Gudao Luo在2007-07-12 at 19:37发表的

Rails框架技术讲座:分页技术插件will_paginate
- 说明
- 在Rails框架版本1.2.4开始pagination系统将不包括在内,但是classic_pagination插件将向前兼容。插件will_paginate将更被看好。该插件使用和集成非常简单。
- 参考资料:
- Rails应用软件实例命令
rails use_will_paginate
cd use_will_paginate
ruby script/plugin install svn://errtheblog.com/svn/plugins/will_paginate
ruby script/generate scaffold_resource Post
vi config/database.yml
vi db/migrate/001_create_posts.rb
rake db:migrate
vi app/models/post.rb
vi app/controllers/posts_controller.rb
vi app/views/posts/index.rhtml
vi public/stylesheets/scaffold.css
ruby script/server
start http://localhost:3000/posts- Rails应用软件实例命令代码
svn co http://cnruby.googlecode.com/svn/trunk/rails-projects/use_will_paginate
Rails框架技术:如何处理Rails框架的日期显示
由Gudao Luo在2007-06-25 at 20:22发表的
Rails框架技术:如何处理Rails框架的日期显示
- 说明
- 上面的图是利用这里列出的参考资料3实现的。
Rails框架插件:文件上传大全
由Gudao Luo在2007-06-21 at 20:43发表的

Rails框架插件:文件上传大全
- UploadColumn 资料比较详细
- attachment_fu Rails框架核心人员开发,该插件是acts_as_attachment的重写版本
- FlexImage
- File Column 最早的这类插件
- acts_as_attachment
- ActiveUpload
- 说明:
- 上面插图是该图所链接的文章内容结果。
- 上面插件的前面两个是比较新的。
- 一般这些插件都依赖两个图形软件: ImageMagick 及其 Ruby接口软件包RMagick 和 FreeImage 及其 Ruby接口软件包ImageScience 。而前者在Ruby语言内应用更加广泛一些。注意像文件 RMagick-1.14.1_IM-6.3.0-7-Q8.zip 已经包含了软件ImageMagick,软件ImageMagick也要安装。
- Windows安装RMagick说明
- Ubuntu安装RMagick说明
- 相关资料:
- 致谢:感谢bd7lx提供的信息。
Rails框架:页面代码实例
由Gudao Luo在2007-06-18 at 21:51发表的
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发表的
Ruby世界:Ruby语言快速参考索引大全
由Gudao Luo在2007-05-31 at 20:05发表的
Rails框架插件(200705)
由Gudao Luo在2007-04-30 at 16:26发表的
Rails框架实例代码
由Gudao Luo在2007-04-30 at 13:13发表的
- A Basic Sample Rails Application
- “Sample Rails Links
“http://blog.caboo.se/search?q=Sample+Rails - Subversion: svn://caboo.se/plugins/court3nay/empty_apps
Ruby语言Continuous框架
由Gudao Luo在2007-04-24 at 20:31发表的
Ruby语言ORM框架
由Gudao Luo在2007-04-24 at 20:18发表的
博客天地:Chad Fowler
由Gudao Luo在2007-04-22 at 15:42发表的
- 说明:
- Rails实战要看的第三本书《rails recipes》
- 作者Chad Fowler也是ruby社区最资深的大佬之一。这本书列举了100多个rails实战的各种问题的解决方案,适合在你用RoR开发项目的时候,碰到相应问题去寻找相应的最佳实践。这本书还没有被引进国内。
Rails框架插件:Shoulda
由Gudao Luo在2007-04-22 at 07:32发表的
Rails框架插件:acts_as_solr
由Gudao Luo在2007-04-21 at 23:42发表的
- acts_as_solr项目首页
- 相关文章
- 说明:
- This plugin adds full text search capabilities and many other nifty features from Apache’s Solr to any Rails model.
Rails框架技术视频:最丰富的视频教程Railscasts
由Gudao Luo在2007-04-19 at 20:23发表的
Rails框架插件:同时连接多数据库magic_multi_connections
由Gudao Luo在2007-04-18 at 08:48发表的
Rails框架插件:MOle
由Gudao Luo在2007-04-17 at 21:59发表的
Rails框架软件包:RailRoad
由Gudao Luo在2007-04-17 at 20:59发表的
博客天地:JRuby on NetBeans专家Tor Norbye
由Gudao Luo在2007-04-07 at 22:51发表的
Ruby语言和Rails框架Amazon推荐图书
由Gudao Luo在2007-04-03 at 20:08发表的
Rails框架插件:网站流量统计Sitealizer
由Gudao Luo在2007-04-02 at 22:20发表的
博客天地:Antonio Cangiano
由Gudao Luo在2007-03-31 at 01:52发表的
Rails框架插件Textile Editor Helper
由Gudao Luo在2007-03-26 at 22:08发表的

- 图片说明:这是我把该插件加到 Simplelog博客软件 上。
- 开发者说明摘要:“The Textile Editor Helper (TEH) is a text formatting toolbar that will be added to all of your text areas that utilize the TEH feature.”
Rails框架网络游戏Railthello
由Gudao Luo在2007-03-25 at 15:55发表的

- 网络游戏Railthello:http://www.railthello.com/
Rails框架的数据库平滑迁移插件Smooth Migration
由Gudao Luo在2007-03-25 at 13:12发表的

- 说明:在Rails框架中要是在我们执行迁移命令时出现错误时,该插件能够不会因为有错而停止你的命令执行。这样能够在再次执行你的迁移命令时保证能再顺利执行。要是没有它,你就会有麻烦了。
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执行等。
Ruby语言开发的软件持续集成工具CruiseControl.rb
由Gudao Luo在2007-03-15 at 20:57发表的

- CruiseControl.rb首页:http://cruisecontrolrb.thoughtworks.com/
- 说明:软件持续集成工具CruiseControl.rb是基于Rails框架开发的一个测试软件框架。在Windows上它的安装和使用方法的确十分简单,但是好像版本cruisecontrolrb-1.0.0.zip在构建项目时会出现问题。而在Ubuntu 6.10上加入所要构建的项目会有点小问题,原因是缺少软件包,但是构建该项目等一切正常。我所用的测试项目链接在 这里 。该工具有意思的是仅提供项目源出自Subversion的功能:简单而又实用。
在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/
软件框架:全新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
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.
Rails框架博客软件SimpleLog
由Gudao Luo在2007-02-12 at 09:49发表的

Rails框架博客软件 SimpleLog 是一款简洁而又清晰界面和有特色的开源博客软件。
其特色在于它和著名的照片网站 http://www.flickr.com/ 紧紧相连,你的博客既可以在SimpleLog上写也可以通过在flickr上写,图片也不用从你的网站传送到客户那里了,加快访问你的网站速度;它还和最有名的社会标记网站 http://del.icio.us 很好的结合;无论是前者还是后者,都有利于你的博客推广;它把博客标签(Tags)和目录(Categories)合为一体,没有了后者;你看搜索也好,标记也好,只有你需要时才打开,而不是事先已经开着的。
一切像Rails框架一样:简单!!!看来软件开源真的是可以商业化。
道喜技术日记网站印章
由Gudao Luo在2007-02-10 at 21:21发表的

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




















































































































