You are here: Home / Developer Information

Developer
toendaCMS Developer Network


toendaCMS API Reference: api.toendacms.org
toendaCMS component development guide: wiki
"Documentation tag" tutorial: "Documentation tag" tutorial

toendaCMS Sourceforge project page: Sourceforge
toendaCMS Google Code project page: Google Code


SVN Repository (at Google Code)

For user:
svn checkout http://toendacmsorg.googlecode.com/svn/trunk/ toendacmsorg

For developer:
svn checkout https://toendacmsorg.googlecode.com/svn/trunk/ toendacmsorg --username *username*


Versioniering, Comments and Documentation

Each coder who code on the toendaCMS classes and extension must write comments and documentation tags on their work.
The version in the file header must increment and the build number in the version.xml and the changelog files must increment for each coding step.

/**
 * toendaCMS *WHATEVER*
 *
 * This class/module is used for *WHATEVER*.
 *
 * @version 0.0.1
 * @author *Firstname* *lastname* <*email*>
 * @package toendaCMS
 * @subpackage tcms_kernel / Copntent Modules / toendaCMS Backend
 */


Coding style

If-then-else construct
if() {
}


Class design
class tcms_nameoftheclass {
  function __construct() {
    // constructor code
  }

  function tcms_nameoftheclass() {
    $this->__construct();
  }

  function __destruct() {
    // destructor code
  }

  function _tcms_nameoftheclass() {
    $this->__destruct();
  }

  function getSomething() {
  }

  function generateSomething() {
  }
}




Powered by toendaCMS Get Opera Get Firefox