发布于 2014-08-21 00:23:21 | 203 次阅读 | 评论: 0 | 来源: 网友投递
Ruby on Rails 开源网络应用框架
Ruby on Rails 是一个用于开发数据库驱动的网络应用程序的完整框架。Rails基于MVC(模型- 视图- 控制器)设计模式。从视图中的Ajax应用,到控制器中的访问请求和反馈,到封装数据库的模型,Rails 为你提供一个纯Ruby的开发环境。发布网站时,你只需要一个数据库和一个网络服务器即可。
Rails 4.2.0 beta1 发布,此版本最值得注意的是添加了全新的 Active Job 框架及其集成。Active Job 是适配层的一些队列系统: Resque, Delayed Job, Sidekiq, 等等。同时还添加了一个改进项目:Adequate Record。Rails 4.2 beta1 还提供了一个 web 工作台,这是一个 IRB 工作台,可以在浏览器使用;在开发模式下,你可以前往 /console 开始工作。
Ruby on Rails 是一个用于开发数据库驱动的网络应用程序的完整框架。Rails基于MVC(模型- 视图- 控制器)设计模式。从视图中的Ajax应用,到控制器中的访问请求和反馈,到封装数据库的模型,Rails 为你提供一个纯Ruby的开发环境。发布网站时,你只需要一个数据库和一个网络服务器即可。
其他更新:
Template digests are now automatically included when calculating etags for caching. So caches are bust when the template changes.
respond_with
has moved out and into its own proper home with the responders gem.
Support for real foreign keys! add_foreign_key
/remove_foreign_key
are now available in migrations.
A ton of bug fixes and minor improvements to Active Record.
Added config.x.whatever.you_want = true
for custom configuration of your app in config/environments/*
, config/application.rb
, and initializers.
Added Rails::Application.config_for(:some_yaml)
to load YAML configurations store in config/
easily.
更多内容请看发行说明。
Rails 4.2 正式版将会包括许多 bug 修复,稳定性改进和常规的安全更新。
Rails 5.0 计划支持 Ruby 2.2,当前计划在 2015 年的春天或者夏天发布。