Is this overkill, or good use of CakePHP's HTML helper?
问题 I just reformatted the default layout of my CakePHP application. I eliminated as much in-line html as possible by putting almost everything inside the html helper methods. It was fun, but I'm wondering what benefit I've gained from this exercise, if any? <?php $output = implode("\n", array( $html->docType(), $html->tag('html', implode("\n", array( $html->tag('head', implode("\n", array( $html->charset(), $html->tag('title', 'Title For App'), $html->css('css', NULL, array('media' => 'screen