Search Results for procedure

 

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.

 

Syntax and Builtin Values, Procedures and Code Documentation

The MOX language pays heritage to BASIC, but has been crafted for the specific type of work and environment that is demanded of Moxie.Build.

 

 

 

 

 

 

Table Action

Table Actions are presented to the users of the Default Admin interface and are also intended to be made available in a dynamic way to users of a customized front end. As an Action, the Procedure is expected to perform some sort of task, such as an automated set of updates to the Database Table.

 

Record Action

Record Actions are presented to the users of the Default Admin interface and are also intended to be made available in a dynamic way to users of a customized front end. As an Action, the Procedure is expected to perform some sort of task, such as an automated set of updates to the Database Record.

 

Record Report

Record Reports are presented to the users of the Default Admin interface and are also intended to be made available in a dynamic way to users of a customized front end. As a Report, the Procedure is expected to produce output to be displayed to the user.

 

Table Report

Table Reports are presented to the users of the Default Admin interface and are also intended to be made available in a dynamic way to users of a customized front end. As a Report, the Procedure is expected to produce output to be displayed to the user.

 

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.

 

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.

 

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.

 

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.

 

Method

Private Method contained within a given procedure.

 

Include

Takes one parameter, ProcedureName

 

Learn More about Frontend Development

Prerequisites: This tutorial assumes that you have already set up a Category and Procedure if necessary. This page covers some of the basics that are involved in Front End development using the MOX language.

 

Firefox Extension - It's All Text!

This guide explains how to set up the Firefox extension It's All Text! to more easily edit your MOX procedures.

 

OnError (Continue)

Used as a scoping keyword, similar to WorkWith/End WorkWith .

 

LoadNulFile

Takes two parameters, FileName, bHasHeader

 

Remote

Takes three parameters, Url, InputQuery, OutputQuery

 

[If] Assignment (Top Query)

Parameter is divided into two parts, the Test and the Result if True. The test comes prior to the keyword of Then and the Result if True comes after.

 

SetKillCount

Takes one parameter, Value

 

LangWith

Has one parameter, a Content.Lang prefix

 

GoTo

Takes one parameter, a Label

 

Function

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

 

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

Takes a variable number of conditional statements

 

IncrKillCount

Has one parameter.

 

HtmlBlocks / End HtmlBlocks

Takes two parameters, Location, Mode

 

HtmlBlock / End HtmlBlock

Takes two parameters, Location, Mode

 

Html

Takes 3 parameters, Location, Mode, Text

 

HtmlHistory

Takes two parameters, Title, Path

 

HttpsEnsure

Takes no parameters.

 

HttpNoCache

Has no parameters.

 

Lang$

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

InStr$

Takes two parameters, Source, Match

 

InStr%

Takes two parameters, Source, Match

 

SkipCalls

Takes no parameters

 

InStrAny$

Takes two parameters, Source, Match

 

InStrAny%

Takes two parameters, Source, Match

 

Exit (Proc)

Takes no parameters

 

 

Templates Documentation

Prerequisites: This tutorial assumes that you have already learned about Managing Files .

 

[If] Assignment (DB Field Attribute)

Parameter is divided into two parts, the Test and the Result if True. The test comes prior to the keyword of Then and the Result if True comes after.

 

Overview for PHP Developers

This hands-on experience article is written by an experienced PHP developer, and serves as an overview to help you understand the similarities and differences.

 

 

Learn More About the Content Management System

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 using the Content Management aspects of the Moxie.Build system.

 

 

AjaxReply

Has no parameters

 

Critical

Takes one parameter, the Name of the critical section

 

Error

Takes one parameter, the text of the error to throw.