Hacker News new | ask | show | jobs
by greut 5193 days ago
PHP is about mixing it with other stuff (hence the <?php tag). So PHP smells by definition :-)
1 comments

JSP, ASP, CFM, Rails ERB, DJango ALL have the same exact thing. The only difference is PHP tutorials typically have a big block at the top of the "page" for business logic, and then intersperse logic throughout the view.

Most of these other frameworks/languages (barring CFM and old ASP) expect you to adhere to some sort of MVC.

Saying PHP smells by default is a little less than fair. :-)