+ 11
What is the diffrenece between Ruby and Ruby on Rails?
4 Antworten
+ 17
Ruby is a multipurpose and general programming language.. Ruby on rails is a web framework designed using Ruby that allows you to make web applications with Ruby code easier and faster as the more common tasks that you will need for making a web application are already coded as a function, method or a class inside the framework in Ruby, so you can jump directly to write the web application functionality.
You can see it this way... Ruby on rails is for Ruby as Django is for Python.
+ 4
ruby is programming language
ruby on rails is web framework
+ 1
Rails is the interface, and Ruby is the programming logic. it's more or less like JavaScript and Html
0
A lot of these answers are good. I asked the same question a couple of years ago and I figured out a way to explain it.
Basically, Ruby is an open source object-oriented programming language meaning there’s a model, a view, and a controller. Ruby has a bunch of prebuilt plug-ins that are known as RubyGems and Rails is one of them. Experienced Ruby programmers highly suggest extensive knowledge of Ruby before working with the Rails, but I dove right in with little problems. There were some which is why I’m now going for my Ruby certificate.
Rails is an advance web framework for applications that uses the Ruby syntax to interact with various files of multiple languages. Rails has an algorithm that allows you generate applications with the necessary folders, sub-folders, and files through your system’s command line. Each folder that is generated has a specific purpose, but you can add files to each folder through the class hierarchy of Ruby.