Sessions Details

International PHP Conference |
October 23 - 27, 2017 in Munich

2017 SE

en

30 May 2017
12:00 - 12:45
Saal Maritim B/C
Only till July 13 ✓ Workshop Day for free ✓ Group Discount ✓ Save up to 720€ Register now
This talk originates from the archive. To the CURRENT program

I saw the Future, and its Web Servers were written in PHP

Sessions
30 May 2017
12:00 - 12:45
Saal Maritim B/C

PHP’s stateless execution model is still based on the mechanics of CGI: request in, response out. This simplicity also means overhead on each request from frameworks starting up; applications also cannot interact with the request body during transmission, e.g. for streaming the body or handling upgrades to Web Sockets. That’s why all other web languages now offer production ready web servers implemented purely in each language: Jetty, Puma, Gunicorn and friends use a modern process model and standardized middleware protocols. PHP 7 finally brought some necessary engine changes like catchable fatal errors, so there now is no longer a need for Apache or nginx: event based HTTP components from projects like ReactPHP or Icicle, brought together by a server like Aerys or PHP-PM, start a framework once, and handle requests in a loop. The result is a massive gain in performance especially with frameworks like Symfony, and the potential for new features that previously were not possible with an external web server in front of an application. Let’s explore the current state of affairs, the solutions other programming languages found, and the bright new future that’s ahead for PHP, which, as always, will require sacrifices to be made.

Session Tracks

#PHP Development

Stay tuned!

Behind the Tracks of IPC ’17

PHP Development
Best Practices & Application

Web Development
Web Development & more

Web Architecture
Concepts & Environments

Testing & Quality
All about Testing & Quality

Agile & DevOps
Agile & DevOps methodologies