My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
Rules  
Updated Sep 6, 2010 by eax....@gmail.com

Rules for LAMMER:

1. You do not talk about LAMMER.

2. You do NOT talk about LAMMER!

3. EVERYTHING IS IN ENGLISH!

4. Variables

No big letters. This could, potentially, confuse a server. Therefore: dreamSpark = NO. dream_spark = YES.

5. Includes:

No include ‘your_mom.php’ (it uses up to much space) Use: require_once ‘foo.php'; Place functions in: func_lib.php

6. SQL Syntax:

We do NOT use direct SQL in our code. We use the Gartner Three-way principal (or some shitty name like that). Meaning that for each function like SELECT, UPDATE we have a corresponding function. Ask me why we are doing this if curious you are.

7. Other syntax:

Variable/Array names: The names NEED to make sense: Ie, if the variable has something todo with the user make it $user_foo – If it is a config thingy, $config_foo

8. Other:

All documents MUST contain header.php and footer.php where these should logically be placed.

9. Design:

No tables, unless of course we are working with Tabular data. (Excel data or some shit). Use

for designs and such. Everything is designed by CSS.

Powered by Google Project Hosting