技术宅改变世界

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2010年8月10日

摘要: 例子<script LANGUAGE="javascript">var u="http://msdn.microsoft.com:80/scripting/default.htm";var s=/(\w+):\/\/([^/:]+)(:\d*)?([^# ]*)/;var a=s.exec(u);for(i=1;i<a.length;i++){alert(a[i]);}</... 阅读全文
posted @ 2010-08-10 16:23 treeman 阅读(163) 评论(0) 推荐(0) 编辑

摘要: http://www.redmine.org/wiki/redmine/Pluginshttp://www.redmine.org/wiki/redmine/Plugin_InternalsOverriding the Redmine CoreYou can override views but not controllers or models in Redmine. Here's how Re... 阅读全文
posted @ 2010-08-10 11:32 treeman 阅读(1519) 评论(0) 推荐(0) 编辑

摘要: 转自:http://www.blogjava.net/cap/articles/rails_controller.htmlactive controllermodel指令 提前load model对象 model :Product基本对应关系http://xxx.com/admin/hello/list 对应为app/controllers/admin/hello_controller.rb中的l... 阅读全文
posted @ 2010-08-10 10:31 treeman 阅读(797) 评论(0) 推荐(0) 编辑

摘要: 转自:http://hi.baidu.com/waytofall/blog/item/dad928f9d042b65f242df222.htmlRuby On Rails 中MVC 架构浅谈 MVC 最早是由Trygve Reenskaug(似乎是一位挪威人,奥斯陆大学教授,自称是一位自学成才的职业软件工具开发者)提出的设计模式。它起初被应用于用户界面的开发,而广泛应用于web applicat... 阅读全文
posted @ 2010-08-10 10:27 treeman 阅读(959) 评论(0) 推荐(0) 编辑