Welcome To Miva Mia

Example Apps

Miva Mia is the personal version of the Miva Engine. It includes a built-in web server for running applications and HTML documents on Windows 95/98.

Miva Mia's pre-processor technology provides an excellent development environment for building, testing, and running interactive web applications on Windows 95/98 before moving them to a Miva Empresa enabled web server.

    Scripting -
    Miva Mia runs applications written in Miva Script - the XML based language which uses HTML-like syntax and provides a powerful set of advanced web development features.

    Integrated Database -
    A high performance, architecture neutral, multi-user database system is integrated into the Miva Engine. The database system uses xBase compatible data files and special cross platform index files. Database and index files can be copied and used across web server platforms without any conversion or time consuming data unload/load procedures.

    Commerce -
    The Miva Commerce System (MCS) is a simple-to-use and generalized interface to execute transactions with commerce providers such as CyberSource, CyberCash, and Cardservice for tasks such as credit card processing, sales tax lookup, export controls, product fulfillment, online shipping calculations, and other services. MCS uses a METHOD to determine which commerce processing sub-system should be used to conduct a secured server to server transaction.

How To Use Miva Mia
Use any standard web or text editor to write Miva applications and HTML files, or modify copies of the examples. Miva Mia runs in the background and lets you run your Miva applications and standard HTML files without an Internet connection.

Miva applications use four types of files:

  1. Miva Source Code (Application) Files -
    Files that contain Miva Script and/or HTML code.

  2. Delimited (Flat) Data files -
    ASCII files that contain one record per line with fields separated by one or more ASCII characters.

  3. Miva Database Files -
    Databases that may be ordered by multiple index files.

  4. Miva Index Files -
    Files that impose a logical view on the Database files.

Typically source code files go in one directory while data files go in a different, parallel directory. This is also the standard way that many Miva enabled hosting services organize web space accounts that use the Miva Engine on their servers.

You should take the following steps to become familiar with programming in the Miva environment:

  • Read the Miva Script Reference Manual.
  • Experiment by editing the examples using your favorite text editor. Most people find that WordPad (in text mode), which is included with Windows 95/98, is a simple way to access the files. In the default configuration, the example files are located in the c:\MivaMia\HTML directory. Data files are located in the c:\MivaMia\DATA directory.

    NOTE: It is always a good idea to make a backup copy of the files before editing them.

  • Use Miva Mia Administration to change the default settings and configuration. In most cases, the default settings can be used with no changes. When Miva Mia is running, the Miva "blades" logo appears in your taskbar. Double click on the blades (or right click and choose "properties") to access Miva Mia Administration.

How To Publish Your Miva Mia Applications On The Web
Following are some options available to you for getting your Miva applications and data published on the Internet:

  • Hundreds of Miva Enabled Hosting Providers offer access to the Miva Engine as a standard, and often free, service.

  • If your hosting provider doesn't offer Miva access, please refer them to us, and Miva Corporation will work with your hosting provider to get the Miva Engine installed on their systems.

  • You can also Buy your own license to the Miva Engine, and install it in your private cgi-bin, or your own web server.

 

Hello, World!
examples/hello/
Demonstrates basic Miva programming concepts.

MvSMTP
examples/MvSMTP/
Sends Email messages using the <MvSMTP> tag.

Database
examples/database/
Demonstrates manipulating an xBase database.

The Mazes of Miva
examples/maze/
Generates and Solves random mazes. Demonstrates arrays and structures.

Hunt the Wumpus
examples/wumpus/
A Miva conversion of the classic computer game.

The source code for the examples can be viewed in any text editor.

 ©1998, 2001 Miva Corporation. All rights reserved.