Developer Rules


HTML Specific Rules


Note: Wrong HTML code is broken code. To break the code isn't allowed. A C compiler for example would complain in most cases if you break the code syntactically. So just because most browser are ignoring wrong code does not mean that you are not in charge to fix the code you did break.

pfSense uses the XHTML doctype in its webGUI code. The doctype enforces you to code against the following ruleset:

It's possible to syntax check you code in Firefox with the HTML validator plugin. Or you can simple use the W3C validator. The latter is supported by Opera even for RFC 1918 networks. Validom is a validator, thatdoes not validate against SGML. The validome guys do pretend, that this produces better results.

PHP Specific Rules


Rule #1:
General rules
Indent style
config.xml

There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki