- assigned_to: nobody --> kscanlon
Since XPC is very simple the methods used to implement
and run the core code of programming are simple as
well.
1. Templates
2. SQl Constructors
3. Naming Conventions
4. File Formats
Some of the best practices in PHP coding include:
1. Pure separation of display and programming.
a. Using the fasttemplates
2. SQl constructor functions for UPDATE and INSERT.
3. All defined values are variables. This includes all
paths (based on ENVironment). As well as the actual
includes("$siteCfg");
5. Naming conventions:
a. all lowercase for filenames. Two words are
separated by an underscore "_".
b. variable and functions names are lowercase by
not separated excpet for variable connectors. when two
words are used in a variable they are separated by
making the second word's first letter uppercase like
so: var = $siteTemplate
5. File formats. Use the same construction as the
fastemplates class except a server header is sent
before hand to "announce" the application-type to the
browser / computer that is requesting the file.