To Write a BEE Web Page
Username:  
Password:
  > Home
v User Guide
    v Introduction
       o To Write a BEE Web Page
       o BEE Variables
       o BEE Conversions
    > Hello World
    > Flow Control
    > Function Calls
    > Authentication
    > Database access
    > Content Management
    > Remote Calling
    > Object-Oriented
    > Other Features
> Reference
> Portal Object
> Development Guide


Shortcuts
sys Class
debug Class
Intrinsic Conversions
>> User Guide >> Introduction >> To Write a BEE Web Page <=  =>      <  1  >  
To Write a BEE Web Page

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.

 

Previous Page       Next Page

Accsoft Computer Technology Pty Ltd     ABN: 98 065 617 549
PO Box 892, Epping NSW 1710         Level 1, Epping Office Park, 242 Beecroft Rd, Epping NSW 2121, Australia
Tel: Sydney - (02)98691668     National - 1300-881668         Fax: (02)98691866
© Copyright 2003 Accsoft Computer Technology Pty Ltd