LiveWire Developer's Guide - Contents
Introduction
What you should already know
System requirements
Release notes
What is LiveWire?
Site Manager and LiveWire compiler
LiveWire server extension
Navigator Gold
LiveWire Pro
Document conventions
Chapter 1 Getting started
Installing LiveWire
Enabling LiveWire
Protecting Application Manager
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
Under the hood
LiveWire sample applications
Running Hello World
Modifying Hello World
Running Hangman
Modifying Hangman
Debugging Hangman
Moving on
Chapter 2 Creating and managing Web sites
About Site Manager
Getting the big picture
Some terms
Getting started
Managing an existing site
Creating a site
Creating a site from a template
Creating a site based on an existing one
Creating an empty site
Working with files and directories
Creating a new directory
Renaming a file or directory
Deleting a file or directory
Configuring editor and browser location
Editing a file
Browsing a file
Creating a new page
Managing links
Viewing site links
Viewing page links
Modifying links
Checking internal links
Checking external links
Repairing case problems in links
Checking for unused pages
Removing a site from management
"Unmanaging" files and directories
Building LiveWire applications
Deploying a site
Configuring a proxy server
Chapter 3 Developing applications
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 new applications
Protecting applications
Starting, restarting, and stopping applications
Running and debugging applications
How LiveWire processes an application page
Debugging applications
Security considerations
Deploying applications
Restricting access to applications
Chapter 4 Using the LiveWire object framework
Using LiveWire objects
The request object
Properties
Using form elements
Working with image maps
Encoding request properties in URLs
The client object
Properties
The client object lifetime
Techniques for maintaining the client object
The project object
Properties
Locking the project object
The server object
Properties
Locking the server object
Chapter 5 Using JavaScript
Using client and server scripts
What really happens
What to do where
Using LiveWire functions
Generating dynamic HTML
Flushing the output buffer
Redirecting the client
Displaying debugging information
Using select lists
Maintaining client properties with URL encoding
Encoding values in URLs
Communicating between client and server
Sending values from client to server
Sending values from server to client
Using cookies for client-server communication
Using files on the server
Creating a File object
Opening and closing a file
Locking files
Working with files
Using the File object: an example
Using external libraries
Guidelines for writing external functions
Identifying library files
Registering external functions
Using external functions in JavaScript
Calling external functions: an example
Chapter 6 Creating database applications
The LiveWire three-tier architecture
Installing database components
An example: the Video application
Creating the Video database
Connecting to the database
Running Video
Looking at the source files
Working with databases
Connecting to a database
Displaying queries with SQLTable
Disconnecting from a database
Executing passthrough SQL statements
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
Chapter 7 JavaScript Statements
break
comment
continue
for
for...in
function
if...else
new
return
this
var
while
with
abs
acos
action
addClient
agent
alert
alinkColor
anchor method
anchor object
anchors
appCodeName
appName
appVersion
arguments array
arguments property
asin
atan
back
beginTransaction
bgColor
big
blink
blob
blobImage
blobLink
blur
bold
button
byteToString
callC
ceil
charAt
checkbox
checked
clear
clearError
clearTimeout
click
client
close (cursor object)
close (document object)
close (File object)
close (window object)
columnName
columns
commitTransaction
confirm
connect
connected
cookie
cos
cursor method
cursor object
cursorColumn
database
Date
debug
defaultChecked
defaultSelected
defaultStatus
defaultValue
deleteRow
destroy
disconnect
document
E
elements array
elements property
encoding
eof
error
escape
escape
eval
execute
exists
exp
expiration
fgColor
File
fixed
floor
flush function
flush method
focus
fontcolor
fontsize
form
forms
forward
frame
frames
getDate
getDay
getHours
getLength
getMinutes
getMonth
getOptionValue
getOptionValueCount
getPosition
getSeconds
getTime
getTimezoneOffset
getYear
go
hash
hidden
history
host
host
hostname
hostname
href
imageX
imageY
index
indexOf
inputName
insertRow
ip
isNaN
italics
lastIndexOf
lastModified
length
length
link method
link object
linkColor
links
LN2
LN10
location object
location property
lock
log
LOG2E
LOG10E
majorErrorCode
majorErrorMessage
Math
max
method
method
min
minorErrorCode
minorErrorMessage
name
navigator
next
onBlur
onChange
onClick
onFocus
onLoad
onMouseOver
onSelect
onSubmit
onUnload
open
open (document object)
open (window object)
options
parent
parse
parseFloat
parseInt
password
pathname
PI
port
port
pow
project
prompt
protocol
protocol (request object)
protocol (server object)
radio
random
read
readByte
readln
redirect
referrer
registerCFunction
request
reset
rollbackTransaction
round
search
select method
select object
selected
selectedIndex
self
server
setDate
setHours
setMinutes
setMonth
setPosition
setSeconds
setTime
setTimeout
setYear
sin
small
SQLTable
sqrt
SQRT1_2
SQRT2
status
strike
string
stringToByte
sub
submit method
submit object
substring
sup
tan
target
text object
text property
textarea
title
toGMTString
toLocaleString
toLowerCase
top
toUpperCase
unescape
unescape
unlock
updateRow
userAgent
UTC
value
vlinkColor
window object
window property
write
write function
write method
writeByte
writeln
writeln
Glossary
Index