But you asked a good question why rails? I'm going to skip 2020 because a few weeks from now it will be 2021. Again it really does not matter rails is already 15-16 years old and the truth is it will never be outdated the ideas around is what have formed the web.
A simple anchor tag will do a full reload page request, I might be old fashion but this is how web was intended to be.
The MVC pattern which I think is one of the easiest way of designing apps on top of that the 7-resourceful-actions. Registrating a new user would looks something like this
# users_controller.rbdefcreate@user=User.new(params[:user])if@user.savesession[:user_id]=@user.idredirect_toroot_url,notice: "Thank you for signing up!"elserender"new"endend
Those lines above is understandable even for someone that does not know anything about web development.
Rails is a web framework, as javascript developer that has been on three different jobs. It feels like I have to relearn each time how to simple things depending on choices that developers have done and so forth. One example being adding a simple validation to fields. If you ask a rails developer they know where to add that validation by heart
Did you know that dev.to/ is rails app?
But you asked a good question why rails? I'm going to skip 2020 because a few weeks from now it will be 2021. Again it really does not matter rails is already 15-16 years old and the truth is it will never be outdated the ideas around is what have formed the web.
An example
A simple anchor tag will do a full reload page request, I might be old fashion but this is how web was intended to be.
The MVC pattern which I think is one of the easiest way of designing apps on top of that the 7-resourceful-actions. Registrating a new user would looks something like this
Those lines above is understandable even for someone that does not know anything about web development.
Rails is a web framework, as javascript developer that has been on three different jobs. It feels like I have to relearn each time how to simple things depending on choices that developers have done and so forth. One example being adding a simple validation to fields. If you ask a rails developer they know where to add that validation by heart
Now you can simply display that error
Thank you! We couldn't have put it better.