Template Design for Dynamic Applications
Posted: Fri Sep 05, 2003 2:41 pm
The topic says it all .. I have been trying to think of a way to design an engine that would allow for dynamic input/output.
As it is right now, most of my code is done at the top of the page, stored in a variable then dropped into main page via <=? $variable ?>.
Now it works works just fine... However it does tend to get a little cluttered. Some of my biggest problems stem from the needing to control what people have access to, and what people see.. All can be taken care of by a simple if statement for each element (granular security).
What are you thoughts on this?? All of the template engines I have seen do NOT deal with extensive dynamic content very well, not at all, or make it more cumbersome.
As it is right now, most of my code is done at the top of the page, stored in a variable then dropped into main page via <=? $variable ?>.
Now it works works just fine... However it does tend to get a little cluttered. Some of my biggest problems stem from the needing to control what people have access to, and what people see.. All can be taken care of by a simple if statement for each element (granular security).
What are you thoughts on this?? All of the template engines I have seen do NOT deal with extensive dynamic content very well, not at all, or make it more cumbersome.