Search Results for tab

 

ETableStream

Takes two parameters, ExcelTableData, Options

 

EmptyTable

Takes one parameter, the name of a database table

 

CopyTable

Takes two parameters, destinationTable, sourceTable

 

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.

 

AppendTable

Takes one parameter, TableName

 

LoadTableFiles

Takes one parameter, TableName

 

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.

 

UnloadTableFiles

Takes one parameter, TableName

 

LoadTable

Takes one parameter, TableName

 

LoadTableFields

Takes one parameter, TableName

 

TabStream$

Takes one parameter, bNoHeaders

 

IsValidTable$

Takes one parameter, a Source value

 

 

MakeValidTable$

Takes one parameter, Source

 

ETableReply

Takes 2 parameters, Result, Status

 

HtmlDTable

Takes 5 parameters, Location, Mode, Class/ID, Init, bNoAutoAlign

 

TabStream

Takes two parameters, Data, bHasHeader

 

HtmlETable

Takes 6 parameters, Location, Mode, Div, Data, Script, Extra

 

HtmlTable

Takes 6 parameters, Location, Mode, Class, bNoHeader, bNoAutoAlign, bNoIDTags

 

HtmlTab

Takes 3 parameters, Location, Mode, bWithNoHeader

 

LoadTabFile

Takes two parameters, FileName, bHasHeader

 

DeleteTableField

Takes two parameters, a FieldBase and FieldNamesList

 

SaveTabFile

Takes two parameters, FileName, bUseHeaders

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Attach

Takes 3 parameters, ParentTableName, ChildTableName, IfLenFld

 

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.

 

FieldDef$

Takes a single parameter, in the format of TableName.FieldName#Deff where Deff is one of: Label, Attr, Note, or DevNote

 

LastAlias$

Takes one parameter, TableName

 

FirstAlias$

Takes one parameter, TableName

 

[L] Lookup (Top Query)

Parameter is the database path that is to be looked up in the form of TableName|Alias|FieldName where it may be a specific fixed path or you may use {} to replace one or more of the path components where the value inside the {} is a field name in the current record.

 

Exists$

Takes two parameters, DBTableName, DBTableRecordAlias

 

Lookup$

Takes one parameter, in the form of: Table|{Alias}|Field

 

PWHash

Takes three parameters, TableName, Alias, Password

 

Parents

Takes three parameters, ChildTableName, ParentTableName, Mode

 

NewWithAttach

Takes 4 parameters, TableName, Relation, OtherTableName, IfLenFld

 

Search

Takes three parameters, TableName, SearchTerms, SearchInFields

 

UpdateOrNewWithAttach

A database command which takes four parameters, TableName, Relation, OtherTableName, IfLenFld

 

UpdateOrNew

A database command which takes two parameters, TableName, IfLenFld

 

Update

A database command which takes two parameters, TableName, IfLenFld

 

New

Takes two parameters, TableName, IfLenFld

 

Detach

Takes 3 parameters, ParentTableName, ChildTableName, and a boolean expression (optional)

 

Delete

Takes two parameters, TableName and a boolean expression

 

Children

Takes two parameters, ChildTableName, Mode

 

DetachWithDelete

Takes 4 parameters, TableName, Relation, OtherTableName, and a boolean expression (optional)

 

Lookup

Takes six parameters, FieldBase, Destination, Table, Alias, SourceField, IfLenFld

 

LoadRecord

Takes two parameters, TableName, RecordAlias

 

Get

Takes one parameter, a TableName

 

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.

 

[AccKey] Keyboard Accelorator Key

Takes one parameter which is the keyboard key which will be used as the Access Key for a given Database Table's field.

*Note: By default, each Field's Access Key will be initialized to the first character of the Field's Label.

 

[A] Copy Attached Value

Parameter must first specify only looking at Parents ( PARENT ) or only looking at Children ( CHILD ). The remainder of the parameter should be the table and field name you are after in the form of TableName.FieldName.

 

Home

