Search Results for server

 

Server and Service Documentation

To get started, be sure to first read the Service Setup on a Server topic under the Get Started menu.

 

ServerLog

Takes one parameter, ServerLogText

 

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.

 

 

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.

 

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.http Headers

The optional Moxie.http file is read on server start and controls the default HTTP headers set for all requests.

 

Http$

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

 

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.

 

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.

 

HttpSoap$

Takes 8 parameters, ServerName, Port, bSecure, Path, ExtraHttpHeaders, Envelope, ExtraBody, xml

 

Tcp$

Takes three parameters, ServerName, Port, bSecure, Send

 

Cloudflare Origin Certificates

Cloudflare automatically provides free client-facing certificates for your domain, even when 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 when you are going to have Cloudflare connect to inbound open ports on your Moxie.Build server.

 

Moxie.cfg Config

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

 

Cloudflared Tunnel

Cloudflared Tunnel exposes applications running on your local web server on any network with an internet connection with an outbound tunnel that connects directly to Cloudflare's edge network without the need to configure inbound firewall rules.

 

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.

 

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.

 

Moxie.Build for Developers

Moxie.Build Keeps it Simple
The full stack in one app, delivered by one company.
Coding with the MOX server side scripting language is concise, well structured, and keeps your focus on the data. Use Moxie.Build in your company to pull together resources, centralize data, customize business workflows, and act as a highly accessible web portal for staff and customers alike.

 

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.

 

LoadFile$

Takes three parameters, FilePath, Start, Len

 

Try / Catch / Finally / End Try

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

 

HtmlDTable

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

 

Cloudflare Integration

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

 

ETag$

Takes one parameter, Source

 

AntiCsrf$

Has no params

 

HttpType

Takes one parameter, Type

 

TemplateName

Takes one parameter, Name

 

HttpsEnsure

Takes no parameters.

 

HttpStatus

Takes one parameter, Status

 

Session

Takes two parameters, Name, Value

 

Files

Takes 5 parameters, FieldBase, Destination, Action, Source, IfLenFld

 

Flush

Takes one parameter, TableName

 

FlushAll

Has no parameters

 

SendEmail

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

 

LoadReqFile

Has no parameters

 

Shell$

Takes two parameters Command, Options

 

HtmlButton

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

 

Images

Takes up to 6 parameters, FieldBase, Destination, Action, Source, Value, IfLenField

 

HttpHeader

Takes two parameters, name, value

 

HtmlUpload

Takes seven parameters, Location, Mode, Prompt, Path, Class, Name, HelpText

 

HttpCookie

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

 

SetKillCount

Takes one parameter, Value

 

[HideNew]

Has no parameters

 

[HideAttach]

Has no parameters

 

[Ensure] Field Exists

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

 

Public Method

A Public Method may be called from any other Procedure, by the Default plug-in as part of the CMS.

 

[Ajax]

Takes 3 parameters, Event, DestinationID, Path

 

 

Language Systems

Moxie.Build supports translating any user-facing text into multiple languages from a single database table. Procedures, templates, and database field metadata all share the same translation store, so a string written once is reusable everywhere.

 

Templates Documentation

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

 

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.

 

PaaS

Takes three parameters, Url, SaaSTenant, InputQuery, OutputQuery

 

NewEComQuery

Takes one parameter, QueryName

 

Remote

Takes three parameters, Url, InputQuery, OutputQuery

 

QBox

Takes two parameters, QueryName, Title

 

MsgBox

Takes two parameters, Text, Title

 

Image

Has 4 parameters, Destination, Action, Source, Value

 

File

Takes three parameters, Destination, Action, Source

 

Meta

Takes any unspecified data, intended for use by external systems

 

IncrKillCount

Has one parameter.