Modular Gateway Interface
From Wikipedia, the free encyclopedia
Developed by | PagePlanet Software |
---|---|
Latest release | 2 / 2001 |
OS | Mac OS 9.1, Windows NT |
Genre | Web server plugin |
License | Proprietary |
Website | pageplanet.com |
Modular Gateway Interface (MGI) is a plugin for either WebSTAR server software for Mac OS 9 or IIS for Windows NT. A Mac OS X version, MGI3, was in development in early 2006. The software acts as a tag-based dynamic server facilitating interactive Web site creation, with capabilities roughly comparable to those of ASP, ColdFusion and PHP. MGI also includes internal databases as well as ODBC hooks to third-party databases.
MGI is a proprietary software product developed by PagePlanet Software of Raleigh, North Carolina.
[edit] MGI tags
For the Web site coder, MGI serves as a programming language which adds functionality to an HTML page. MGI tags embedded in the page cause desired server-side operations to be carried out, generating HTML and JavaScript which is then sent to the end-user's Web browser.
An aspect of MGI tags is their near-Plain English phrasing. In the example below using the mgiIf tag, text is generated dependent upon whether "A" is greater than "B." Note that "lhs" denotes the left-hand side of an equation, and "rhs" the right.
<mgiIf lhs="A" relationship="greaterThan" rhs="B"> A is greater than B! <mgiElse> A is not greater than B! </mgiIf>
[edit] MGI databases
MGI includes internal databases with six field types:
- whole number (integer)
- positive number (unsigned integer)
- multi-precision number (containing up to 50 significant digits including decimal positions)
- true/false (Boolean)
- text (containing up to 250 alpha-numeric characters)
- long text (containing more than 250 alpha-numeric characters)
[edit] External links
- MGI Discussion Forum and List Archive Search, archived discussions among MGI coders
- The MGI Store, a download site offering freeware, donationware and shareware MGI code
- PagePlanet Software, authors/vendors of MGI