Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 6 matches
Smarty Forum Index
Author Message
  Topic: The Logic of Templates (massassi.com)
cm

Replies: 75
Views: 258889

PostForum: Article Discussions   Posted: Sun Jun 22, 2003 1:46 pm   Subject: The Logic of Templates (massassi.com)
{section name=curuser loop=$user}

in the template you have included some business logic in the template.

Well, wouldn't that be display logic in contrast to business logic? Thus, wouldn't it e ...
  Topic: How Not To Use A Template System
cm

Replies: 7
Views: 27207

PostForum: Article Discussions   Posted: Thu May 29, 2003 4:44 pm   Subject: How Not To Use A Template System
Yeah there is definately need for an article which shows Smarty in larger-scale use. There are way enough "hello template world" articles. I wonder whether I should try to write such an article, or ma ...
  Topic: The Logic of Templates (massassi.com)
cm

Replies: 75
Views: 258889

PostForum: Article Discussions   Posted: Wed May 28, 2003 4:10 pm   Subject: The Logic of Templates (massassi.com)
Hypothetically, if Smarty were ever ported to other languages, all of the templates would work with no modifications. That would not be the case with PHP based templates.
That would be true for an am ...
  Topic: The Logic of Templates (massassi.com)
cm

Replies: 75
Views: 258889

PostForum: Article Discussions   Posted: Fri May 16, 2003 3:28 pm   Subject: The Logic of Templates (massassi.com)
Wom.bat, I tried to express that most of your arguments were nonsense in comparison to "pure PHP templates". Of course they are arguments for Smarty in comparison with other (PHP) template engines, bu ...
  Topic: The Logic of Templates (massassi.com)
cm

Replies: 75
Views: 258889

PostForum: Article Discussions   Posted: Wed May 14, 2003 4:08 pm   Subject: The Logic of Templates (massassi.com)
@cm: so what is your point?? You don't need Smarty?
My point was exactly what I stated above, nothing more, nothing less. I simply corrected what that guy posted above, the rest is your interpretatio ...
  Topic: The Logic of Templates (massassi.com)
cm

Replies: 75
Views: 258889

PostForum: Article Discussions   Posted: Tue May 13, 2003 1:55 pm   Subject: The Logic of Templates (massassi.com)
the primary reasons why I prefer Smarty over pure PHP templates are:

1) most things are easier in templates (think of {$foo|truncate:30:"..."} which would need several ifs and so on in PHP)
Well ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP