Jump to content

PHP Templates or HTML With a Template System?


Demonic

Recommended Posts

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.

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.