Ruby on Rails is an application framework around ruby.
It's like saying is "Asp.Net MVC" the same as learning C#?
Ruby is the language powering the Framework, but many have taken the good points and implemented it into other frameworks now.
Ruby is an interesting language. IronRuby compiles Ruby down to MSIL, just like C#, VB.Net etc. So it's a good start for implementing Ruby, as it maps Ruby to be able to be used in the CLR.
but if you want to learn the language itself, one good (and fun) way to get the basics is here: http://tryruby.hobix.com/
Pretty much anything that where the performance of a dynamic language is acceptable. It's general purpose (like Java, Python, C++, etc.) so you could use it for most any kind of application.
Is learning ROR the same as learning Ruby?
No. Ruby on Rails is a set of extensions to make Ruby good at web application development. To answer another question you asked, this is probably what Ruby is most famous for. It's use in Ruby on Rails and the ease of development it has offered to web developers.
How is a DSL useful?
It's useful because it is "domain specific". That's what the DS in DSL stands for. You're making a language with constructs which are appropriate for the particular problem domain you're working in. A DSL for arcade game development would probably have parts of the language to make it easy to animate multiple things and start them in motion and react to collisions between them. Whereas a DSL for accounting might have things for adding entire sets of numbers and comparing them to other sets.
发布评论
评论(2)
Ruby on Rails 是一个围绕 Ruby 的应用程序框架。
这就好像说“Asp.Net MVC”和学习C#一样吗?
Ruby 是为该框架提供支持的语言,但许多人现在已经吸取了其中的优点并将其实现到其他框架中。
Ruby 是一门有趣的语言。 IronRuby 将 Ruby 编译为 MSIL,就像 C#、VB.Net 等一样。因此,这是实现 Ruby 的良好开端,因为它将 Ruby 映射为能够在 CLR 中使用。
但如果您想学习该语言本身,这里有一种获取基础知识的好(且有趣)方法:
http://tryruby.hobix.com/
Wiki 了解有关 Ruby 的更多信息
有史以来最有趣、最具创意的语言介绍:
Why 的 Ruby 指南
至于 IronRuby。 以下是更多相关信息:
使用 Ruby:直接使用 IronRuby?
Ruby on Rails is an application framework around ruby.
It's like saying is "Asp.Net MVC" the same as learning C#?
Ruby is the language powering the Framework, but many have taken the good points and implemented it into other frameworks now.
Ruby is an interesting language. IronRuby compiles Ruby down to MSIL, just like C#, VB.Net etc. So it's a good start for implementing Ruby, as it maps Ruby to be able to be used in the CLR.
but if you want to learn the language itself, one good (and fun) way to get the basics is here:
http://tryruby.hobix.com/
Wiki to more about Ruby
Funniest and most creative intro to a language ever:
Why's (Poignant) Guide to Ruby
As for IronRuby. Here's more info on that:
Going Ruby: Straight to IronRuby?
什么样的问题?
几乎所有动态语言的性能都可以接受的问题。 它是通用的(如 Java、Python、C++ 等),因此您可以将它用于大多数任何类型的应用程序。
学习 ROR 和学习 Ruby 一样吗?
不。Ruby on Rails 是一组使 Ruby 擅长 Web 应用程序开发的扩展。 回答你问的另一个问题,这可能是 Ruby 最著名的地方。 它在 Ruby on Rails 中的使用以及它为 Web 开发人员提供的开发便利性。
DSL 有什么用处?
它很有用,因为它是“特定于领域的”。 这就是 DSL 中的 DS 的含义。 您正在创建一种具有适合您正在处理的特定问题领域的结构的语言。用于街机游戏开发的 DSL 可能会包含该语言的一部分,以便轻松地为多个事物设置动画并启动它们并做出反应到他们之间的碰撞。 而用于会计的 DSL 可能具有用于添加整组数字并将它们与其他组进行比较的功能。
很棒的学习资源?
我偏爱视频学习,所以我的选择是 Railscasts.com 和 PeepCode.com。
What kinds of problems?
Pretty much anything that where the performance of a dynamic language is acceptable. It's general purpose (like Java, Python, C++, etc.) so you could use it for most any kind of application.
Is learning ROR the same as learning Ruby?
No. Ruby on Rails is a set of extensions to make Ruby good at web application development. To answer another question you asked, this is probably what Ruby is most famous for. It's use in Ruby on Rails and the ease of development it has offered to web developers.
How is a DSL useful?
It's useful because it is "domain specific". That's what the DS in DSL stands for. You're making a language with constructs which are appropriate for the particular problem domain you're working in. A DSL for arcade game development would probably have parts of the language to make it easy to animate multiple things and start them in motion and react to collisions between them. Whereas a DSL for accounting might have things for adding entire sets of numbers and comparing them to other sets.
Great learning resources?
I'm partial to video learning so my choices would be Railscasts.com and PeepCode.com.