views:

156

answers:

1

If Facebook were to start over what should it use PHP or JAVA (J2EE)? Why?

Special considerations:

  1. Scaling
  2. Development speed
  3. Maintainability
  4. Development tools
  5. Development costs
  6. 3rd party applications
  7. Security
  8. Deployment speed
A: 

PHP obviously.

The skillset is 100x more common, it scales more simply, and you can iterate more quickly. Finally, the skills & practices required to scale it out are well-understood and established. Throw in the fact that they can hire core PHP developers - I know they have 3+ on staff now - and it makes even more sense.

CaseySoftware
Are you trying to say there are more php programmers than java programmers?
micmcg
-100 And this is backed by what evidence? In fact, there's plenty of evidence to the contrary - Java scaling much better than PHP; Java has many more programmers (I mean programmers as a profession, not a hobby). And being a more mature language, it is much better understood and established than PHP.
NullUserException
I didn't say "scaling better", I said "scales more simply". If you qualify your definition of "programmers" to include "professional" then yes, you are correct. But that's not what *I* said. Building front end PHP/html templates requires a very low level of skill that the newest WordPress/Drupal/etc hacker can perform. The number of *truly skilled* PHP developers required is very small by comparison. As evidenced by Facebook's current team structures.
CaseySoftware