Changeset 209 for trunk/docs
- Timestamp:
- Nov 29, 2006 1:25:59 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/coding_standards.txt
r136 r209 4 4 5 5 ====================================================================== 6 Prea ble6 Preamble 7 7 ====================================================================== 8 8 … … 142 142 143 143 ====================================================================== 144 String concat ination145 ====================================================================== 146 147 Always include a space before and after the concat onation operator '.' which144 String concatenation 145 ====================================================================== 146 147 Always include a space before and after the concatenation operator '.' which 148 148 improves readability and improves search-and-replace of adjacent elements. 149 149 … … 175 175 176 176 For large or complex blocks of HTML, using the following method is much faster 177 and safer than echo because the php process esor is bypassed and content goes177 and safer than echo because the php processor is bypassed and content goes 178 178 directly to output: 179 179 … … 313 313 314 314 All form definitions must be on their own line and either fully defined within 315 a <td></td> pair or be outside table tags. Forms must also a ways have an action315 a <td></td> pair or be outside table tags. Forms must also always have an action 316 316 parameter: 317 317 … … 365 365 When building queries referencing two-or-more tables always preface columns 366 366 with the table containing the column (admin_tbl.username, location_tbl.location_address). 367 This method is much prefer ed over using aliases of table names (a.username, l.location_address).367 This method is much preferred over using aliases of table names (a.username, l.location_address). 368 368 369 369 Table names should be singular (user_tbl instead of users_tbl).
Note: See TracChangeset
for help on using the changeset viewer.