Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > 5f32b2ee06e2c2de5bea2b11e68c9a17 > files > 17

daCode-1.2.0-1mdk.noarch.rpm

Here are some rules you should try to follow when you develop daCode.

* Any class name should have its first caractere in upper case like:
	Class Config {
	}

* Any SQL request should be made by db.php3 library

* All the configuration should go in config.php3. There is a config class, this
  is the one you should use.

* If you are away for more than 5 days, or do not respond to others developers
  need in that time which can't continue to develop because they wait for your
  anwser, you allow them to modify the code you usually maintain. Please take
  care to synchronize when you are back.

* Before you modify any file, please take care to run a 'cvs update' to be sure
  noone modified the file before.

* Please understand not everyone has a 1600x1200 terminal. So stick to a maximum
  of 80 caracteres per lines. ':set tw=80' should be fine under vim.

* Use CAPS everytime you use SQL commands. It will be much easier later
  to modify the code. On the other hand, HTML code must be written with
  lowercase letters to satisfy the latest w3c recommandations.

* Any static sentence/words should be print through lecho command. See
  lang.php3. This way it will be much easier to translate to a new/another
  language.