Kapitel 20. moregroupware coding conventions
Zurück | Teil IV. Entwicklerecke | Weiter

## Kapitel 20. moregroupware coding conventions

This is a first step of guidance to a more clear programming. It is taken from the PEAR Coding Standards which can be found at http://pear.php.net/manual/en/standards.php . These are only excerpts from that to make the main parts clear.

## Indenting

Use an indent of 4 spaces, with no tabs.

For UltraEdit 32 (on Windows) Go to Advanced -> Configuration and choose the Edit tab. Check "Use spaces in place of tabs" and enter 4 in the next text field which should say something like "Tab Stop Value" + an excessive bunch of words. If you've already written code with other tab stops follow the above note and then do Format > Tabs to Spaces For hints on other editors go to the URL shown above.

Zurück | Nach oben | Weiter
Using the settings module | Zum Anfang | Naming conventions