Lately, I have wondered into a seemingly age-old question: PHP vs. Java. From my perspective Rapid Application Development has lead to PHP as a technology of choice for quickly getting sites up. On the other hand there is a real complaint that it is simply a scripting language. After doing some research found a couple commmon themes out there:
- PHP & Java Both Scale
- Java is complex – PHP can be complex but simpler to jump into
- Java & PHP both need to be planned out for larger websites
- PHP is much better for small websites
- Language Shootout says Java is Faster, PHP uses less memory.
At the end of the day, it seems that the underlying technology is simply a tool and should be focused on what your developers at hand are comfortable with.