道喜技术日记 .^. 天天红玉世界

Rails Ruby MacOSX 。。。创新来自于刻苦的实践和勤奋的思考... www.hhtong.com


天天红玉世界:衷心祝愿大家新年愉快!

Gudao Luo2010-02-14 at 00:01发表的

2010-02-14-masonry
  • jQuery页面排版插件Masonry
    • 页面排版Masonry工具是一款非常受人欢迎的Javascript jQuery库插件。

Rails实例世界(No 1):可视化路由工具vasco

Gudao Luo2008-11-16 at 06:49发表的

可视化路由工具vasco

  • 安装前提条件:
    • ruby version 1.8.6
    • gem version 1.3.1
    • rails version 2.1.2
    • git version 1.6.0.1
使用可视化理由工具vasco基本方法
rails demo_vasco && cd demo_vasco
 
ruby script/plugin install git://github.com/relevance/vasco.git
或者
cd vendor/plugins/ && git clone git://github.com/relevance/vasco.git && cd ../..
 
ruby script/generate scaffold post title:string body:text published:boolean
 
rake db:migrate
 
rake vasco:explore
 
ruby script/server
 
http://localhost:3000/vasco
  • 说明
    • 在Mac OS X上使用上面所说的方法一切正常
    • 在Debian Sarge 3.1 Server上使用上面所说的方法,在使用命令“rake vasco:explore”时,就会出现问题。
    • 在使用Mongrel服务器可以正常访问
    • 在使用Thin服务器可以访问vasco时,会出现下面错误:
      No route matches ”/vasco” with {:method=>:get}

Rails框架应用软件:Rails on iPhone应用软件时代是否来到?

Gudao Luo2007-10-02 at 20:49发表的

  • 说明
    • 随着iPhone手机市场的发展,以这种或者类似即将出现的手机为基础的软件市场正在形成。开发在iPhone上使用GMail的iPhone软件接口已经出现iGMail。
  • iGmail – Gmail interface for Apple iPhone
    • http://www.naan.net/trac/wiki/igmail
  • iPhone开发工具Aptana IDE: iPhone Development Plugin
    • http://www.aptana.com/iphone/
  • 参考资料:
    • http://www.tuaw.com/2007/10/01/igmail-gmail-iphonified/
    • http://jroller.com/dscataglini/entry/5_minute_format_iphone_dirty
    • http://www.slashdotdash.net/articles/2007/12/04/iphone-on-rails-creating-an-iphone-optimised-version-of-your-rails-site-using-iui-and-rails-2

Rails框架技术讲座:分页技术插件will_paginate

Gudao Luo2007-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 Luo2007-06-05 at 21:06发表的

Rails框架插件:acts_as_solr

Gudao Luo2007-04-21 at 23:42发表的

Rails框架插件:同时连接多数据库magic_multi_connections

Gudao Luo2007-04-18 at 08:48发表的

Rails框架插件:MOle

Gudao Luo2007-04-17 at 21:59发表的

  • The MOle: Spying inside your Rails applications

Rails框架软件包:RailRoad

Gudao Luo2007-04-17 at 20:59发表的

  • RailRoad is a diagram generator for Ruby on Rails applications.

Rails框架插件:网站流量统计Sitealizer

Gudao Luo2007-04-02 at 22:20发表的

  • 插件首页: “http://sitealizer.rubyforge.org/”http://sitealizer.rubyforge.org/

Rails框架插件Textile Editor Helper

Gudao Luo2007-03-26 at 22:08发表的

  • 开发者说明摘要:“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.”

操纵网络页面和自动浏览页面工具Chickenfoot

Gudao Luo2007-02-20 at 22:57发表的

  • 说明:Firefox插件Chickenfoot是一个重要的软件开发工具,它定义了一些常用命令,让我们可以简单操纵网络页面,避免了写“低层面”的JavaScript,但是你要了解它的API。另外给个提示,该插件有5MB左右。