|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Gregg Smarty Rookie
Joined: 07 Jul 2003 Posts: 6
|
Posted: Tue Jul 08, 2003 9:14 pm Post subject: TPL for every PHP file |
|
|
This is kind of a design issue. I am new to Smarty but am getting it after a couple days working with it and I really like it.
I was wondering if it is typical to have an associated TPL file for every PHP file that deals with visual content. Is there ever a time when using a Template would be overkill? I want to make sure that all my web apps are easily maintanable and Templates are the easiest way to do that.
Thanks for any advice.
Gregg |
|
Back to top |
|
Enquest Smarty Regular
Joined: 14 May 2003 Posts: 79
|
Posted: Fri Jul 11, 2003 10:52 am Post subject: |
|
|
It depend off course. For one page design it maybe be overkill. You simple need to make a few webpages and find out when to use it. I'm doing the same and didn't yet find a reason why not to use Smarty. Infact it speeds me up.
First make an object, then the funcitons then pass those arrays to smarty and htmls smarty design. And presto I have a site or an app. _________________ -----------------------
Learning my self by trying to help others |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|