This document is a guide on how to write a software package for OpenACS. OpenACS packages are installed and maintained with the @@ -22,7 +25,7 @@
Here is how an OpenACS 5 server is laid out starting from the Server root (ROOT):
Figure 11.1. Server file layout
+ Figure 11.1. Server file layout
diagram Figure 11.2. Package file layout
+ Figure 11.2. Package file layout
diagram A special note on the Table 11.1. Package
+PACKAGE-KEY/www/resources
+directory. Files in this directory are available at Table 11.1. Package
files
ROOT/
bin/
@@ -61,7 +64,7 @@
To illustrate
the general structure of a package, let's see what the package
for the "notes" application should look like.
ROOT/
+-- packages/ APM Root
@@ -124,14 +127,14 @@
this case is
ROOT/packages/notes
. The following table
describes in detail what each of the files up in the diagram
contain.
-
-directory. Files in this directory are available at PACKAGE-KEY
/www/resourceshttp://
and are
-returned without any permissions checking or even checks that the
-package is installed or mounted. Files are returned directly, so
-.tcl or .adp files are not sourced in these directories. This makes
-it suitable for storing icons, css files, javascript, and other
-static content which can be treated this way.yourserver
/resources/PACKAGE-KEY
/...http://yourserver/resources/PACKAGE-KEY/...
and are returned
+without any permissions checking or even checks that the package is
+installed or mounted. Files are returned directly, so .tcl or .adp
+files are not sourced in these directories. This makes it suitable
+for storing icons, css files, javascript, and other static content
+which can be treated this way.