7 ms·
There's really little reason to not use PHP, except in special usecases, like real-time services, or massively multiplayer, for example. Facebook is, even toda
by petervandijck 15y ago
There's really little reason to not use PHP, except in special usecases, like real-time services, or massively multiplayer, for example.
Facebook is, even today, basically still a monolithic PHP script.
- eropple 15y agoThis isn't really true. Facebook has some PHP (although a lot of their PHP is actually compiled to C++ - it isn't in a meaningful way "a PHP script," but rather "a PHP program) and a pretty wide variety of technologies in their service layer (and any website that actually has a service layer is difficult to call "just a script"). It is certainly not "monolithic."
- hedgehog 15y agoIn a conversation with a couple FB devs a few weeks back they mentioned that their codebase is now less than 50% PHP.
- petervandijck 15y agoI got that literally from a recent presentation from a FB engineer. Here it is: http://www.infoq.com/presentations/Evolution-of-Code-Design-at-Facebook http://www.infoq.com/presentations/Evolution-of-Code-Design-...
- brown9-2 15y agoThat same presentation walks through some OO code patterns they use; that's far from "a giant script".