LiveWire Developer's Guide - Contents
What you should already know
System requirements
What is LiveWire?
Site Manager and LiveWire compiler
LiveWire server extension
Navigator Gold
LiveWire Pro
Document conventions
Installing LiveWire
Using Application Manager
Installing a new application
Controlling access to an application
Modifying installation parameters
Removing an application
Starting, stopping, and restarting an
application
Running and debugging an application
Configuring default settings
LiveWire sample applications
Running Hello World
Modifying Hello World
Running Hangman
Modifying Hangman
Debugging Hangman
Overview
Getting started
Placing an existing site under management
Using the Site Manager Guru
Creating a new web site
Creating a web site based on a remote
site
Creating an empty web site
Managing a site
Properties
Page links
Site links
Unused files
Managing site links
Repairing case problems in links
Checking and modifying links
Updating a site
Working with files and directories
Creating a new directory
Renaming a file or directory
Deleting a file or directory
Setting up the Site Manager editor and
browser
Defining the editor location
Defining the browser location
Editing a file
Browsing a file
Creating a new HTML page
Removing a web site from management
Publishing a site
LiveWire essentials
The tools
The basic steps
Creating and editing source files
Using forms
Embedding JavaScript in HTML
Compiling applications
Compiling with Site Manager
Using the command-line compiler
Installing and restarting applications
Installing a new application
Restricting access to an application
Starting, restarting, and stopping an application
Running and debugging an application
How LiveWire processes an application page
Debugging an application
Using LiveWire objects
Request object
Properties
Using form elements
Encoding request properties in URLs
Client object
Properties
Client object lifetime
Techniques for maintaining the client object
The project object
Properties
Locking the project object
server object
Properties
Locking the server object
Using client and server scripts
What really happens
What to do where
Using LiveWire functions
The write function
The writeURL function
The redirect function
The debug function
The flush function
Communicating between client and server
Sending values from client to server
Sending values from server to client
Using cookies for client-server
Using files on the server
Creating a file object
Opening and closing a file
Locking files
Working with files
Using file I/O: an example
Using external libraries
Guidelines for writing C functions
Identifying library files
Registering external functions
Using external functions in JavaScript
Calling external functions: an example
The LiveWire three-tier architecture
Installing database components
Running the video store application
Working with databases
Connecting to a database
Displaying queries with SQLTable
Disconnecting from a database
Executing passthrough SQL statemetns
Managing transactions
Using default transactions
Using explicit transaction control
Nested transactions
Transaction isolation levels
Using cursors
Creating a cursor
Cursor methods and properties
Navigating with cursors
Using a cursor: an example
Using updatable cursors
Data-type conversion
Working with binary data
Error Handling
Database status codes
Database error methods
Performing data definition with DBAdmin
Part 2 - LiveWire Reference
break
comment
continue
for
for...in
function
if...else
new
return
this
var
while
with
abs
acos
agent
anchor method
arguments array
arguments property
asin
atan
beginTransaction
big
blink
blob
blobImage
blobLink
bold
byteToString
callC
ceil
charAt
clearError
client
close (cursor object)
close (File object)
columnName
columns
commitTransaction
connect
connected
cos
cursor method
cursor object
cursorColumn
database
Date
debug
deleteRow
destroy
disconnect
E
eof
error
eval
execute
exists
exp
expiration
File
fixed
floor
flush function
flush method
fontcolor
fontsize
getDate
getDay
getHours
getLength
getMinutes
getMonth
getPosition
getSeconds
getTime
getTimezoneOffset
getYear
host
hostname
indexOf
inputName
insertRow
ip
isNaN
italics
lastIndexOf
length
link method
LN2
LN10
lock
log
LOG2E
LOG10E
majorErrorCode
majorErrorMessage
Math
max
method
min
minorErrorCode
minorErrorMessage
next
open
parse
parseFloat
parseInt
PI
port
pow
project
protocol (request object)
protocol (server object)
random
read
readByte
readln
redirect
registerCFunction
request
rollbackTransaction
round
server
setDate
setHours
setMinutes
setMonth
setPosition
setSeconds
setTime
setYear
sin
small
SQLTable
sqrt
SQRT1_2
SQRT2
strike
string
stringToByte
sub
substring
sup
tan
toGMTString
toLocaleString
toLowerCase
toUpperCase
unlock
updateRow
UTC
write function
write method
writeByte
writeln
writeURL