Search Results for tab

 

ReorderTableProcs

Takes two parameters, TableName, ProcList

 

ReorderTableRltns

Takes two parameters, TableName, RltnList

 

ResetTableNextAlias

Takes one parameter, TableName

 

ReorderTableFields

Takes two parameters, TableName, FieldList

 

NewTableField

Takes six parameters, TableName, FieldName, Label, Note, Attr, DevNote

 

NewTableProc

Takes nine parameters, TableName, ProcName, Type, Params, GroupTypes, Label, Note, DevNote, Source

 

NewTableRltn

Takes seven parameters, TableName, OtherTableName, ParentChild, Ratio, Note, Attr, DevNote

 

UpdateTableProc

Takes ten parameters, TableName, OldProcName, NewProcName, Type, Params, GroupTypes, Label, Note, DevNote, Source

 

UpdateTableRltn

Takes eight parameters, TableName, OldOtherTableName, NewOtherTableName, ParentChild, Ratio, Note, Attr, DevNote

 

ETableStream

Takes two parameters, ExcelTableData, Options

 

UpdateTableField

Takes seven parameters, TableName, OldFieldName, NewFieldName, Label, Note, Attr, DevNote

 

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

 

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.

 

LoadTableFiles

Takes one parameter, TableName

 

DeleteTableField

Takes two parameters, a TableName and FieldName

 

DeleteTableProc

Takes two parameters, a TableName and ProcName

 

DeleteTableRltn

Takes two parameters, a TableName1 and TableName2

 

AppendTable

Takes one parameter, TableName

 

CopyTable

Takes four parameters, DestinationTable, SourceTable, bWithParents, bWithPWHashes

 

DeleteTable

Takes one parameter, TableName

 

EmptyTable

Takes one parameter, the name of a database table

 

LoadTable

Takes one parameter, TableName

 

LoadTableFields

Takes one parameter, TableName

 

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.

 

NewTable

Takes two parameters, TableName, AutoAlias

 

TabStream$

Takes one parameter, bNoHeaders

 

LoadTabFile

Takes two parameters, FileName, bHasHeader

 

 

LoadTabFileWS

Takes two parameters, FileName, bHasHeader

 

MakeValidTable$

Takes one parameter, Source

 

ListTables

Has no parameters

 

ETableReply

Takes 2 parameters, Result, Status

 

IsValidTable$

Takes one parameter, a Source value

 

Export and Import of Database Schema

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

 

HtmlTab

Takes 3 parameters, Location, Mode, bWithNoHeader

 

HtmlDTable

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

 

HtmlETable

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

 

HtmlTable

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

 

TabStreamWS

Takes two parameters, CSVData, bNoHeaders

 

SaveTabFile

Takes two parameters, FileName, bUseHeader

 

TabStream

Takes two parameters, Data, bHasHeader

 

 

 

 

 

 

 

 

 

 

Search

Takes three parameters, TableName, SearchTerms, SearchInFields

 

New

Takes two parameters, TableName, IfLenFld

 

ParentsAlias

Takes three parameters, ChildTableName, ParentTableName, Mode

 

PWHash

Takes three parameters, TableName, Alias, Password

 

NewWithAttach

Takes 4 parameters, TableName, Relation, OtherTableName, IfLenFld

 

Parents

Takes three parameters, ChildTableName, ParentTableName, Mode

 

Lookup

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

 

ChildrenAlias

Takes two parameters, ChildTableName, Mode

 

Children

Takes two parameters, ChildTableName, Mode

 

Exists$

Takes two parameters, DBTableName, DBTableRecordAlias

 

FirstAlias$

Takes one parameter, TableName

 

Lookup$

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

 

PWHash$

Takes three parameters, TableName, Alias, Password

 

Attach

Takes 3 parameters, ParentTableName, ChildTableName, IfLenFld

 

LastAlias$

Takes one parameter, TableName

 

Delete

Takes two parameters, TableName and a boolean expression

 

ListProcs

Takes one parameter, TableName

 

ListFields

Takes one parameter, TableName

 

LoadRecord

Takes two parameters, TableName, RecordAlias

 

ListRltns

Takes one parameter, TableName

 

