Ruby 和 Ruby on Rails 有什么区别? [英] What is the difference between Ruby and Ruby on Rails?

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

问题描述

过去几天我一直在学习 Ruby,我注意到有 Ruby on Rails.

I have been studying Ruby for the past few days and I have noticed there is Ruby on Rails.

两者有什么区别?他们一起工作吗?语法一样吗?

What is the difference between the two? Do they work together? Is the syntax the same?

推荐答案

Ruby 是一种编程语言.Ruby on Rails(RoR")是一个用 Ruby 实现的 Web 应用程序框架.

Ruby is a programming language. Ruby on Rails ("RoR") is a web-application framework that is implemented in Ruby.

所以他们不仅一起工作",而且 RoR 取决于 Ruby.

So they not only "work together" but RoR depends on Ruby.

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

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