Which would you say is better to use?
I’m asking this question because I’m helping someone with their site and I noticed that the developer (who did a wonderful job) used global variables for the site framework.
Personally I use embeded templates but I’m curious as to which is better? Is there a performance difference calling templates? Which is more efficient?
Additionally, what’s your thoughts (whoever replies) as to ease and simplicity? What’s the line of thought? My thoughts are it’s easier to use templates because…. well because that’s just the way I did it. But I also know that a lot of site engines that are designed this way are done almost exclusively using those global vars.
I’m juuuuuuuuuust about finished with a new, much better looking layout for my site. But this is the time to change things. I didn’t even think about it until I saw it done using vars. If that’s the best way to do this I’d rather get in there now and restructure it before i go live. This time I tried to think in semantics and template as much as possible. eg: i made a template group for javascript and one for styles. etc etc.