ReJump


Chapter 16:: Manual:: ReJump DataFile
Technology



 


Home

Datafile
About
News
Manual
<...
Chapt.16
...>
Download
Contacts








Static site creation and work from command line

To make system work more quickly you can create static html-pages instead of using requests to ReJump system. In that case document caching and request executes more quickly. Also that feature allows to use rejump for automatic html-documents layout.

16.1 Work from command line

There are two parameters "make" and "proc". They could be used at program "rejump_df.pl" call from command line

make - file-result creation according to template
Syntax:
rejump_df.pl make file_result template
Example of call from command line:
rejump_df.pl make /usr/home/site/htdocs/index.html index_tpl

proc - ReJump script execution
Syntax:
rejump_df.pl proc rejump_script
(executes file with script)

16.2 html-pages and files from the script creation

There is "make" function for file creation. You can use it in ReJump script. It has two parameters: name of file-result and template's name.

Example:
make(/usr/home/site/htdocs/index.html,index_tpl);

Index
Download
Contacts
If you have any questions, please, contact us via email: datafile@rejump.com.


© 2002-2009 Алексей Мась, ReJump