Fragen? Antworten! Siehe auch: Alternativlos
"The Web is broken and it's all your fault."Those are the words that Rasmus Lerdorf, the creator of PHP, said to kick off his keynote at the php|works conference under way here.
Nee, klar. Nicht PHP ist Schuld, die Leute sind alle schuld! Ich staune, daß er nicht die Webserver beschimpft! Oh, warte:Lerdorf advised PHP developers that nothing that comes across the wire is to be trusted. Header "stupidity," as Lerdorf referred to it in Apache HTTP Web server, can also be the root cause for the broken Web.
Soso. Da kann man doch bestimmt auch noch die Browser irgendwie anpinkeln, oder? Klar! Then there is Microsoft's Internet Explorer, which has "stupidity" issues with character set detection, arbitrary header injection, host header spoofing and request splitting.
Auffallend, wie alle außer ihm Schuld sind…Aber wartet, da kommt noch mehr! Er erzählt den Entwickler, wie sie PHP-Anwendungen beschleunigen können. Und der erste Tip: MySQL statt Postgres!
One performance enhancement that Lerdorf suggested based on code analysis was to use MySQL instead of PostgreSQL for the database."If you can fit your problem into what MySQL can handle it's very fast," Lerdorf said. "You can gain quite a bit of performance."
For the items that MySQL doesn't handle as well as PostgreSQL, Lerdorf noted that some features can be emulated in PHP itself, and you still end up with a net performance boost.
Aus mir völlig unbegreiflichen Gründen sehen die PostgreSQL-Leute das anders :-)