Syntax
|
When Caravan Business Server is installed, a directory structure is created. Say, you have installed on the default location, C:\CARAVAN.
The directory structure created will be as follows.
C:\CARAVAN C:\CARAVAN\TEMPLATE C:\CARAVAN\DOC C:\CARAVAN\DB
The root directory contains the exe file and Caravan configuration file.
There is only 1 configuration file HTTPD.CNF. For further configuration details refer to documentation on HTTPD.CNF (Administration->Configuration File - HTTPD.CNF).
|
Text
|
Template Directory:
This is the where the caravan source code is kept. Any file that contain Caravan scripting must have .HTML extension. Caravan will process only files placed in this directory. Any new file with caravan scripting must be added to this directory. If you add a new file, you need to restart the Caravan Business Server. If you modify existing files, the changes are immediately reflected the next time you access the page. Also if you encode / encrypt your source code (check Accessories->Encode your Source code before Distribution), then you can place that file(s) in this folder. Caravan will automatically decrypt it. Extension of this encoded file should be *.cch. There could be single/multiple encoded files.
Doc Directory:
This contains static files like images and html files that are static in nature. Caravan code inside these files will not be executed. Any new file or changes to a file in this folder is immediately reflected in Caravan.
Db Directory:
This contains the database files in the system. Each database will have one directory in the form: databasename.db. All database files created by the user are kept in this directory. Tables of the database are kept in the respective databasename.db by the system. The table names are tablename.* (normally 3 files for each table).
Caravan.db is the system database and it contains user tables, queue and event handler tables. This will be automatically created by the system.
Bin Directory:
Caravan can invoke external applications, mainly made in C and C++. You can place the executables in this folder.
tmp Directory:
Temporary folder where Caravan manages system files. Caravan uses a Default folder.
|
Sample
|
|
Quick Reference
|
|
Home
Back
|
|