Writing a BEE Web Page is no different from writing one in other scripting languages. You type in the code at the proper place and upload the page to the designated directory on the web server, enter the URL on your browser and see the result.
One thing you would find is that the source code will not appear in the web page source listing. Instead, the output of the script will be inserted in the place where the BEE Script was located.
If you are using other client-side scripting language like JavaScript, you can insert BEE variable values into JavaScript (naked values in the form of ${...}). However, the value is inserted on the server-side (when the JavaScript is generated), not on the client-side (when the JavaScript is executed).
That means BEE Variables in JavaScript will be taken as constant. If you want to modify its value in JavaScript, you need to assign the BEE Variable to a JavaScript variable and work from there.
In short, BEE Script "writes" JavaScript at the server-side, in the same way it output HTML or other web content. Remember, BEE Script's output (not its source) is what the client browser will receive.
|