Redwood User's ManualMiva
Main Table of Contents
Miva - Server-side scripting/database management with simple tags
Contents:
1) General description of Miva
Miva, formerly known as Htmlscript, is a powerful piece of software that allows anyone to
create dynamic, integrated web pages with simple Html like tags.
The Miva Engine is a language pre-processor for parsing and executing applications that
have been developed using the HTML based, XML compliant, Miva Script language.The XML based Miva Script language lets web site
developers access advanced commerce and database
features in a familiar environment -- HTML like tags.
Because the system is tag based, HTML users can build
active content documents without the burden of steep
training and support. Advanced users can develop
function libraries using Miva Script's user defined function
capabilities. Web
developers can implement applications that integrate
HTML, commerce gateways, electronic mail, database,
and internet protocols in a few hours.
Commerce - Access to the most popular commerce services on the
net is built into the Miva Engine and accessible via a
single tag. Using the MvCOMMERCE tag, developers can
securely and easily access back-end services from such
major names as CyberCash, CyberSource, and UPS.
Database - Access to industry standard databases is provided via
ODBC and SQL for selected operating system platforms.
All platforms have an integrated high performance,
architecture neutral, multi-user database system based
on the xBase standard. Database and index files can be
copied and used across platforms without any conversion
or time consuming data unload/load procedures.
Open Systems - The Miva Engine is fully standards based and integrates
with all popular Internet standards: HTML, XML, HTTP,
TCP/IP, POP3, SMTP, ISAPI, CGI, ODBC, APACHE,
UNIX, SSL, NSAPI, JAVASCRIPT, WINDOWS, and
JAVA
2) How to use Miva with your account
Miva files may be accessed directly in a URL. For example,
http://www.YourDomain.com/scriptname.mv
All miva files must end in .mv to be processed by the Miva engine. You may
put miva scripts in any directory off of your www directory.
If passing arguments to the script, use the following syntax, noting the placement of
the question mark and plus signs:
http://www.YourDomain.com/scriptname.mv?arg1+arg2+arg3
If you would like to use the old style of calling a Miva/Htmlscript file, you may also
use:
http://www.YourDomain.com/cgi-bin/miva?scriptname.hts
However, if you use this syntax, your miva files must be placed in the directory named
"public_hts" off of your www directory.
If you are having trouble getting miva to work for your account, email us and we will check
that it is setup properly for your account.
3) Other info about Miva
The best place to find out more about Miva is at the Miva Home Page.
The site contains documentation, explanations, signups to user mailing lists, and new info about Miva
products. We recommend signing up for the miva users mailing list, as the people there can often
answer your questions about any coding problems.
4) Examples / samples of programs
A simple example of a Miva Script program:
<HTML>
<HEAD>
<TITLE>A simple Miva Script program</TITLE>
</HEAD>
<BODY>
<H3>A simple Miva Script program</H3>
<MvASSIGN NAME="var1" value="5">
<MvASSIGN NAME="var2" value="8">
<P><b>The answer is: <MvEVAL EXPR="{var1 + var2}">.</B></P>
</BODY>
</HTML>
The web page when someone called this script would look like:
A simple Miva Script program
The answer is 13.
Although simple, it illustrates several important featues of Miva script programs.
|