Talk:Smarty
From Wikipedia, the free encyclopedia
Smarty lacks some features like date formating (strftime) and support for MySQL or other RDBMS. I would use vLIB or TBS (TinyButStrong). Just my two cents. --ClausVB 20:11, 3 November 2005 (UTC)
Contents |
[edit] not true
Smarty has date formatting (via strftime) with the date_format modifier. Read the manual! As for RDBMS integration, you can collect your database records and assign them as an array to the template, which can then be looped over and displayed with {foreach}. This is a template engine, there is no reason to integrate RDBMS access directly.
- If you're so sure about this, please edit the article directly. Getting a username would also be a good idea. Rufous 17:06, 11 January 2006 (UTC)
[edit] The cleanup tag
I don't get it: who placed a cleanup tag on the article and why? There's no discussion on the talk page about this.
I would remove it myself, but I'm new to wiki and thus afraid to blunder. Kaarjuus 21:03, 25 January 2006 (UTC)
Removed the cleanup tag. Kaarjuus 23:22, 1 February 2006 (UTC)
[edit] take out "a lot"
in the opening. Its not good grammar.
[edit] why does the "see also" point to unrelated framework applications?
There is no mention in any of the "see also" items as to their relation to Smarty; further, in all cases, each of the items listed do substantially different things than Smarty -- even though some of them contain Smarty as a component.
[edit] Smarty template Editors
What do you think about a part concerning the Smarty editors? I have written one: Smarty-Mode. Deboutv 14:10, 21 November 2006 (UTC)
[edit] Rewrite
I propose re-writing the second and third paragraphs to look like this:
Tags are directives for Smarty that are enclosed by delimiters. These directives can be variables, denoted by a dollar sign ($), functions, or logical or control flow statements. Smarty allows PHP programmers to define functions that can be accessed using Smarty tags.
This compartmentalization allows the presentation of a web page to change separately from the back-end, thus allowing applications to be developed in a more organized fashion. Using this development model, designers are hidden from the back-end coding and PHP programmers are hidden from the presentation coding. —The preceding unsigned comment was added by Pkrecker (talk • contribs) 22:40, 7 December 2006 (UTC).