promotion image of download ymail app
Promoted

What exactly is a programming framework. Specifically Ruby on Rails?

I understand that Ruby is a programming language.

But they say that Ruby on Rails is a framework for that language.What exactly does a framework do that the regular programming language would not do?

1 Answer

Relevance
  • Chris
    Lv 7
    2 months ago

    RoR is a framework for *websites* or *web apps*, not a "programming framework". No idea where you got that term from.

    A web framework is a bunch of existing code that provides default structures for creating complex, database driven websites. There is a whole bunch of those, some written in Python (like Django), some in Node.JS (express), some in C# or Java.

    And there's RoR, which was written in Ruby.

    So if you

    a) already know Ruby and like it

    and

    b) want to create the backend for a website or mobile app

    and

    c) have a server that supports RoR

    go for it. Otherwise, learning it is pointless.

    • Commenter avatarLogin to reply the answers
Still have questions? Get your answers by asking now.