|
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 |
deadcat Smarty Rookie
Joined: 20 Sep 2003 Posts: 10
|
Posted: Sun Sep 21, 2003 2:37 am Post subject: Did eval() do enough? |
|
|
I'm learn PHP just several months,and I never use some class like fast template or smart,when a html has been created,I just use eval() to output it,for separate the logical and html,I think it can do most thint with it, is it??
why so much peple use smarty?
thanks very much! |
|
Back to top |
|
deadcat Smarty Rookie
Joined: 20 Sep 2003 Posts: 10
|
Posted: Fri Oct 17, 2003 4:46 pm Post subject: |
|
|
I ask a foolish question??? |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Fri Oct 17, 2003 4:53 pm Post subject: |
|
|
dunno. but i know that smarty *is not* for separating logic and html. it's for separating *display logic* from *business logic*. |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
Posted: Fri Oct 17, 2003 5:39 pm Post subject: |
|
|
I suggest you take a look at this thread. There are many opinions expressed, both for and against. It may not give you the answer you are looking for, but if nothing else, it is entertaining |
|
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
|