MIVA Script

From Wikipedia, the free encyclopedia

MIVA Script is a proprietary computer scripting language mainly used for internet applications such as e-commerce. Today it is developed by the MIVA Small Business, based in San Diego, California, a division of MIVA, Inc. (formerly FindWhat.com, Inc.). Although quite a number of web hosting companies support MIVA on their servers, it is significantly less widespread than its popular competitor PHP.

Contents

[edit] History

The language was first developed under the name htmlscript by Joe Austin and others in 1995, and a company, htmlscript corporation, was formed the following year.

In 1997, Jon Burchmore extensively rewrote the language to make it more syntactically consistent, although the new engine supported both old htmlscript and new (named mivascript) syntaxes.

[edit] Where Are They Now?

Joe Austin - Former CEO (founder) Tilana Systems

Troy McCasland - Former VP, Sales & Marketing (co-founder) Rental Avenue

Jon Burchmore - Former VP, Software Development Tilana Systems

Tim Sullivan - Former CFO Tilana Systems

Derek Finley - Former VP, Marketing Tilana Systems

Jeff Huber - Former Director, Applications Development 4TheBest.net

John Negretti - Former MIVA Script Evangelist IdeaBlue

[edit] Language features

MIVA Script is often described as 'XML-like' although this is something of a misnomer. It consists of tags which may be interspersed with (x)html and which all start with <Mv . There are both paired and stand-alone ("empty") tags. In addition, from version 3.9 onwards, HTML attributes which are encapsulated with braces (e.g. <img src="{g.source}">) are evaluated by the MIVA processor.

Probably the most significant feature of the language is that it has native support for the venerable dBase database platform (DBF III), albeit with a proprietary (but very fast) index format.

Variables are untyped and are not pre-declared. .mvc and .mv are the file extensions used for MIVA Script.

Proponents of the language cite a relatively short learning curve, fast script development and native database support as the principal reasons to use the language.

[edit] Implementations

[edit] MIVA Empresa

In versions numbered less than 4.0, MIVA Empresa is a script interpreter available for web servers running *ix and Microsoft Windows operating systems. The most recent interpreter version is 3.9705. Interpreted MIVA is still widely supported by many web hosts. Versions numbered 3.9x are a transitional form of the language, implementing some (but not all) of the new features found in version 4, such as arrays.

Since 4.0, MIVA Empresa is a Virtual Machine for running compiled mivascript, again available in versions for *ix and Microsoft Windows.

The current version level 5.x added new language constructs, native MySQL support, a new access-methodology for dbIII tables, called MIVA-SQL, as well as a new templating syntax that the Empresa Virtual Machine can compile on the fly.

[edit] MIVA Mia

MIVA Mia is a version of the MIVA engine designed to run on a Windows PC as a localhost server watching a specified port. (usually 8000 or 8080). No other server software is required unless the POP and SMTP functions are required. This provides a portable, stand-alone development environment.

There is a MIVA Mia release to complement each MIVA Empresa release, and once again, versions prior to 4 are interpreters while 4.0+ only work with compiled script. There are a few minor differences between.

[edit] MIVA Script Compiler

The long-awaited MIVA Script Compiler was introduced in mid-2002, offering both better performance and the closure of application source code. Compilability required some changes to the language, with support for the old htmlscript syntax and macros evaluated at runtime (often considered a security risk) dropped. The compiler produces a platform-independent bytecode which runs on the MIVA Empresa and MIVA Mia Virtual Machines (presently 2/15/2005 -- there are minor variations between MIVA Empresa and MIVA Mia Virtual Machines).

In May 2005, MIVA Corporation made the MIVA compiler available free.

[edit] See also

[edit] External links

In other languages