Search Results for method

 

Method

Private Method contained within a given procedure.

 

Public Method

A Public Method may be called from any other Procedure, by the Default plug-in as part of the CMS.

 

Public Method WorkQuery Example

In this example, you will see how to use a public method that works on or with the current WorkQuery that you pass into the method.

 

PaaS Method

A PaaS Method may be called by any other Moxie system. In order to call a PaaS Method from MOX, the PaaS statement is used.

 

Remote Method

A Remote Method may be called by any other Moxie system. It can be used to divide up a large system among a number of backend servers, or as a public API for 3rd parties. In order to call a Remote Method from MOX, the Remote statement is used.

 

ForEach

Takes a variable number of parameters, QueryName, MethodName, [Param1, [Param2, etc...]]

 

Function

A special type of Private Method, called a Private Function, that is intended to return a single value or multiple values simultaneously.

 

HtmlButton

Takes 6 parameters, Location, Mode, ActionLabel, ActionPath, Class, ActionMethod

 

HtmlForm

Takes 6 parameters, Location, Mode, ActionLabel, ActionPath, Class, ActionMethod

 

CFApi$

Takes three parameters Method, URL, Body

 

Throttle / End Throttle

Takes one parameter, SlowWritePercent

 

Thread

Takes a variable number of parameters

 

PaaS

Takes three parameters, Url, SaaSTenant, InputQuery, OutputQuery

 

OnError / End OnError

Takes one parameter, Control

 

Remote

Takes three parameters, Url, InputQuery, OutputQuery

 

Select / Case / End Select

Takes a variable number of conditional statements to compare against a single source

 

Return

Takes a variable number of parameters.

 

[Meta]

Takes no parameters

 

[Me]

Takes no parameters

 

[TQName]

Has no parameters

 

HtmlBlock / End HtmlBlock

Takes two parameters, Location, Mode

 

Shell$

Takes two parameters Command, Options

 

TRONLog

Takes one parameter, OutputText

 

TRON

Takes two parameters, FilePath, ForceFlush

 

Cloudflare Origin Certificates

Cloudflare automatically provides free client-facing certificates for your domain, even when 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 when you are going to have Cloudflare connect to inbound open ports on your Moxie.Build server.

 

Setup Table

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.

 

Command Line with .mox file

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.

 

NewEComQuery

Takes one parameter, QueryName

 

 

 

MOX Coding and Programing Language Syntax Documentation

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.

 

Style Guide, Procedures and Code Documentation

This style guide provides comprehensive standards for writing clean, maintainable, and consistent MOX code for Moxie.Build. Code examples on this page are for illustrative purposes and are only intended to demonstrate style conventions.

 

Get Started with Setting up the Development Environment

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.

 

Plus8Encode

Takes three parameters, FieldBase, Fields, IfLenFld

 

HtmlBlocks / End HtmlBlocks

Takes two parameters, Location, Mode

 

SkipCalls

Takes no parameters

 

Plus8Decode

Takes three parameters, FieldBase, Fields, IfLenFld

 

Export and Import of Database Schema

ExportSchema and ImportSchema are BuiltIn procedures that are available for use with source control systems.

 

Include

Takes one parameter, ProcedureName

 

If (Not) / And / Or / ElseIf / End If

Takes a variable number of conditional logical if statements

 

Get

Takes two parameters, TableName, IfLenFld

 

Macro

A set of instructions that can be called with parameters to run in the current scope.

 

GoTo

Takes one parameter, a Label

 

Message Handler

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.

 

Include

An Include Procedure cannot be executed directly, the contents of its source code can only be Included into other Procedures using the Include command.

 

Exit (Proc)

Takes no parameters

 

Call

Takes a variable number of parameters