Skip to content

Code Style Guide: Smarty Template Language

ekanshpreet edited this page Sep 13, 2010 · 4 revisions

This is the Code Style guide for the Smarty Template Language. See the main Code Style Guide page for other languages.

Maximum Line Length: 120 characters

The maximum length of any line of code is 120 characters, unless it contains a string that should not have a break in it.

TODO

  • Refer to Code Style Guide: HTML for HTML style guide.
  • Unless debuging try to encapsulate as much of your code as possible into strip tags, to strip down whitespaces and bandwidth usage.
Clone this wiki locally