DetachWithDelete

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

 

Detach

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

 

Get

Takes two parameters, TableName, IfLenFld

 

Flush

Takes one parameter, TableName

 

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.

 

UpdateOrNew

Takes two parameters, TableName, IfLenFld

 

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.

 

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

 

UpdateOrNewWithAttach

Takes four parameters, TableName, Relation, OtherTableName, IfLenFld

 

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

 

Update

Takes two parameters, TableName, IfLenFld

 

Home

Web/API Development Platform with an in-memory database, native-code CMS, and a powerful runtime environment Whether you are a new startup taking off or optimizing your business model for growth, Moxie.Build provides a robust platform with a proven track record for marketplaces, eCommerce, and business process automation

 

[SearchSort]

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

 

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

 

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.

 

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.

 

LTrimFields

Takes one parameter, FieldBaseToTrim

 

NewRecords

Takes one parameter, QuantityToAdd

 

Backfill

Has no parameters

 

NameField

Takes three parameters, FieldBase, OldFieldName, NewFieldName

 

HtmlNav

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

 

HtmlForm

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

 

HtmlNavbar

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

 

SaveJsonFile

Takes two parameters, FileName, Options

 

Pull

Takes three parameters, QueryName, FieldBase, FieldNames

 

Utf16ToAnsi$

Takes one parameter, Source

 

Utf16ToUtf8$

Takes one parameter, Source

 

WebSafe$

Takes one parameter, Source

 

TimeZone$

Takes two parameters, Source, Value

 

NamesToLabels

Takes no parameters

 

TimeDif$

Takes two parameters, Source, Value

 

TimeSub$

Takes two parameters, Source, Value

 

PickFirstField

Takes three parameters, FieldBase, Destination, SourceFields

 

TemplateType

Takes one parameter, Type

 

Parse

Takes seven parameters, FieldBase, Destination, Source, bAny, Delimiter, Item, IfLenFld

 

Lang

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

HtmlHistory

Takes two parameters, Title, Path

 

Plus8Encode

Takes three parameters, FieldBase, Fields, IfLenFld

 

TemplateCustom

Takes one parameter, TemplateData

 

LoadRawFile

Takes one parameter, FilePath

 

SSReference

A command to help build spreadsheets

 

Sort

Takes two parameters, FieldBase, SortFieldList

 

Build

Takes a variable number of parameters

 

DeleteFields

Takes two parameters, FieldBase, FieldNameList

 

FixFields

Takes one parameter, a single character

 

EnsureNavFields

Takes two parameters, FieldBase, FieldNamesList

 

EnsureFields

Takes two parameters, FieldBase, FieldNames

 

Session

Takes two parameters, Name, Value

 

Setup

Takes two parameters, Name, Value

 

SkipCalls

Takes no parameters

 

SendEmail

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

 

SetNew

Takes four parameters, FieldBase, FieldName, Source, IfLenFld

 

SetIfAll

Takes a variable number of parameters, FieldBase, Destination, Source, Test1, Test2, [etc...]

 

SetIf

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

 

FlushAll

Has no parameters

 

KeepIfFound

Takes 3 parameters, FieldBase, Fields, SearchTerms

 

KeepIfAll

Takes a variable number of parameters, FieldBase, Test1, Test2, [etc..]

 

GetFieldDefs

Has no parameters.

 

ListQueries

Takes no parameters

 

HtmlDropdown

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

 

KeepUnique

Takes one parameter, FieldName

 

Value

Takes four parameters, FieldBase, Destination, Function, IfLenFld

 

Time

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

 

Text

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

 

Geo

Takes nine parameters, FieldBase, Destination, Function, Source1, Source2, Source3, Source4, Options, IfLenFld

 

KeepIf

Takes 4 parameters, FieldBase, Left, Comparison, Right

 

KeepFields

Takes two parameters, FieldBase, FieldNamesList

 

WithGroup

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

 

TimeAdd$

Takes two parameters, Source, Value

 

[Sort] (DB Relationship Attribute)

Accepts a space separated list of field names.

 

 

 

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.

 

Folder and File Structure

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.

 

 

[MaxLen]

Accepts a numeric value as a parameter.

 

