4 ms·
> One thing that's wrong with PHP is all the bloated OO mega-frameworks people create on top of it to try and make it Java, Rails, whatever... The thing that r
by stan_rogers 14y ago
> One thing that's wrong with PHP is all the bloated OO mega-frameworks people create on top of it to try and make it Java, Rails, whatever...
The thing that really fries my brain is templating systems built over frameworks -- PHP is already a templating system, and building another one in PHP is just silliness of the highest order. I mean, sure, separate out the gnarlies and include or require them as necessary (but, please, don't nest includes so deeply that you can't find anything anymore), but don't throw away what the environment provides just so that you can reinvent that particular wheel.
- wvenable 14y agoPHP is a terrible template engine; replacing it with something better is just obvious. I like to think of PHP's output mode as REPL for the web but not as a way of constructing templates in real-world applications.