2 ms·
> Better yet, avoid the php ecosystem completely and go for a more mature one, even the python and ruby frameworks have better long term prospects than most php
by noir_lord 11y ago
> Better yet, avoid the php ecosystem completely and go for a more mature one, even the python and ruby frameworks have better long term prospects than most php based stuff.
Agree with everything you said except this, PHP has recently undergone an renaissance in development, 7 is a huge step forwards (proper AST, the start of an optional type syste, 100% speedup, half the memory usage - I've actually seen these changes on stuff I'm running), composer and the PSR's also helped a great deal.
I expect the split on python/ruby/php to remain pretty constant, Python stuff remains excellent but they aren't doing anything revolutionary in terms of the Web story, Ruby with RoR has made some excellent changes in the new release but in terms of impact I don't think they exceed anything available on PHP.
I'll happily agree that PHP is a horrible language but it's also incredibly productive to program in if you avoid the warty parts (getting easier to do) and approach it like a Python (which I also am) programmer would in terms of writing good maintainable code.
The comment on developers is accurate, there are a lot of PHP "programmers" who fall short of the average in the Python or Ruby community however the total pool of good PHP developers is likely (I don't have metrics so I'm guessing on that one) larger than the total pool of good Python (web anyway, python is everywhere) and Ruby web devs just on community size.
I don't regard having to winnow the chaff a big problem, I'd sooner have more good applicants (in absolute terms) mixed in with a lot of bad applicants than having way less good applicants in a different language.
- jacquesm 11y agoAgreed with everything you wrote here, I should have been more precise.
- noir_lord 11y agoIt's the internet, it largely doesn't matter how precise you are someone will find a way to correct you somehow ;). That said your advice on using Symfony2 or something else over Drupal is extremely valid and I can say that as I used Drupal for a couple of years and ran into all the usual issues (worked fine for non-logged in, fell over with a few hundred logged in users), as a nice way to generate largely static content for end users it's just about acceptable but people seem determined to not use it for that, whether you can blame Drupal for that or the end users is an interesting question I guess.
- mercer 11y agoOh good lord... I thought my Drupal sites were fine until for one of them it required a small amount of logged-in users. Performance was terrible so I enabled some dev module to see what was going on. I was faced with a ridiculous amount of queries, each of full of joins. I now don't use Drupal anymore, although I might occasionally whip it out for a site that only requires a few admins to log in...
- ajsalminen 11y agoOne of the major improvements in Drupal 8 is caching that works for logged in users.
- mercer 11y agoThat's good to know. Another reason to kick Drupal 8's tires when I have some time!