![]() quick server pages |
Hints for developers
A good basic layout that I use a lot is to set the background to a light color,
then put all content in a centered table with white cells.
Have all pages #include a common header at the top, and a common
footer at the bottom. A common header is very useful in maintaining a uniform
appearance across all pages, and
for doing things that need to be done for every page, such as
#setting variables that will be available globally, #writeing
usage log info, and so on.
Use #include to share template code chunks between pages, where feasible.
Use #include to encapsulate external references, such as external URLs,
for easier maintenance.
The most flexible and compact way to store dates is to convert to julian values
for storage, as done in the people3 demo. Another option is to use a date
notation that sorts out naturally, such as yyyy/mm/dd.
Where possible, avoid having a mixture of active and passive HTML documents.
This helps with overall page uniformity and makes for easier maintenance
with regard to style changes.
|
![]() quick server pages Copyright Steve Grubb |