|
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 |
johnson Smarty n00b
Joined: 11 Jun 2008 Posts: 3
|
Posted: Thu Aug 14, 2008 11:16 pm Post subject: no php in templates :) |
|
|
After few open source projects that were using smarty I was forced to learn smarty and that finally teched me not to put php code in template files
site: www.velikibrat.com was able to handle more then 10k visits per day coz of caching capabilities _________________ my news website |
|
Back to top |
|
bimal Smarty Elite
Joined: 19 Apr 2007 Posts: 423
|
Posted: Mon Sep 08, 2008 7:12 am Post subject: Never use {php} tag |
|
|
Be sure to monitor your learner programmers. If they happen to learn {php} tags, they will try to use it without thinking on the possible impacts. This makes their core hand coding easier, but a good and scalable template.
Even in many advanced apps, {php} tag is NOT really necessary. Just, refine your work and think in great. Hardly, very few things need this tag.
Be sure of it. |
|
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
|