摘要:
例子<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]);}</... 阅读全文
摘要:
例子<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]);}</... 阅读全文
摘要:
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... 阅读全文
摘要:
转自: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... 阅读全文
摘要:
转自:http://hi.baidu.com/waytofall/blog/item/dad928f9d042b65f242df222.htmlRuby On Rails 中MVC 架构浅谈 MVC 最早是由Trygve Reenskaug(似乎是一位挪威人,奥斯陆大学教授,自称是一位自学成才的职业软件工具开发者)提出的设计模式。它起初被应用于用户界面的开发,而广泛应用于web applicat... 阅读全文
|