A BEE application runs in the main content area (where pt%application is). Each application may have an optional Prelude part that runs before the HTML page starts, usually to preprocess information required in the HTML page, such as to increase the number of items in the shopping cart etc.
You may simply upload the BEE application to the "appl" subdirectory under "src" (where the Virtual Page resides), and the website will pick it up automatically. For example, http://www.mysite.com/hello.htm will pick up the application file under /appl/hello.htm. (http://www.mysite.com/appl/hello.htm will get to the code by passing the Virutal Page, and therefore will not work properly in most cases.)
If you the files are not put in the "appl" directory for some reasons (such as in the shared system directory instead), you will need to tell the website where to include it, and the appl scheme file (scheme%appl&) is where you do this.
Please click Scheme from the Admin Menu (the blue bar, admin privilege required) and have a look at the appl file. It is preset for this website, but you may play around by adding new applications if you want to.
The symbole "~" stands for the site URL (in the case of the model site, http://models.onmyweb.net/book1). Text between ";" and the end of the line are comments and not used by the BEE platform.
|