Rails系列教程(1):Introduction

上一篇 / 下一篇  2008-02-02 15:39:52 / 个人分类:RoR

1.Rails is a MVC architecture

  Rails在你身成 web app 的时候,已经帮你构造好了 MVC 骨架(skeleton)

 

2.Rails的2条准则:

  1)DRY---don't repeat youself (尽力不要写重复的代码)

  2)convention over configuration (习惯优于配置)

 

3.Rails包含很多有价值的东西:

  1)引入AJAX等外部支持

  2)提供完整的unit testing framework

  3)完全分离的开发,测试和发布

 

4.Rails更加接近于问题域而不是计算机

 

Dave喜欢Rails的10条理由:

1. It brings agility to web development.

2. I can create web pages with neat effects, just like the cool kids do.

3. It lets me focus on creating the application, not feeding the frame-work.

4. My applications stay maintainable as they grow.

5. I get to say “Yes” to clients more often.

6. Testing is built-in (and easy), so it gets used.

7. Instant feedback: edit the code, hit Refresh, and the change is in my browser.

8. Metaprogramming means I can program at a really high level.

9. Code generators let me get started quickly.

10. No XML!


TAG: RoR

 

评分:0

我来说两句

我的栏目

日历

« 2024-05-18  
   1234
567891011
12131415161718
19202122232425
262728293031 

数据统计

  • 访问量: 23082
  • 日志数: 47
  • 建立时间: 2008-01-29
  • 更新时间: 2008-02-02

RSS订阅

Open Toolbar