Index: openacs-4/packages/acs-core-docs/www/eng-standards-filenaming.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/eng-standards-filenaming.html,v diff -u -r1.30.2.4 -r1.30.2.5 --- openacs-4/packages/acs-core-docs/www/eng-standards-filenaming.html 22 Oct 2004 02:38:14 -0000 1.30.2.4 +++ openacs-4/packages/acs-core-docs/www/eng-standards-filenaming.html 1 Nov 2004 23:39:42 -0000 1.30.2.5 @@ -1,10 +1,10 @@ -
File names also appear within pages, as linked URLs and form targets. When they do, always use abstract URLs (e.g., user-delete instead of @@ -66,7 +66,7 @@ (/top-level-dir/). If linking to the directory in which the page is located, use the empty string (""), which browsers will resolve correctly. -
Include the appropriate standard header in all scripts. The first line should be a comment specifying the file path relative to the ACS root directory. e.g. @@ -168,7 +168,7 @@
Of course, replace "--" with the comment delimiter appropriate for the language in which you are programming. -
Construct the page as one Tcl variable (name it page_content), and then send it back to the browser with one call to doc_return, which will call @@ -224,7 +224,7 @@ edit ad_header (which quite possibly can start a <table>) and ad_footer (which may need to end the table started in ad_footer) to customize the look and feel of the entire site. -
Further standards for Tcl library files are under discussion; we plan to include naming conventions for procs.