Web Portals & Databases

 

[L] Lookup (DB Field Attribute)

Parameter is the database path that is to be looked up in the form of TableName|Alias|FieldName where it may be a specific fixed path or you may use {} to replace one or more of the path components where the value inside the {} is a field name in the current record.

 

Simple To Do App with MEAN Stack Comparison

In this example, we use a plain old Moxie.Build system and compare it to the MEAN Stack equivalent by building two functionally equivalent versions of a fleshed out To Do List Application. Both versions utilize local user authentication, a relational database system and the security measures found in typical production-level applications on the web today.

 

[SearchSort]

Parameter is a space separated list of field names to have the display table sorted by when displaying search results.

 

Compress$

Compress any value/table

 

[&] Count Attached Child Records

Takes 1 Parameter which is the Table name that you want to count the Attached Records in. The specified Table must be a Child of the calling Record's Table.

 

[+] Sum of Field of Attached Child Records

Parameter is the table and field name that you want to sum in the form of TableName.FieldName. The specified Table must be a Child of the calling Record.

 

Setup

Takes two parameters, Name, Value

 

 

Session

Takes two parameters, Name, Value

 

CsvStream

Takes two parameters, CSVData, bNoHeaders

 

EnsureFields

Takes two parameters, FieldBase, FieldNames

 

SkipCalls

Takes no parameters

 

Build

Takes a variable number of parameters

 

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.

 

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.

 

