←back to thread

133 points avan1 | 1 comments | | HN request time: 0.208s | source
Show context
dakiol ◴[] No.45077990[source]
The one thing I don't like about PHP is that the whole application is bootstraped (and autoloading and the configuration is re-evaluated) in every single http request. Sure thing there's cache and all, but it just doesn't feel right (compared, to, for instance, an http server written in golang)
replies(5): >>45078039 #>>45078202 #>>45078278 #>>45079157 #>>45079955 #
1. creatonez ◴[] No.45079955[source]
You're right. It's a completely asinine approach. Especially when PHP itself is used as a templating language.

And solutions that try to fix this (custom templating engines, runtimes that run the whole thing inside a continuous PHP process) are simply putting lipstick on a pig.

The solution is to use a language that wasn't originally called "Personal HomePage"