I'm pretty sure we will finish with PHP now, simply because we need the tools and they are mostly done. One thing the developer I'm working with is suggesting I implement a template system like Smarty. Personally, I don't see the benefit because I have my code like so:
PHP Code:
// process all code
include 'header.php';
HTML Code:
<div id="body">
<div id="something"><?php echo $Display['Something']; ?></div>
</div>
PHP Code:
include 'footer.php';
For example, I built table results and put them in $Display['Results'] and just echo it in the HTML. Each page has drastically unique contents, so a template for the body doesn't seem logical.
Is there a benefit I'm not seeing?
Bookmarks