News for hackers. Stuff that matters.
Re:Moving from Go to PHP Again by realharo on Friday February 08, 2019 @06:46AM (#19113350)
>Each PHP file is an endpoint. As opposed to having routers in code or client side SPA routing.

The vast majority of PHP frameworks, even micro-frameworks, don't work that way. They route all traffic (except static assets) to an `index.php`, which then forwards it to a regular router.

Re:Moving from Go to PHP Again by kalmi10 on Friday February 08, 2019 @06:59AM (#19113415)
.. so you can live swap routes and endpoints even with dynamic routing (without performing any hot-reload dance in your own code), which actually sounds like a neat feature at first.