Demonic Posted July 8, 2008 Share Posted July 8, 2008 For some reason I feel a template system takes to many files, and like wordpress they include php files for templates so they can embed php right in the file. Which is better? I want to make a quick and easy manageable script, The thing about me asking this is because no one needs to customize the admin panel so not really a need for a template system. Quote Link to comment Share on other sites More sharing options...
redbullmarky Posted July 8, 2008 Share Posted July 8, 2008 sometimes it's not about others customising it, but about you customising it. spending each and every day using the same website/back end, it's only a matter of time before you get bored of it and want to give it a new coat of paint. there isn't really a "definitive" way of doing templates, though I tend to stick to PHP ones but keep as much non-display logic out of my templates, just so it doesn't become an absolute mess. Anything more PHP-intensive that's needed in my template goes inside a helper, leaving just basic if/else/foreach, etc in my templates - nothing more. either way, whatever floats your boat - but a bit of discipline didn't hurt anyone, even if it is a system for your eyes only. Quote Link to comment Share on other sites More sharing options...
alco19357 Posted July 9, 2008 Share Posted July 9, 2008 Using php will allow you to dynamically edit your template. use phtml files Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.