3 ms·
Because they wish to leverage PHP's ecosystem and Java requires more boilerplate code and tends to be more verbose.
by segmondy 9y ago
Because they wish to leverage PHP's ecosystem and Java requires more boilerplate code and tends to be more verbose.
- karlshea 9y agoAlso nobody wants to set up Tomcat.
- kuschku 9y agoThat’s why people use Jetty.
- mschuster91 9y agoAnd Java is notorious for... 1) highly complex (and long!) build processes 2) memory issues: I have yet to see a reasonably complex Java application, both desktop and web, use a reasonable amount of RAM. Also, the fact that the JRE is long-running inevitably leads to memory leaks whereas in PHP every request and its environment get torn down at its end 3) overabstraction and literally hundred-lines-long stack traces which make debugging next to impossible. However, the trend seems to be heading this way in PHP too, so I don't know how long that advantage still holds.
- karlshea 9y ago> overabstraction and literally hundred-lines-long stack traces which make debugging next to impossible. However, the trend seems to be heading this way in PHP too, so I don't know how long that advantage still holds. Definitely true. Laravel has this issue with the added bonus of magic methods and Facades all over the place.