lenya/src/webapp/lenya/pubs/docs-new/content/xdocs/community coding-guidelines.xml,NONE,1.1
Andreas Hartmann <[email protected]> Wed, 14 May 2003 23:04:34 +0200
| Newsgroups | gmane.comp.cms.wyona.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /repository/lenya/src/webapp/lenya/pubs/docs-new/content/xdocs/community
In directory erbium:/tmp/cvs-serv4217/src/webapp/lenya/pubs/docs-new/content/xdocs/community
Added Files:
coding-guidelines.xml
Log Message:
added coding guidelines
--- NEW FILE: coding-guidelines.xml ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "document-v12.dtd">
<document>
<header>
<title>Coding Guidelines for Lenya</title>
<version/>
<type/>
<authors>
<person name="Christian Egli" email="[email protected]"/>
</authors>
</header>
<body>
<section>
<title>Introduction</title>
<p>
We use coding standards to be able to write code easy to
understand, to maintain, and to enhance.
</p>
</section>
<section>
<title>Java Code</title>
<p>
Generally we stick with standards. In the case of coding
standards we simply use the guidelines from Sun.
</p>
<p>
Here are the rules:
</p>
<ul>
<li>Thou shalt only produce code conforming to the Java code
conventions, as they are set down on the page <link
href="http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html">http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html</link>
<p/>
</li>
<li>Thou shalt not produce any code containing tab-stops.
<p/>
</li>
</ul>
</section>
<section>
<title>XML and XSP</title>
<p>
The only restriction we impose on XML, XSLT and XSP code is
that the indenting is 2 spaces. Again please no tab stops.
</p>
</section>
</body>
</document>