All my web applications, so far, I have developed in PHP. I understood that PHP is a language, to put it mildly, “not so hot,” but I liked it because of its simplicity, popularity, and, most importantly, its support by any hosting.

With new skills come and new features, therefore, in addition to PHP you need to know something else. I once wanted to start learning the Django Python framework once, but I only stopped at learning the language itself. I know the language is not bad, but if it were not for the existence of the equally popular Ruby on Rails web framework, this issue would not exist, because there would be no uncertainty ...

So, what are your opinions on this? RoR or Django? What is better than the other? Are there any clear benefits?

Closed due to the fact that it is necessary to reformulate the question so that it was possible to give an objectively correct answer by the participants of D-side , Kromster , Sergey Gornostaev , andreymal , cheops 3 Apr '17 at 8:15 .

The question gives rise to endless debates and discussions based not on knowledge, but on opinions. To get an answer, rephrase your question so that it can be given an unambiguously correct answer, or delete the question altogether. If the question can be reformulated according to the rules set out in the certificate , edit it .

    3 answers 3

    Every sandpiper praises its own swamp. Problems and krutostenyushki enough on both sides of the barricades. When I started, I proceeded from the clarity of the language and chose ruby.

    For me personally, it seemed clearer, and I spent less time reading the source code and understanding what was going on there.

    But this does not mean that I can not write a quick sort on python.

      In my opinion, now there are more orders for RoR on different freelancers sites than on Django.

      Python in conjunction with Django is often used for non-standard projects with non-standard tasks, where you need to use the run-in machines of various Python libraries (Pandas for example). Although no one bothers you also write business cards, shops, blogs on it ...

      PS: I use Django myself and do not complain.

        I think that there are not many who have the same level on RoR and Django to answer you impartially. In Ruby, there are conventions that completely dismiss the question of "how best to do", in Python, there is Zen, and a bunch of third-party libraries that are not related to the Web. As @Hunting noted, the same Pandas, NumPy, that in the light of the DeepLearning trend, gives, I believe, a certain potential benefit to Django. For example, there is such and such , but we must understand that it is so simple in DL without much preparation there is nothing to do. But if you want to stir up a startup with your friends in this direction, and show the data in the web, then Django, IMHO, will be more relevant.

        In general, the documentation of both of them is memorized in a few weeks. If you have enough experience in PHP, it will not be a problem to understand both frameworks. Moreover, you are not burdened with previous experience with one of them.

        As for ecosystems, then, I think, everything is more or less equivalent.