3 ms·
> Half of the web is powered by PHP, including tons of websites with huge traffic and usage. What powers the web: web servers or web sites/applications? If it'
by yawboakye 12y ago
> Half of the web is powered by PHP, including tons of websites with huge traffic and usage.
What powers the web: web servers or web sites/applications? If it's web servers then your claim that half of the web is powered by PHP is false because I'm—and I'm going to be honest here—yet to see/use a web server written in PHP.
- cstrahan 12y agoI don't think that's a fair interpretation of what was meant by that quote. I think the point was that PHP has been used to great effect, regardless of what shortcoming it may have.
- coldtea 12y agoObviously web sites/applications. Web servers would just server static sets of pages without some means to run dynamic code.
- yawboakye 12y ago> Web servers would just server static sets of pages without some means to run dynamic code. Web applications respond to requests. That's all they do. Web servers parse those requests and deliver responses appropriately. You're reducing the role of all intermediaries (DNS servers, caches, etc) and unfairly praising the web application. The web server serves both non-changing static files and the generated documents.