Dot Premodded 1.0.7 162 > Dot Premodded 1.0.7 / Docs / Coding Guidelines.txt

Questions? Need Help? Want to share? » PHP Forum
Script Name:
Dot Premodded 1.0.7 162

Download:
dot-premodded-1.0.7-162.zip

Category:
Discussion Boards

Archive Content:

Dot Premodded 1.0.7 > Admin

Dot Premodded 1.0.7 > Attach Mod

Dot Premodded 1.0.7 > Attach Mod > Includes

Dot Premodded 1.0.7 > Attach Mod

Dot Premodded 1.0.7

Dot Premodded 1.0.7 > Cache

Dot Premodded 1.0.7 > Cache > Syntax

Dot Premodded 1.0.7

Dot Premodded 1.0.7 > Contrib

Dot Premodded 1.0.7 > Db

Dot Premodded 1.0.7 > Docs

Dot Premodded 1.0.7

Dot Premodded 1.0.7 > Files

Dot Premodded 1.0.7

Dot Premodded 1.0.7 > Images > Avatars > Gallery

Dot Premodded 1.0.7 > Images > Avatars

Dot Premodded 1.0.7 > Images

Dot Premodded 1.0.7 > Images > Smiles

Dot Premodded 1.0.7 > Images

Dot Premodded 1.0.7 > Includes

Dot Premodded 1.0.7 > Includes > Geshi

Dot Premodded 1.0.7 > Includes

Dot Premodded 1.0.7

Dot Premodded 1.0.7 > Install

Dot Premodded 1.0.7 > Install > Schemas > Errohandling

Dot Premodded 1.0.7 > Install > Schemas

Dot Premodded 1.0.7 > Javascript

Dot Premodded 1.0.7 > Language

Dot Premodded 1.0.7 > Language > Lang English > Email

Dot Premodded 1.0.7 > Language > Lang English

Dot Premodded 1.0.7

Dot Premodded 1.0.7 > Templates

Dot Premodded 1.0.7 > Templates > SubSilver

Dot Premodded 1.0.7 > Templates > SubSilver > Admin

Dot Premodded 1.0.7 > Templates > SubSilver

Dot Premodded 1.0.7 > Templates > SubSilver > Images

Dot Premodded 1.0.7 > Templates > SubSilver > Images > Lang English

Dot Premodded 1.0.7 > Templates > SubSilver > Images

Dot Premodded 1.0.7 > Templates > SubSilver

Dot Premodded 1.0.7

Coding Guidelines.txt:

CODING GUIDELINES : Initials by psoTFX (July 2001)
-----------------

* The coding style is defined in the codingstandards.html file, all attempts should be made to follow it as closely as possible

* All SQL should be cross-DB compatible, if DB specific SQL is used alternatives must be provided which work on all supported DB's (MySQL, MSSQL (7.0 and 2000), PostgreSQL (7.0+), Oracle8, ODBC (generalised if possible, otherwise MS Access, DB2))

* All SQL commands should utilise the DataBase Abstraction Layer (DBAL)

* All URL's (and form actions) _must_ be wrapped in append_sid, this ensures the session_id is propagated when cookies aren't available

* The minimum amount of data should be passed via GET or POST, checking should occur within individual scripts (to prevent spoofing of information)

* The auth function should be used for all authorisation checking

* Sessions should be initiated on each page, as near the top as possible using the session_pagestart function (userdata should be obtained by calling the init_userprefs immediately after session initialisation)

* Login checks should be forwarded to the login page (supplying a page to forward onto once check is complete if required)

* All template variables should be named appropriately (using underscores for spaces), language entries should be prefixed with L_, system data with S_, urls with U_, all other variables should be presented 'as is'.

* Functions used by more than page should be placed in functions.php, functions specific to one page should be placed on that page (at the top to maintain compatibility with PHP3) surrounded by comments indicating the start and end of the function block

* All messages/errors should be output by the message_die function using the appropriate message type (see function for details)

* No attempt should be made to remove any copyright information (either contained within the source or displayed interactively when the source is run/compiled), neither should the copyright information be altered in any way (it may be added to)

Other Discussion Boards Scripts:

WebMaster Resources Home

©RingsWorld.com