C
C
Crash2015-03-22 17:30:24
Django
Crash, 2015-03-22 17:30:24

Does Python/Django make sense now due to the rapid development of PHP?

Recently, new PHP frameworks have appeared and old ones have been updated: Laravel, Yii, Phalcon, Aura PHP, etc. Work on the seventh version of PHP is proceeding at a rapid pace. Does it make a lot of sense now to have Puff alternatives for web development, particularly in Python/Django? These alternatives have gained popularity due to the underdevelopment of the PHP infrastructure, but now this situation is being quickly corrected.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
D
Denis Verbin, 2015-03-22
@rez0n

Is there any point in PHP now due to the rapid development of Python/Django?

F
FanatPHP, 2015-03-22
@FanatPHP

There is.

U
un1t, 2015-03-23
@un1t

There were problems not only with the infrastructure, but also with the community and the language itself. PHP is a crutch on a crutch with a lot of errors and awkward syntax.
The infrastructure seems to be getting better.
Let's check if something has changed in the language itself. I remember in 5.3 an error when defining a function inside another function.

function foo() {
  function bar() {
    echo 'bar';
  }
  bar();
}

foo();
foo();

Nothing has changed in 5.6.2:
bar<br />
<b>Fatal error</b>:  Cannot redeclare bar() (previously declared in [...][...]:3) in <b>[...][...]</b> on line <b>2</b><br />

If this cannot be done, then you must immediately issue an error, and if possible, then it should work. There is some kind of intermediate state, either it is possible (but it can be called only once), or it is impossible. This construction works even in fucking javascript.
Well, in general, PHP has adopted the approach that a documented error is considered a feature.
On the part of the developer, of course, I want to work with a more convenient and powerful tool. On the part of the customer, this is always a matter of compromises, depending on many factors.

S
Stanislav, 2015-03-22
@mzcoding

Of course have. The developer must always develop. Even though the puff gets up from its knees, learning new languages ​​\u200b\u200bwill not be superfluous)

B
beduin01, 2015-03-22
@beduin01

What makes you think that PHP is booming? In fact, one marking time for 10 years. Nothing fundamentally new, just new crutches for old problems.

K
killmeslow, 2015-03-22
@killmeslow

PHP is sitting on the stock exchange for 200 rubles per hour

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question