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

 

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

 

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.

 

[_$] 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

 

Similar%

Takes 2 parameters, pNum1, pNum2

 

Similar$

Takes 2 parameters, pString1, pString2

 

Trim$

Takes two parameters, Source, Search

 

PWHash$

Takes three parameters, TableName, Alias, Password

 

RawStream$

Takes one parameter, a top query destination variable

 

SessionIsGroupType$

Takes one parameter, a List of possible group types

 

HttpCookie

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

 

HttpsEnsure

Takes no parameters.

 

HttpStatus

Takes one parameter, Status

 

TrimAny$

Takes two parameters, Source, Match

 

WebSafe$

Takes one parameter, Source

 

HtmlAlert

Takes three parameters, Location, ClassNames, AlertText

 

NulStream$

Takes one parameter, bNoHeader

 

JsonStream$

Has one parameter, Options

 

Keywords$

Has one parameter.

 

Lang$

Takes one parameter, Source

 

CFApi$

Takes three parameters Method, URL, Body

 

Http$

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

 

JsonEncode$

Has two parameters: Source, Options

 

MakeValidDBField$

Takes one parameter, Source value

 

MakeValidTable$

Takes one parameter, Source

 

MCase$

Takes one parameter, Source

 

LastAny$

Takes two parameters, Source, Search

 

LTrimAny$

Takes two parameters, Source, Search

 

MakeValidAlias$

Takes one parameter, a Source value

 

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

 

XmlMerge

Takes two parameters, [WorkWith]+Scope, EmbedScope

 

HtmlTable

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

 

Lang

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

Text

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

 

Value

Takes four parameters, FieldBase, Destination, Function, IfLenFld

 

WithGroup

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

 

FixFields

Takes one parameter, a single character

 

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

 

PWHash

Takes three parameters, TableName, Alias, Password

 

Update

Takes two parameters, TableName, IfLenFld

 

Build

Takes a variable number of parameters

 

NewWithAttach

Takes 4 parameters, TableName, Relation, OtherTableName, IfLenFld

 

Parents

Takes three parameters, ChildTableName, ParentTableName, Mode

 

ParentsAlias

Takes three parameters, ChildTableName, ParentTableName, Mode

 

 

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

 

 

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

 

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

 

Include

Takes one parameter, ProcedureName

 

Export and Import of Database Schema

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

 

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.

 

[Ensure] Field Exists

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

 

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

 

 

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.

 

 

[_#] 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.

 

JoinQuery

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

 

WorkIf

Takes one parameter, FieldName

 

WorkWith

Takes one parameter, FieldBase

 

Try / Catch / Finally / End Try

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

 

Thread

Takes a variable number of parameters

 

Trigger

Takes two parameter, URL, InputQuery

 

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.

 

[L] Lookup (Top Query)

Takes one parameter.

 

[WQFieldList]

Has no parameters

 

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

Takes 1 parameter, a formatting mask

 

Moxie.cfg Config

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

 

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

 

MsgBox

Takes two parameters, Text, Title

 

PaaS

Takes three parameters, Url, SaaSTenant, InputQuery, OutputQuery

 

Return

Takes a variable number of parameters.

 

Sleep

Takes one parameter.