Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In addition to this standard we also use 4 space indention rather than tabs. Make sure no code contains tab characters.
For XML/HTML/FTL files we follow the standard XML/HTML/FTL format (TODO: add link to a reference here); as well as use 4 space indention rather than tabs (note some HTML/FTL files may use 2 spaces instead of 4).

HTML code should be XHTML compliant.

BSH files should follow the same convention as Java files.

...

Service Definitions

Best Practices

http://www.ofbiz.org/best-practices.htmlImage Removed

http://ofbizwiki.go-integral.com/Wiki.jsp?page=PalmtreeDevelopmentGuidelinesImage Removed

License Headers

Each and every source file should contain the ASL2.0 header:

http://svn.ofbiz.org/svn/ofbiz/trunk/APACHE2_HEADER&nbspImage Removed;

Naming Conventions for Artifacts and controller entries