D
D
Dmitry Shishkin2015-02-17 01:29:19
symfony
Dmitry Shishkin, 2015-02-17 01:29:19

PHP+Symfony or Ruby+RoR?

All good!
You need to learn the first language for the backend + framework, but there are still some doubts about which one to choose.
Therefore, I launch an easy blitz survey without holivars - PHP + Symfony or Ruby + RoR?
All the best!

Answer the question

In order to leave comments, you need to log in

9 answer(s)
V
Viktor Vsk, 2015-02-17
@viktorvsk

For learning, Ruby and Rail, in my opinion, has an undeniable plus.
Here is what is called the entry threshold (I, frankly, do not really understand this), it seems to me that it plays an evil thing. For example, on Ruby and Rails, you will not be able to make a business card site in 2 hours, give it to the customer, get money and relax, considering yourself a cool developer.
In order to bring the matter to an end, we will need to get acquainted with a lot of related technologies on ruby ​​and rails.
For example, to start working with it in general - you need * nix. You can, of course, continue to use Windows, but use virtual machines, but this is also a step forward in front of PHP with its Denver, etc.
Further, in order to install the interpreter, in 95% of cases you will install the language version manager (rvm or rbenv), which is already much better than the global installation.
To start your first project, you will need a package manager - which is better than downloading zip archives and extracting them to the right directory.
To download some packages, you will need a git, which in itself is very cool.
When you complete some training tasks, you will be given the choice to get acquainted with at least three bases at once, and not limit yourself to one muscle.
So, now you have started creating a business card site, already having a good amount of knowledge to start with.
Here you have done it using the rail architecture and at least some understanding of code splitting, routing, helpers, etc.
Further, it is necessary to somehow show the result to the customer? The very first option, most likely, you will get acquainted with Heroku - PaaS service is also quite useful.
But soon you will realize that he does not suit you very much. And try to place a business card site on the hosting.
Here you will have to get acquainted with the VPS, basic Linux setup, Unix sockets, the concepts of how various web servers work.
But now you have configured your server. You need to put your code in there. In ruby, it will be very difficult for you to go the way of "using FTP plugins in the code editor" - after all, you will have to get acquainted with the techniques of normal deployment.
It looks complicated at first, but you will immediately get acquainted with the whole modern stack of technologies that make life very easy.
Of course, this whole process can be carried out in any language - somewhere a little easier, somewhere a little better. But if in PHP you can do without it and for a long time not even imagine that you can deploy the code safely, with automatic rollback, if something went wrong, and even with zero downtime, then in Ruby you will have to do it right away.

W
Winner_DE, 2015-02-17
@Winner_DE

Ruby RoR+

M
Marat Amerov, 2015-02-17
@amerov

Symfony is more complicated.
I recommend starting with Rails, as there are many training materials for beginners.
Symfony is not for beginners.

O
OnYourLips, 2015-02-17
@OnYourLips

I am a PHP developer myself, and I know Rails to a good level.
I advise you to start with Rails - it is much simpler than the PHP ecosystem.
PHP has a deceptively low entry threshold, but reaching a certain level will eventually require more effort: the platform is highly fragmented and therefore takes much longer to master.

M
Maxim, 2015-02-17
@1kachan

I would choose RoR because there are rvm, gems and more concise code

I
ID25, 2015-02-17
@ID25

Right now, everyone will advise and praise what he writes himself, or his team. And from there to bring what pop is better than php. I advise you to try both, whichever goes better and you like it, then take it.

V
Vladimir Borutkin, 2015-02-17
@Atanvar

I advise you not to listen to the advice "try both", do not blow php, learn pop, cut a good language, and rails is an excellent framework with a huge bunch of gems, if not for the love of python, I would also take up pop.

S
Stepan Yudin, 2015-02-19
@stepan_sib

More than 10 years with PHP, but this year I decided to master Ruby and RoR. This is a fairytale.
I subscribe to everything that Viktor Vyskrebentsev said Viktor Vyskrebentsev

S
serjZzz, 2015-05-18
@serjZzz

If you're self-taught and want skills and strict MVC - Ruby/RoR only! Otherwise, don’t care, as long as the programmer has a good base and desire

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question