This video demonstrates how to get started with Moxie.Build with basic customization.
Developing in Moxie.Build on localhost give you the advantage of working with the template files natively. When working on procedures (MOX code) you need to access that through the Procedures page in the Admin area of a Moxie.Build system, if running the server on localhost or on a remote server. When running on a remote server, you can edit the template files via the Files page in the Admin area.
A single Windows OS can host many instances of Moxie.Build, these steps will guide you through the setup process.
This list of examples is going to grow over time. We are open to requests, as well as submissions if you have something you would like to share.
The following video demonstrates how to download Moxie.Build to your workstation, and run it on localhost.
The Moxie.cfg file is read on server start and controls aspects that cannot be changed while the server is running.
Takes three parameters, FilePath, Start, Len
To get started, be sure to first read the Service Setup on a Server topic under the Get Started menu.
The optional Moxie.http file is read on server start and controls the default HTTP headers set for all requests.
Takes two parameters, a source value, and a formatting mask.
Takes one parameter, a gregorian number
Has one parameter.
Takes two parameters, SourceValue, Position
Takes three parameters Method, URL, Body
Takes two parameters, Source, OptionsAndSecret
Takes two parameters, Source, Search
Takes two parameters, Source and Search
Takes 7 parameters, Location, Mode, Title, TitleLink, Class, HtmlPre, HtmlApn
Has one parameter, Options
Takes two parameters, Source, Value
A .mox file, with MOX code in it, can be run from the command line while a Moxie.Build system is not otherwise already running.
Takes 6 parameters, Location, Mode, Class, bNoHeader, bNoAutoAlign, bNoIDTags
Cloudflared Tunnel exposes applications running on your local web server on any network with an internet connection with an outbound tunnel that connects directly to Cloudflare's edge network without the need to configure inbound firewall rules.
Takes a variable number of parameters
Cloudflare automatically provides free client-facing certificates for your domain, even if using their free service. In addition, they provide free Origin Certificates to encrypt the connection between Cloudflare and your origin Moxie.Build server. Use this article if you are going to have Cloudflare connect to inbound open ports on your Moxie.Build server.
Takes 10 parameters, Location, Mode, Title, TitleLink, Class, Fixed, bUseContainer, bNotResponsive, bInverted, HtmlPre, HtmlApn
Takes 1 parameter, a formatting mask
Takes no parameters
Takes 1 parameter, a formatting mask
This utility program manages a server install with one or many Moxie.Build services running by taking care of nightly tasks via a scheduled task.
The Setup Table controls aspects that can be changed while the server is running, and is intended to contain both Moxie.Build specific values as well as application specific.
Takes two parameters, Source and Search
Takes two parameters, FileName, Options
Takes two parameters, FieldBase, FieldNameList
A command to help build spreadsheets
Takes two parameters, Location, Mode
Takes two parameters, [WorkWith]+Scope, EmbedScope
Takes five parameters, FieldBase, FieldList, Mask, bBlanks2Zero, IfLenFld
Takes no parameters
Takes two parameters, PathToFile, Options
Takes two parameters, FieldBase, FieldNamesList
Takes 7 parameters, FieldBase, GroupBy, GroupTotals, GrandTotals, Seperator, TotalPre, TotalPost
Has six parameters, UniqueParent, DestField, FieldBase, UniqueChild, EmbedFields, Options
Takes two parameters, Location, Mode
Takes 6 parameters, Location, Mode, ActionLabel, ActionPath, Class, ActionMethod
Takes three parameters, Location, ClassNames, AlertText
Takes two parameters, Source, Value
Takes two parameters Command, Options
Takes 6 parameters, Location, Mode, ActionLabel, ActionPath, Class, ActionMethod
Takes two parameters, TableName, IfLenFld
Takes 5 parameters, Location, Mode, Class/ID, Init, bNoAutoAlign
Takes two parameters, TableName, IfLenFld
Takes two parameters, Location, Mode
Has no parameters
Takes one parameter.
Takes 1 parameter, a formatting mask
Parameter is a space separated list of field names to have the display table sorted by when displaying search results in the Admin interface.
Takes 1 parameter, a formatting mask
Takes no parameters
Brief overview on the file structure and contents under Moxie. The files and folders discussed in this post are those that are essential when upgrading to the most recent version of Moxie.Build , or when troubleshooting server errors.
A Message Handler is only ever called by the Database on a Database Event. These Event Messages allow a Developer to intercept operations taking place on a per-record level and implement Event based business logic.
Accepts a space separated list of field names.
ExportSchema and ImportSchema are BuiltIn procedures that are available for use with source control systems.
Prerequisites: This tutorial assumes that you have already set up your Moxie.Build server and logged in. This page covers some of the basics that are involved in managing files and folders in the Moxie.Build system.
The MOX coding and programming language pays heritage to BASIC, but has been crafted for the specific type of work and environment that is demanded of Moxie.Build.
Prerequisites: This tutorial assumes that you have already learned about Managing Files .
Markdown enables simple formatting of plain text via easy to remember conventions. This page will provide you with some pointers on what formatting options are available with "Moxie Flavored Markdown".
In order for source code to be more readily readable across teams, it is recommended that your source code always be styled according to this style guide.
Takes two parameters, Text, Title
Takes two parameters, QueryName, Title
Takes any unspecified data, intended for use by external systems
Private Method contained within a given procedure.
Takes one parameter, ServerLogText
Takes one parameter, Value
A type of Prefix which allows the developer to separate blocks of code into organized, defined parts to help provide clarity of the logical block and add structure to the code.
Takes a variable number of conditional statements to compare against a single source
Takes a variable number of parameters
Takes one parameter, the URL to purge from CloudFlare's cache
A Public Method may be called from any other Procedure, by the Default plug-in, or a Custom COM DLL. Each Public Method may either use specific Input Parameters, or it may accept an Input Query.
Has no parameters
Takes a variable number of conditional statements
Has one parameter.
Takes two parameters, SubjectPrefix, EmailBody
Takes a variable number of parameters, QueryName, MethodName, [Param1, [Param2, etc...]]