3 ms·
Simply not true: "modern" PHP apps, usually built with Symfony or Laravel, might appear simple from their controllers, but their abstraction stack is just as hu
by klaussilveira 11y ago
Simply not true: "modern" PHP apps, usually built with Symfony or Laravel, might appear simple from their controllers, but their abstraction stack is just as huge as Spring's. Just take some time to read Symfony's HTTP code. Or step-debug one from the first point in the first controller and see how many layers of abstraction you have before the actual application code.
- mschuster91 11y agoIndeed, but in PHP it is at least possible to not use the performance sucker parts of the frameworks. Java? Not so much.
- Gigablah 11y agoWell, Symfony's Security component is actually based on Java Spring. It says so in the readme :) The biggest hits to performance however seem to stem from components that you can happily do without -- annotation magic for example, and the Doctrine ORM.
- mschuster91 11y agoDoctrine may be a complex beast, but it is so dead easy to use... I believe it's worth the performance hit.