Search Results for method

 

Method

Private Method contained within a given procedure.

 

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.

 

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.

 

Public Method

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.

 

CFApi$

Takes three parameters Method, URL, Body

 

Function

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

 

ForEach

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

 

HtmlForm

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

 

HtmlButton

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

 

TRON

Takes one parameter, FilePath

 

Return

Takes a variable number of parameters.

 

Remote

Takes three parameters, Url, InputQuery, OutputQuery

 

Select / Case / End Select

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

 

Thread

Takes a variable number of parameters

 

Sleep

Takes one parameter.

 

SkipCalls

Takes no parameters

 

Get

Takes two parameters, TableName, IfLenFld

 

Plus8Decode

Takes three parameters, FieldBase, Fields, IfLenFld

 

HtmlBlocks / End HtmlBlocks

Takes two parameters, Location, Mode

 

Plus8Encode

Takes three parameters, FieldBase, Fields, IfLenFld

 

HtmlBlock / End HtmlBlock

Takes two parameters, Location, Mode

 

Cloudflare Origin Certificates

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.

 

TRONLog

Takes one parameter, OutputText

 

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.

 

[TQName]

Has no parameters

 

[Me]

Takes no parameters

 

PaaS

Takes three parameters, Url, SaaSTenant, InputQuery, OutputQuery

 

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.

 

Export and Import of Database Schema

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

 

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.

 

Style Guide, Procedures and Code Documentation

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.

 

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.

 

 

 

Include

Takes one parameter, ProcedureName

 

Macro

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

 

NewEComQuery

Takes one parameter, QueryName

 

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

Takes a variable number of conditional statements

 

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.

 

Exit (Proc)

Takes no parameters

 

GoTo

Takes one parameter, a Label