RE: [PHP Template] Template Discussion
[email protected] ("Peter Kocks") Wed, 22 Mar 2000 12:46:43 -0800
| Newsgroups | php.template |
|---|---|
| Message-ID | <[email protected]> |
> > The designer needs control of the template > layout, no more no less. This is can all be covered > with the proposed template logic. > Just like my use of "coordinating with programmer" through up a red flag for you, the phrase "template logic" throws up a red flag for me. To me this indicates a new programming language. You will never get around having the designer and the programmer coordinate their work if you expect them to work together in any real life situation. The question is how and where to draw the line in terms of responsibility. In the end, I think you will find that either the programmer has to do some HTML design or the designer has to do some programming. Note that this will be true in any language. Using php, without templates, it is easy to make these distinctions in terms of responsibility. It is a matter of working out where the boundaries are given the skill and desires of the programmer and designer. It should not be a matter of changing the syntax of your programming language to enforce that boundary. I'm going to get on my soap box again about here-docs. If you really want to have the rule "The designer needs control of the template layout, no more and no less", the existing php here-docs can create such an environment. If you want the designer to have control of "template logic" then the designer is programming and should use the same syntax as the programmers. --pk