Search Results for rem

 

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.

 

Remain$

Takes two parameters, Source and Search

 

Rem / EndRem

A type of Prefix which allows the developer to separate blocks of code into organized, defined parts to help provide clarity of the logical block and add structure to the code.

 

Remote

Takes three parameters, Url, InputQuery, OutputQuery

 

RemoveAny$

Takes two parameters, Source and Search

 

Remove$

Takes two parameters, Source and Search

 

RemainAny$

Takes two parameters, Source and Search

 

Login$

Takes three parameters, Login, Password, bRememberMe

 

Login

Takes three parameters, Login, Password, bRememberMe

 

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

 

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.

 

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

 

[_$] Currency if not blank (Top Query)

Has no parameters. If the field is blank it will remain blank.

 

Cloudflare Integration

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

 

RawStream$

Takes one parameter, a top query destination variable

 

SessionIsGroupType$

Takes one parameter, a List of possible group types

 

Similar%

Takes 2 parameters, pNum1, pNum2

 

MCase$

Takes one parameter, Source

 

NulStream$

Takes one parameter, bNoHeader

 

PWHash$

Takes three parameters, TableName, Alias, Password

 

Similar$

Takes 2 parameters, pString1, pString2

 

HtmlAlert

Takes three parameters, Location, ClassNames, AlertText

 

HttpCookie

Takes 6 parameters, Name, Value, Path, Domain, Expires, Other

 

HttpsEnsure

Takes no parameters.

 

Trim$

Takes two parameters, Source, Search

 

TrimAny$

Takes two parameters, Source, Match

 

WebSafe$

Takes one parameter, Source

 

Json$

Has two parameters: Source, Name

 

JsonEncode$

Has two parameters: Source, Options

 

JsonStream$

Has one parameter, Options

 

CFApi$

Takes three parameters Method, URL, Body

 

Ctid$

Has no params

 

Http$

Takes 9 parameters, ServerName, Port, bSecure, Mode, Path, ContentType, extraHeader, body, rtnHeaders

 

Keywords$

Has one parameter.

 

MakeValidAlias$

Takes one parameter, a Source value

 

MakeValidDBField$

Takes one parameter, Source value

 

MakeValidTable$

Takes one parameter, Source

 

Lang$

Takes one parameter, Source

 

LastAny$

Takes two parameters, Source, Search

 

LTrimAny$

Takes two parameters, Source, Search

 

HttpStatus

Takes one parameter, Status

 

Pivot

Takes two parameters, FieldBase, PivotField

 

SaveJsonFile

Takes two parameters, FileName, Options

 

SetIf

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

 

KeepUnique

Takes one parameter, FieldName

 

ListQueries

Takes no parameters

 

NulStream

Takes two parameters, Data, bHasHeader

 

Text

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

 

HtmlETable

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

 

HtmlTable

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

 

Lang

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

Value

Takes four parameters, FieldBase, Destination, Function, IfLenFld

 

WithGroup

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

 

XmlMerge

Takes two parameters, [WorkWith]+Scope, EmbedScope

 

ChildrenAlias

Takes two parameters, ChildTableName, Mode

 

DeleteTable

Takes one parameter, TableName

 

Get

Takes two parameters, TableName, IfLenFld

 

TemplateRuntime

Takes one parameter, Name

 

Backfill

Has no parameters

 

Children

Takes two parameters, ChildTableName, Mode

 

NewWithAttach

Takes 4 parameters, TableName, Relation, OtherTableName, IfLenFld

 

Update

Takes two parameters, TableName, IfLenFld

 

Build

Takes a variable number of parameters

 

FixFields

Takes one parameter, a single character

 

Parents

Takes three parameters, ChildTableName, ParentTableName, Mode

 

ParentsAlias

Takes three parameters, ChildTableName, ParentTableName, Mode

 

PWHash

Takes three parameters, TableName, Alias, Password

 

[FieldList]

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

 

[Sort] (DB Relationship Attribute)

Accepts a space separated list of field names.

 

Export and Import of Database Schema

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

 

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

 

[Temp] Field

Parameter is a single new field name or a space separated list of new 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.

 

Include

Takes one parameter, ProcedureName

 

JoinQuery

Takes 5 parameters, DestinationQuery, SourceQuery, DestinationMatchField, SourceMatchField, Mode

 

Meta

Takes any unspecified data, intended for use by external systems

 

[Ensure] Field Exists

Takes a variable number of parameters, a comma separated list of TopQuery variable names

 

Function

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

 

Image

Has 5 parameters, DestFileName, Action, SrcFileName, Val1, Val2

 

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 Managing Files

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 managing files and folders in the Moxie.Build system.

 

 

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.

 

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

 

 

 

 

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

Takes 1 parameter, a formatting mask

 

 

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.

 

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.

 

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.

 

Try / Catch / Finally / End Try

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

 

WorkIf

Takes one parameter, FieldName

 

Trigger

Takes two parameter, URL, InputQuery

 

Sleep

Takes one parameter.

 

Thread

Takes a variable number of parameters

 

Moxie.cfg Config

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

 

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.

 

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.

 

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.

 

WorkWith

Takes one parameter, FieldBase

 

[Meta]

Takes no parameters

 

PaaS

Takes three parameters, Url, SaaSTenant, InputQuery, OutputQuery

 

[WQFieldList]

Has no parameters

 

[L] Lookup (Top Query)

Takes one parameter.

 

Return

Takes a variable number of parameters.

 

[_#] Format if not blank (Top Query)

Takes 1 parameter, a formatting mask

 

MsgBox

Takes two parameters, Text, Title