Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Could Ruby on Rails have been created in another language like PHP, or are there some functions in the Ruby language that make the difference?

share|improve this question

closed as primarily opinion-based by MichaelT, Snowman, Ixrec Nov 11 '15 at 0:55

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise.If this question can be reworded to fit the rules in the help center, please edit the question.

There's a similar question regarding Node.js: What is So Unique About Node.js?. – Joachim Sauer Jan 4 '13 at 9:33
There is a "clone" of it for PHP, it's called CakePHP – David Peterman Jan 4 '13 at 14:50
And in Python, you could argue that Django follows the same development philosophy. – Martijn Pieters Jan 19 '13 at 0:13
See… for Python-focused discussion of this question. – pcurry Jun 20 '13 at 11:09
There is also Groovy on Rails known as Grails out there. – JB King Nov 11 '15 at 0:11

Rails makes heavy use of Ruby's ability to dynamically add classes and methods—there are implementations of similar frameworks in other languages, see Grails as an example. Other languages that provide a dynamic class runtime could be used, such as Smalltalk or Objective-C. In fact, Rails has a lot of similarities to the earlier, Objective-C (and Java) based WebObjects web application framework.

share|improve this answer
It hasn't been called "Groovy on Grails" for years. – Michael Borgwardt Jan 4 '13 at 9:28
Strictly speaking it was never called "Groovy on Grails". It was "Groovy on Rails" first and then "Grails" ;-) – Joachim Sauer Jan 4 '13 at 9:32

There aren't many things that one could do in Ruby more than in other languages - certainly Python is pretty similar in general and since Rails was released many other languages have implemented a railsalike framework from direct ports to tools like ASP.Net MVC.

What was different about Rails when it came out was the conceptual jump that lead to a framework that did so much of the basic legwork for you but left everything easily changed and kept out of your way once it was working. That kind of thinking is something that you might expect to come from the Ruby community because Ruby itself is designed to be very developer-friendly. It was that philosophy extended to web development that was the foundation for the Rails platform.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.