[_#] Format if not blank (DB Field Attribute)

Takes 1 parameter, a formatting mask

 

[Date] (DB Field Attribute)

Has no parameters.

 

[D] Default Value

Parameter is a value or an expression to be used when a record is created if no value is specified during the creation. The value or expression is run through the Assignment Attribute in order to calculate it's result.

 

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.

 

 

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.

 

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.

 

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.

 

Licensing

Moxie.Build, in short, may be used free of charge for education, development, or non-profit organizations. Whenever it is deployed by government or for-profit organizations to a production environment the license is granted on a subscription basis.

Moxie.Build includes a number of open source components as part of its distribution. These are subject to their own licenses as included with the files for those components.

 

SSReference

A command to help build spreadsheets

 

Text

Takes six parameters, FieldBase, Destination, Function, Source, Value, IfLenFld

 

Value

Takes four parameters, FieldBase, Destination, Function, IfLenFld

 

SetIf

Takes six parameters, FieldBase, Destination, Source, Left, Comparison, Right

 

SetNew

Takes two parameters, FieldName, FieldValue

 

Sort

Takes two parameters, FieldBase, SortFieldList

 

WithGroup

Takes six parameters, FieldBase, GroupByField, Destination, Action, Source, IfLenFld

 

HtmlNav

Takes 7 parameters, Location, Mode, Title, TitleLink, Class, HtmlPre, HtmlApn

 

HtmlNavbar

Takes 10 parameters, Location, Mode, Title, TitleLink, Class, Fixed, bNotResponsive, bInverted, HtmlPre, HtmlApn

 

NamesToLabels

Takes no parameters

 

GetFieldDefs

Has no parameters.

 

HtmlDropdown

Takes 5 parameters, Location, Mode, Title, Element, Class

 

HtmlForm

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

 

SendEmail

Takes 10 parameters, FieldBase, From, To, Subject, Body, bMerge, AttachName, AttachPath, Slow, IfLenFld

 

KeepFields

Takes two parameters, FieldBase, FieldNamesList

 

KeepIf

Takes 4 parameters, FieldBase, Left, Comparison, Right

 

KeepIfFound

Takes 3 parameters, FieldBase, Fields, SearchTerms

 

EnsureNavFields

Takes two parameters, FieldBase, FieldNamesList

 

FixFields

Takes one parameter, a single character

 

JsonStream

Used to manipulate a WorkQuery into a JSON type

 

LoadRawFile

Takes one parameter, FilePath

 

Plus8Encode

Takes three parameters, FieldBase, Fields, IfLenFld

 

Pull

Takes three parameters, QueryName, FieldBase, FieldNames

 

SaveJsonFile

Takes two parameters, FileName, Options

 

LTrimFields

Takes one parameter, FieldBaseToTrim

 

NameField

Takes three parameters, FieldBase, OldFieldName, NewFieldName

 

NewRecords

Takes one parameter, QuantityToAdd

 

[Pull] List of Fields from another Query

Takes up to three parameters, QueryName, FieldBase, FieldNames

 

Remote

Takes three parameters, Url, InputQuery, OutputQuery

 

ServerLog

Takes one parameter, ServerLogText

 

OnError (Continue)

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

 

GoTo

Takes one parameter, a Label

 

If (Not) / Then

Takes a single Field name, with an optional Not operator, followed by the conditional statement

 

LangWith

Has one parameter, a Content.Lang prefix

 

Try / Catch / Finally / End Try

A traditional way to check for hard errors and enable those errors to error softly.

 

CsvStream$

Takes one parameter bNoHeaders and returns the result to an assigned variable

 

[Sort] (DB Field Attribute)

Used as a Relationship Attribute, the parameter is a space separated list of field names

 

IsGroupType$

Takes two parameters: Username, GroupTypes

 

CheckPw$

Takes two parameters, the User Alias, and the User PW to check

 

[AnyRecError]

Takes no parameters.

 

[FieldList]

Parameter is a space separated list of field names to be displayed.

 

CFApi$

Takes one parameter, a string parameter of the desired API command

 

[Sort] (DB Relationship Attribute)

Accepts a space separated list of field names.

 

CFPurge

Takes one parameter, the string URL to send to CloudFlare's API

 

CopyFirst

Takes two parameters, DestinationQuery, SourceQuery

 

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

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.

 

 

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.

 

CopyQuery

Takes two parameters, destinationQuery, sourceQuery

 

ForEach

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

 

Foreign

Takes a single parameter, a QueryName

 

ForeignWith

Takes a single parameter, a FieldBase

 

FailIfRecError

Has no parameters

 

Critical

Takes one parameter, the Name of the critical section

 

EmailErr

The email address that will receive any run time errors that a website encounters

 

 

RecoverHtmlObj$

Takes one parameter, EscapedHTMLString, and returns the Unescaped Version of this string

 

RecoverHtml$

Takes one parameter, EscapedHTMLString, and returns the Unescaped Version of this string

 

Utf16ToAnsi$

Takes one parameter, Source

 

Setup$

Takes one parameter, Name

 

LoadFile$

Takes one parameter, PathToFile

 

[Raw] Raw HTML

Accepts one parameter which is the raw HTML content to be placed in the form at the Field's location.

 

[!] Limited Selection List

Parameter is a comma separated list (without quotes) of the options made available to the user and enforced on save. If the Parameter is just the single word Checkbox, then instead of a drop down list with values, the user will be given a single checkbox; if it is unchecked the value will be blank, and if it is checked the value will be "y". When used with a Top Query in MOX, this will ensure the field value matches one of the options, if not it will throw a run time error.

 

[MaxLen]

Accepts a numeric value as a parameter.

 

Utf16ToUtf8$

Takes one parameter, Source

 

Backfill

Has no parameters

 

[Header] Raw HTML

Accepts one parameter which is the raw HTML content to be placed in the form, above the Field's location.

 

[Footer] Raw HTML

Accepts one parameter which is the raw HTML content to be placed in the form, below the Field's location.

 

[#] Format (DB Field Attribute)

Takes 1 parameter, a formatting mask

 

HtmlHistory

Takes two parameters, Title, Path

 

WebSafe$

Takes one parameter, Source

 

[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.

 

TemplateCustom

Takes one parameter, TemplateData

 

Lang$

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

JsonStream$

Used to manipulate a WorkQuery into a JSON type

 

[SearchFieldList]

Parameter is a space separated list of field names to be displayed when the user is viewing results from the Search List.