[quote]Ruby on Rails is a framework that makes it easier to develop, deploy, and maintain web applications.[/quote]
Rails显然是一种基于ruby的web实现框架,原生的MVC模式支持。有着很多奇特的地方:
[size=medium][color=blue]Rails Simply Feels Right 让你感到简单[/color][/size]
相比Java开发web应用而言,rails的简洁高效是显而易见的。
对MVC的支持是无形之中的,渗透到骨子里面的。基于模板应用为起点,而不是让你什么都从头开始。这一点能让你一开始就很容易进入状态。
[size=medium][color=blue]Easy to test 易于测试[/color][/size]
当你添加功能代码的时候,rails自动为你添加test stubs测试桩。
[size=medium][color=blue]继承ruby的优点[/color][/size]
ruby使我们可以写出高效,简洁,更符合自然语言的代码,有着很强的易读性。
[size=medium][color=blue]DRY and convention over configuration[/color][/size]
don’t repeat yourself(DRY)。 不要重复以及约定大于配置的理念使得rails的代码简短而易读。
[size=medium][color=blue]内置的支持ajax和restful[/color][/size]
[size=medium][color=blue]易于部署和回滚[/color][/size]
[size=medium][color=blue]拥抱敏捷[/color][/size]
几乎可以说敏捷是rails的一个构成部分。先看看敏捷宣言:
[quote]
• Individuals and interactions over processes and tools
个体和交流高于流程和工具
• Working software over comprehensive documentation
可以工作的软件胜于全面的文档
• Customer collaboration over contract negotiation
客户合作高于合同谈判
• Responding to change over following a plan
应对变化胜于遵循计划
[/quote]
这些rails都可以很好的满足和支持。你甚至不用可以的去吧rails和agile关联起来,如果你在用rails,你就在agile。
Rails显然是一种基于ruby的web实现框架,原生的MVC模式支持。有着很多奇特的地方:
[size=medium][color=blue]Rails Simply Feels Right 让你感到简单[/color][/size]
相比Java开发web应用而言,rails的简洁高效是显而易见的。
对MVC的支持是无形之中的,渗透到骨子里面的。基于模板应用为起点,而不是让你什么都从头开始。这一点能让你一开始就很容易进入状态。
[size=medium][color=blue]Easy to test 易于测试[/color][/size]
当你添加功能代码的时候,rails自动为你添加test stubs测试桩。
[size=medium][color=blue]继承ruby的优点[/color][/size]
ruby使我们可以写出高效,简洁,更符合自然语言的代码,有着很强的易读性。
[size=medium][color=blue]DRY and convention over configuration[/color][/size]
don’t repeat yourself(DRY)。 不要重复以及约定大于配置的理念使得rails的代码简短而易读。
[size=medium][color=blue]内置的支持ajax和restful[/color][/size]
[size=medium][color=blue]易于部署和回滚[/color][/size]
[size=medium][color=blue]拥抱敏捷[/color][/size]
几乎可以说敏捷是rails的一个构成部分。先看看敏捷宣言:
[quote]
• Individuals and interactions over processes and tools
个体和交流高于流程和工具
• Working software over comprehensive documentation
可以工作的软件胜于全面的文档
• Customer collaboration over contract negotiation
客户合作高于合同谈判
• Responding to change over following a plan
应对变化胜于遵循计划
[/quote]
这些rails都可以很好的满足和支持。你甚至不用可以的去吧rails和agile关联起来,如果你在用rails,你就在agile。