When using the SERVER tag, the result is sent in response to the request


When using the SERVER tag, the result is sent in response to the request. The source code that contains the SERVER tag and your logic stays secure on the server.
Well,i also agree with you but this is different than HTML pages that contain JavaScript where the browser gets all of the source code.

A shorthand method of putting JavaScript into the HTML document


A shorthand method of putting JavaScript into the HTML document is to use the backquote (‘). Using the backquote, the HTML is automatically generated without having to use the write statement.
The backquote is especially useful when the JavaScript produces an attribute value. Generally, HTML tags have the form of

<TAG ATTRIB=”value” […ATTRIB=VAL]>

where ATTRIB is the attribute and value is its value. Backquoted JavaScript can substitute for any attribute or value in this syntax.

In making your application come alive


In making your application come alive, the server and browser must exchange information. The client, or browser, typically sends user responses.
These can first be “polished” by JavaScript routines on the browser side. The server in turn sends data back to the browser as HTML pages.

User responses are submitted just as you currently handle forms


User responses are submitted just as you currently handle forms. The user completes the form and clicks the submit button.
The data from the radio buttons, checkboxes, textboxes, and textarea are sent to the server. The server then places this data into the request object. Each element of the form has a corresponding property.

Usually a server only returns a static page


Usually a server only returns a static page in response to a browser request. In LiveWire, the response is still a page, but the contents of the page vary.
Here, User input can result in changes to default form values, new values of hidden form elements, or direct substitutions.

A server-side JavaScript can dynamically build in the HTML code


A server-side JavaScript can dynamically build in the HTML code for a form element that is part of the page. As an example, you can have the following statement in a source document:

<INPUT TYPE=”text” NAME=”example” VALUE=’request.agent’>

In this case the default value of the text is the browser agent information.

LiveWire provides a file object


LiveWire provides a file object.And this allows your application to write to the server’s file system.
As a security measure, JavaScript on the browser does not permit saving data to the file system.

Like other JavaScript operations file handling is also done using objects


Like other JavaScript operations, file handling is also done using objects. LiveWire provides a file object and you create new objects for each file you want to use.
If you need to use file files, then create a new file object for each one.Use the standard syntax in creating file objects:
fileObjectName = new File(“path”)

After you create the file object, you then need to open the file


After you create the file object, you then need to open the file before you can do anything else with it.
open the file, you use the open method, as follows:

result=fileObjectName.open (“mode”)

The result is true if the file was opened successfully; otherwise it is false.

When dealing with data stored in a file, you must consider


When dealing with data stored in a file, you must consider where in the file the desired data is stored or where you intend to store it. You may not want to read the first three items, but you do want to read the next two items.
The file object allows you to read the current position, change the position, or check if you are at the end of the file.