Ruby 与 Ruby On Rails [英] Ruby vs. Ruby On Rails

查看:58
本文介绍了Ruby 与 Ruby On Rails的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Ruby on Rails 和 Ruby 有什么区别?我问过四个人,但没有一个人能给出明确的答案.Rails 是 Ruby 的各种库,是 Django 到 Python 或 Cocoa 到 Objective C,还是一种具有不同功能的完全不同的语言?在 Rails 上可以做什么而不能用 ruby​​ 来做?

What is the difference between Ruby on Rails and Ruby? I have asked four people but none can come up with a definitive answer. Is Rails a library of sorts for Ruby, a la Django to Python or Cocoa to Objective C, or is it a totally different language with different capabilities? What can one do on Rails that cannot be done just with ruby?

推荐答案

Rails 是一个使用 Ruby 构建 Web 应用程序的框架.Ruby 是一种通用编程语言.是的,Rails 类似于 Django.

Rails is a framework for building web applications with Ruby. Ruby is a general purpose programming language. Yes, Rails is analogous to Django.

这篇关于Ruby 与 Ruby On Rails的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