Home
Main Introduction Features Constants Statements Database Objects Parser Serial-Communication Samples Misc
Misc>Encode
Caravan Business Server>Help>Misc>Encode
Syntax encode filename(s) output filename
Text When you distribute your applications to the end users, your code can be exposed and tampered with. As a developer you would like to avoid this. Caravan Business provided an encoder, which can be used to encode your html files. At run time Caravan decodes this files.
Note file name must have .html extension and the output file name .cch. Once compiled you need to place only the cch file inside the template directory.

You can compile single file or multiple files into cch files and distribute.
Sample Single file
encode c:\caravan\template\test.html c:\caravan\template\test.cch

Multiple files
encode c:\caravan\template\*.html c:\caravan\template\source.cch
Back