Miva Script, like its open-source cousin
PHP
,
is a server-side HTML embedded scripting language.
Miva Scripts are executed by the Miva Engine, part of the
web server, which interprets your script in accordance with the
Miva Script language. Miva Script is quite powerful and allows
you to create extremely sophisticated
active web pages
"on
the fly."
Note: Although Miva Script is fairly simple to use,
it does require some programming skills and is intended for advanced
webmasters only.
Miva Script contains many functions to facilitate advanced
Web features such as form interpretation, cookies, http-header manipulation, automatic
headers and footers, dynamic page generation, etc.
Using Miva Script, your web pages can do tricks such as display
the current time and date, track user's activities from
page to page, process forms, display a standardized header or footer,
and much more.
Similar in functionality to perl
CGI
scripts,
Miva Scripts are executed by your Web server prior to being sent
to the user. Unlike CGI scripts however, Miva Scripts are embedded
within
your HTML file itself
, making the program easier to read,
debug and understand at a glance. This is quite similar to how
PHP
works,
although Miva uses a different syntax.
Like HTML and PHP, Miva Script is tag-based, so it does not
have a steep learning curve for novice webmasters. For a discussion of more advantages to using the Miva Script
language, visit the Miva web page at
http://www.miva.com/docs/api/index.html#script
Presently, all EarthLink web servers based in Digital Unix
are equipped to use Miva Script.
Note: EarthLink's Business Services Support
technicians cannot assist in the creation or maintenance of Miva
Scripts. For help with your scripts, visit Mivas's documentation
area at
http://www.miva.com/docs/
.
The first thing to do before writing a Miva Script-enabled
web page is to visit Miva's instructional area at
http://www.miva.com/docs/
.
There you will find complete documentation of the Miva Script
language, example code, and links to sites that use and support
Miva Script.
How to Create A Miva Script-enabled
Web Page
Write your Miva Script page as an ordinary text file
using a standard text editor or web editor, much as you would for
a regular HTML-based page. (Remember, the application you're
using to edit your pages must let you directly modify the HTML source
to add Miva Script tags)
After you've finished writing your page, upload
the file to your web server's
/www directory using your FTP application or the File Manager.
To test your script, try loading the file into your
web browser.
If you need to debug your script, simply edit the file,
re-upload, then reload the page with your browser.
Remember that all Miva Script files should have
an extension of
.mv
.
|