Documentation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
v1.4:conventions [2011/10/26 17:11]
Franz Page moved and renamed from guidelines to v1.4:conventions
v1.4:conventions [2011/10/26 17:13] (current)
Franz New title, 1.4 notice
Line 1: Line 1:
-====== ​Developer guidelines ​======+====== ​Coding conventions ​====== 
 + 
 +**NOTE: These coding conventions apply for FluxBB 1.4 and previous versions. You can find updated coding conventions for FluxBB 2.0 on [[v2.0:​conventions|this page]].**
  
 The rules and recommendations set forth in this section apply to PHP, Javascript, SQL and any other programming language (where applicable) in use by FluxBB. Please note that tabs in this document have been substituted by spaces for visual reasons only. The rules and recommendations set forth in this section apply to PHP, Javascript, SQL and any other programming language (where applicable) in use by FluxBB. Please note that tabs in this document have been substituted by spaces for visual reasons only.
Line 42: Line 44:
 ===== Line breaks and encoding ===== ===== Line breaks and encoding =====
  
-All line breaks should be LF (''​\n''​) only. Set your editor to save files with UNIX style line breaks. All files should be saved using UTF-8 encoding.+All line breaks should be LF (''​n''​) only. Set your editor to save files with UNIX style line breaks. All files should be saved using UTF-8 encoding.
  
 ===== PHP-specific ===== ===== PHP-specific =====