DEV Community

Discussion on: Why bashing PHP makes you look stupid

Collapse
 
ivan_jrmc profile image
Ivan Jeremic • Edited

I still consider php a template framework and I mean this positive, looking at php you see a lot of similarities with React which I love.

Collapse
 
sroehrl profile image
neoan

Uff, I don't know. One one hand, I see what you mean by similarities to React, on the other hand, clean PHP usually leverages an MVC which React implementations usually don't use. Lastly, given the fact that modern PHP is often a pure API, I cannot agree with the template statement at all.

Collapse
 
ivan_jrmc profile image
Ivan Jeremic • Edited

Well even the creator agrees with the template statement, because it was created as template engine and not a programming language, of course this changed now but you still see the templating features React took as inspiration.

Thread Thread
 
sroehrl profile image
neoan

Yes, I guess phrased like that I come to the same conclusion

Collapse
 
abhinav1217 profile image
Abhinav Kulshreshtha • Edited

Actually in past few years, It is almost as good a programming language as Java or c#. It was a template language in php 5 days, but now it actually feels like a proper programming language.

I contracted for a company last year which had a barebone custom framework actively maintained ( they upgraded 7.3 to 7.4 while we were working. ). Their CTO was experienced Java Architect, so our coding style, Module organization, OOP implementation etc were all inspired by Java. It was surprising even for me. He taught us all a lot about structuring code.

This year, I am working with PHP 8.0 API, Kotlin and VueJS. So far I am loving the stack. It is much better than my spring-mvc days.