What is Smarty?
Why use it?
Use Cases and Work Flow
Syntax Comparison
Template Inheritance
Best Practices
Crash Course
You may use the Smarty logo according to the trademark notice.
For sponsorship, advertising, news or other inquiries, contact us at:
All Smarty template tags are enclosed within delimiters. By default these are { and }, but they can be changed.
For the examples in this manual, we will assume that you are using the default delimiters. In Smarty, all content outside of delimiters is displayed as static content, or unchanged. When Smarty encounters template tags, it attempts to interpret them, and displays the appropriate output in their place.
Komentar template dikelilingi oleh bintang, dan ditutup oleh tag pembatas seperti:
Komentar Smarty TIDAK ditampilkan dalam output template final, tidak seperti <!-- HTML comments -->. Ini berguna untuk membuat catatan internal dalam template yang tak seorangpun akan melihatnya ;-)