Search Results for start

 

Get Started by Making it Your Own

This video demonstrates how to get started with Moxie.Build with basic customization.

 

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.

 

Get Started with Running on localhost

The following video demonstrates how to download Moxie.Build to your workstation, and run it on localhost.

 

Get Started with Development Examples

This list of examples is going to grow over time. We are open to requests, as well as submissions if you have something you would like to share.

 

Moxie.cfg Config

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

 

Moxie.http Headers

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

 

Server and Service Documentation

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

 

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

 

Greg$

Takes one parameter, a gregorian number

 

Ctid$

Has no params

 

Format$

Takes two parameters, a source value, and a formatting mask.

 

Left$

Takes two parameters, Source, Value

 

Remain$

Takes two parameters, Source and Search

 

LTrimAny$

Takes two parameters, Source, Search

 

JsonStream$

Has one parameter, Options

 

Thread

Takes a variable number of parameters

 

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.

 

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.

 

Sleep

Takes one parameter.

 

Select / Case / End Select

Takes a variable number of conditional statements to compare against a single source

 

ServerLog

Takes one parameter, ServerLogText

 

SetKillCount

Takes one parameter, Value

 

[#] Format (Top Query)

Takes 1 parameter, a formatting mask

 

[Meta]

Takes no parameters

 

CFApi$

Takes three parameters Method, URL, Body

 

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

Takes 1 parameter, a formatting mask

 

Command Line with .mox file

A .mox file, with MOX code in it, can be run from the command line while a Moxie.Build system is not otherwise already 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.

 

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.

 

SaveJsonFile

Takes two parameters, FileName, Options

 

SSReference

A command to help build spreadsheets

 

XmlMerge

Takes two parameters, [WorkWith]+Scope, EmbedScope

 

JsonEmbed

Has six parameters, UniqueParent, DestField, FieldBase, UniqueChild, EmbedFields, Options

 

KeepFields

Takes two parameters, FieldBase, FieldNamesList

 

ListQueries

Takes no parameters

 

HtmlNav

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

 

HtmlNavbar

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

 

HtmlTable

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

 

HtmlBlocks / End HtmlBlocks

Takes two parameters, Location, Mode

 

HtmlDTable

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

 

HtmlForm

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

 

HtmlBlock / End HtmlBlock

Takes two parameters, Location, Mode

 

HtmlButton

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

 

HtmlPageBreak

Takes two parameters, Location, Mode

 

Remove$

Takes two parameters, Source and Search

 

Right$

Takes two parameters, Source, Value

 

HtmlAlert

Takes three parameters, Location, ClassNames, AlertText

 

DeleteFields

Takes two parameters, FieldBase, FieldNameList

 

Format

Takes five parameters, FieldBase, FieldList, Mask, bBlanks2Zero, IfLenFld

 

Group

Takes 7 parameters, FieldBase, GroupBy, GroupTotals, GrandTotals, Seperator, TotalPre, TotalPost

 

HtmlReset

Has no parameters

 

New

Takes two parameters, TableName, IfLenFld

 

Update

Takes two parameters, TableName, IfLenFld

 

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.

 

[DatePicker]

Takes no parameters

 

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

Takes 1 parameter, a formatting mask

 

Templates Documentation

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

 

[#] Format (DB Field Attribute)

Takes 1 parameter, a formatting mask

 

Export and Import of Database Schema

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

 

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

 

 

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.

 

 

 

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.

 

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

 

IncrKillCount

Has one parameter.

 

If (Not) / And / Or / ElseIf / End If

Takes a variable number of conditional statements

 

ForEach

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

 

Meta

Takes any unspecified data, intended for use by external systems

 

QBox

Takes two parameters, QueryName, Title

 

MsgBox

Takes two parameters, Text, Title

 

Method

Private Method contained within a given procedure.

 

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.

 

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.

 

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.

 

AjaxReply

Has no parameters

 

EmailErr

Takes two parameters, SubjectPrefix, EmailBody

 

CFPurge

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

 

Call

Takes a variable number of parameters

 

Download Moxie.Build

Download Free Download of Moxie.Build Delivered as a simple .zip file, so that you can set it up however you like. This approach allows you to custom install many services on one server ,
or just run it as an app without an install. Licensing information and agreement . Upgrade Notes

In order to Upgrade an existing copy of Moxie.Build V4 or V5 to the most recent version of V5, you can use the Upgrade example files found in the Tools folder to help automate upgrading multi-service systems, or you can just replace the following files/folders: Moxie.exe Moxie.dll Default.dll /DBStore/BuiltIn.* /Lib /Public/BuiltIn /Templates/Admin /Templates/Clean /Templates/Default /Templates/Default5 /Templates/Report