Entwicklerecke

Sie möchten bei einer Übersetzung helfen? Sie haben einen Fehler gefunden, den Sie selbst beheben möchten? Sie benötigen ein neues Modul, noch niemand begonnen hat? Es folgt eine Einleitung in die Interna bis zum Code selbst.

Inhaltsverzeichnis

16. CVS and more.groupware development
Accessing CVS as a developer
CVS/SSH for unix/linux users
CVS/SSH for windows users (using wincvs)
Branching in CVS
more.groupware structure in CVS
17. How to translate Moregroupware
Structure of Moregroupware
Moregroupware lang-file
Using newslines for long text
Variables inside lang files
Test new language
Common Errors
When adding a completely new language...
18. Erstellen eigener moregroupware Module
Verzeichnisstruktur eines Moduls
Programmstruktur
Verwenden Sie niemals include($var/myinclude.php)!
Greifen Sie nicht manuell auf die Datenbank zu!
Wozu dient die Datei config.inc.php
Wozu dient die Datei container.inc?
require_once(SMARTY_DIR . "Smarty.class.php");
include(INCLUDEPATH .'mgw.class.inc');
include(INCLUDEPATH .'lang.inc');
include(INCLUDEPATH .'userfunc.inc');
include(INCLUDEPATH .'version.inc');
include(INCLUDEPATH .'appconfig.inc');
include(INCLUDE .'module_exec.inc');
Spezielle Eigenschaften von module_exec.inc
19. Handling common coding tasks
The definition.xml file
Logging functions
Using the core logging in more.groupware
Notification functions
Using notification in more.groupware
Database handling
SQL portability
Date and time handling
Templates with Smarty
Session usage
Using session standards in more.groupware
Passing sessions around in more.groupware
Storing per-module information in the session
Using the settings module
20. moregroupware coding conventions
Indenting
Naming conventions
Constants
Global variables
Control structures
Function calls
Comments
Including code
PHP code tags
Using CVS
General script structure