-
Notifications
You must be signed in to change notification settings - Fork 4
Coding Standards
Work in progress includes research and selection of suitable markup and coding standards, and modification of existing syntax to bring it into compliance. This will give us a clean body of code to work with, making it easier to understand, add new features, and debug. Standards must be chosen for the following content:
The W3C is the final authority on HTML/XHTML. We need to choose a document type, and then model the existing markup after that standard.
Online validator/tidy utilities:
Local tidy utility:
The Zend Framework coding standard for PHP appears to be the most recommended standard to follow. Existing PHP files are currently being modified to bring them more in line with this standard.
Online validators:
So far, there seem to be a number of standards. We are currently reviewing options, especially Douglas Crockford's "Code Conventions for the JavaScript Language". We seek to utilize one that will be similar in style to the one we use for PHP.
Online validator:
Local validator: