Miva Script is the server side scripting language of the Miva
Merchant shopping cart, but it's uses go much
further. It is especially well suited for web development having built
in support for MySQL, MivaSQL and xBase3 databases.
A typical Miva Script application combines HTML tags, Miva
Script tags and functions; is compiled and uploaded to a web
server running the FREEMiva Merchant Empresa.
You can also run your scripts on your local computer by running the FREEMiva Merchant Mia,
making it very easy to start learning Miva Script right away. Oh and
did we mention the Miva
Compiler is also FREE.
Miva Script tags and functions correspond to typical
programming language constructs. The database, mail, commerce
and new graphics functionality provide a rich set of tools for
Miva Script is fast. Because it is efficiently coded and
compiled, your server side scripts will execute quicker and your web
pages will display faster providing your users with a better experience.
The following libraries are now dynamically loaded and need to be registered as system libraries:
MySQL: A system library with code "MYSQLCLIENT" must be registered and point to the location of the MySQL client library
E.g. <SYSTEM-LIB CODE="MYSQLCLIENT" LIBRARY="/usr/local/mysql/lib/libmysqlclient.dylib">>
PostgreSQL: A system library with code "PQ" must be registered and point to the location of the PostgreSQL library
E.g. <SYSTEM-LIB CODE="PQ" LIBRARY="/usr/lib/libpq.dylib">
bzip2: A system library with code "BZ2" must be registered and point to the location of the bzip2 library
E.g. <SYSTEM-LIB CODE="BZ2" LIBRARY="/usr/lib/libbz2.dylib">
Added support for routing TCP requests through a SOCKS proxy server.
Added support for OpenSSL 1.1.x.
Added the ability to log slow requests to the system log via the MvCONFIG_SLOWREQUEST_SYSLOG configuration settings
Tag error messages such as g.MvOPENVIEW_Error, g.MvCALL_Error, and g.MvDO_Error no longer contain entity encoded values. The
MivaScript developer is now responsible for encoding any and all necessary values before outputting the data.
The FastCGI application now loads the MvCONFIG_LIBRARY environment variable from its own environment. This requires the
environment variable to be set prior to the FastCGI process being spawned.
The FastCGI application now uses the SCRIPT_NAME environment variable instead of the PATH_INFO environment variable when parsing
and executing the desired file path.
Spring 2018 Site updated to 5.32. Added Redis: Redis allows building advanced caching mechanisms into Miva Script applications.
8/8/2017 Site updated to 5.26, 5.27 and 5.28. The MvCall Page has better descriptions of the methods, links to more information and a few new examples.
9/19/2016, All function category assignments were re-evaluated and corrections made. A new category called Encoding was added below the String category and Inspection was moved below Strings. Also array and structure functions were removed from system and placed under the Array category.