in reply to Re^3: How to Separate Presentation from Implementation with HTML::Template
in thread How to Seperate Presentation from Implementation with HTML::Template
Aye, that seems to be the case, it's just not possible with the basic HTML::Template, while I intend to be still be involved for a while, I see no reason he needs to either go digging in my code to change the appearance of the page or to have me do it. I will look a little deeper into Template::Toolkit, I've only took a cursory glance at it so far, I initially went with HTML::Template because of it's simplicity, and perhaps because it's templates look more like HTML, perhaps it would be best to switch to Template::Toolkit, for the very opposite reason, so it will be obvious what is straight up HTML, and what's code he'd be better off leaving be, since I'm apparently going to have to have SOME sort of code in the template to keep him from needing to get into the script itself. I'll see about doing as you've suggested and clearly delineating what variables need to be altered to affect what aspects of appearance. Though if anyone comes up with any miraculous methods to accomplish the seperation, I'm still open to ideas ;).
I appreciate the advice, this is my first semi-serious project in which I need to consider the ability of people other than myself, and particularly nonprogrammers to maintain certain aspects. All previous projects have either been things I intend only for my own use/learning or to be used as is by nonprogrammers with no inclination to muck about with the internals.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: How to Separate Presentation from Implementation with HTML::Template
by phaylon (Curate) on Jan 14, 2007 at 16:49 UTC |