Search:

Apache » Lenya
project logo
  • Project
  • Developer
  • Community
  • Version 2.2
  • Version 2.0
  • Version 1.2
  • Developer
    • SVN Web
    • Coding Guidelines
    • Website Update
    • Release Management
    • Zone notes
    • Resolution
    • Charter
    • Project guidelines

Current Event

Meeting Bad Säckingen 2009

Built with Apache Lenya

Apache Lenya Coding Guidelines

Table of Contents
  • Introduction
  • Java Code
  • XML and XSP

Introduction

We use coding standards so that Lenya source code is easy to understand, to maintain, and to enhance.

We are using the commit-then-review approach. Still, nothing untested should be committed. First test then commit!!!

Java Code

Generally we stick with standards. In the case of coding standards we simply use the guidelines from Sun.

Here are the rules:

  • Thou shalt only produce code conforming to the Java code conventions, as they are set down on the page http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html

  • Thou shalt not produce any code containing tab-stops.

XML and XSP

The only restriction we impose on XML, XSLT and XSP code is that the indenting is 2 spaces. Again please no tab stops.

Copyright © 1999-2009 The Apache Software Foundation. All rights reserved.