[Raw] Raw HTML

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

 

[FieldList]

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

 

[SearchFieldList]

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

 

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.

 

Critical

Takes one parameter, the Name of the critical section

 

CopyUnique

Takes four parameters, DestinationQuery, SourceQuery, UniqueField, UniqueValue

 

EmailErr

Takes two parameters, SubjectPrefix, EmailBody

 

ForEach

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

 

FailIfRecError

Has no parameters

 

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.

 

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.

 

CFPurge

Takes one parameter, the URL to purge from CloudFlare's cache

 

CopyQuery

Takes two parameters, destinationQuery, sourceQuery

 

CopyFirst

Takes two parameters, DestinationQuery, SourceQuery

 

Licensing

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

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

 

Learn More About the Content Management System

Prerequisites: This page assumes that you have already set up your Moxie.Build server and logged in as an admin user. This page covers some of the basics that are involved in using the Content Management aspects of the Moxie.Build system.

 

Help with Markdown

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

 

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

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.

 

Get Started with Service Setup on a Server

A single Windows OS can host many instances of Moxie.Build, these steps will guide you through the setup process.

 

 

 

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.

 

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

Takes 1 parameter, a formatting mask

 

[Header] Raw HTML

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

 

[#] Format (DB Field Attribute)

Takes 1 parameter, a formatting mask

 

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

 

[!] Limited Selection List

Parameter is a comma separated list (using CSV rules and not in quotes) of the options made available to the user which are enforced on save.

 

[L] Lookup (DB Field Attribute)

Takes one parameter.

 

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

 

[Ajax]

Takes 3 parameters, Trigger, DestinationID, Path

 

[Date] (DB Field Attribute)

Has no parameters.

 

[Footer] Raw HTML

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

 

 

FieldDef$

Takes one parameter, FieldName

 

Cuid$

Has no params

 

Guid$

Takes no parameters

 

JsonEncode$

Has two parameters: Source, Options

 

IsGroupType$

Takes two parameters: Username, GroupTypes

 

AntiCsrf$

Has no params

 

[Meta]

Takes no parameters

 

CFApi$

Takes three parameters Method, URL, Body

 

Ctid$

Has no params

 

CheckPw$

Takes two parameters, User and Password

 

JsonStream$

Has one parameter, Options

 

RecoverMOX$

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

 

RecoverHtmlObj$

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

 

RecoverTmpl$

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

 

Setup$

Takes one parameter, Name

 

SessionIsGroupType$

Takes one parameter, a List of possible group types

 

LoadFile$

Takes one parameter, PathToFile

 

Lang$

Takes one parameter, Source

 

Path$

Takes one parameter, Index

 

RecoverHtml$

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

 

RawStream$

Takes one parameter, a top query destination variable

 

OnError (Continue)

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

 

Meta

Takes any unspecified data, intended for use by external systems

 

PaaS

Takes three parameters, Url, SaaSTenant, InputQuery, OutputQuery

 

Remote

Takes three parameters, Url, InputQuery, OutputQuery

 

[Pull] List of Fields from another Query

Takes three parameters, QueryName, FieldBase, FieldNames

 

ForeignWith

Takes a single parameter, a FieldBase

 

Foreign

Takes a single parameter, a QueryName

 

GoTo

Takes one parameter, a Label

 

LangWith

Has one parameter, a Content.Lang prefix

 

If (Not) / Then

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

 

ServerLog

Takes one parameter, ServerLogText

 

Nightly Management Utility

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.

 

Moxie.cfg Config

The Moxie.cfg file is read on server start and controls aspects that cannot be changed while the server is running.

 

Using the Backtick `

Some Work Query command parameters can accept a source of either a Work Query Field name or a text literal. Text literals in these cases are prefixed with a backtick ` character.

 

[L] Lookup (Top Query)

Takes one parameter.

 

[AnyRecError]

Takes no parameters.

 

Thread

Takes a variable number of parameters

 

Sleep

Takes one parameter.

 

Try / Catch / Finally / End Try

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

 

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.

 

Cloudflare Integration

Cloudflare is a first and foremost a Web Application Firewall and Content Distribution Network, among other additional services.