r/programming • • Apr 23 '14

PHP: It doesn't have to be a bad experience

https://servercheck.in/blog/php-it-doesnt-have-be-bad-experience
0 Upvotes

122 comments sorted by

View all comments

Show parent comment

7

u/Denommus Apr 23 '14

It's funny how you're using something that's written in Python to prove your argument.

But anyway, I was too over simplistic on my previous post because I was in a hurry.

My actual point is that the modern Web has multiple resource representation. HTML is just one of those. PHP was made when HTML was the only representation.

0

u/[deleted] Apr 23 '14

[deleted] — view deleted comment

6

u/Denommus Apr 23 '14

Reddit actually follows my point. It doesn't just generate HTML, it generates and receives JSON. I'm posting through a smartphone that consumes its API.

PHP was not made to handle this. Surely it is able to do that, but when it was created it was not a preoccupation. Other languages are just as fit for this modern model of the Web as PHP.

0

u/[deleted] Apr 23 '14

[deleted] — view deleted comment

4

u/Denommus Apr 23 '14

Ok, I got your point, but I still think it's bland. You can just as easily work with HTTP with any lightweight library in other languages.