Tell me how Ruby on Rails works.
Ruby is the programming language. Rails is the framework.
I know that much. But almost no one uses Rails as a framework with any language but Ruby.
Ruby is used for web apps because it combines the utilities in the application development.
Node.JS is easier to use for app development than some other languages because you don’t have to do utility development. The utility functions are already in the node package manager.
And Ruby has problems with developers who think the function will be fast because it is written in the language, not thinking about how transaction handling and code design impacts performance.
Bad coding practices can ruin any good idea, in any language. Why is Ruby on Rails the darling of Silicon Valley?
The combination of a minimalist programming language and a framework tailored to it means a developer can slap together an app much faster than average.
Ruby is famed for its productivity.
Ruby is an object oriented language. Rails uses a lot of features of the Ruby language to run complex functions.
I know only functions like mixins run on Ruby.
But Ruby’s Gems are plug and play code modules just like Java code modules.
The hard part in some regards is having to learn both Ruby and Rails together, but they don’t explain the why very well.
In some regards, it is easier because you learn the language and framework together instead of a language and then a framework.
I can find out how PHP frameworks are supposed to work. I don’t see much on that except for use Rails as the framework for Ruby.
I do agree that Ruby on Rails is almost a black box, where they don’t explain how these weird functions work together. If you are already coding in Ruby, you could use Active Record in rails to map the object relations.
That’s about the only direction I’ll find with this short of being directed to buy a couple of programming books.