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

 

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

 

Server and Service Documentation

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

 

Left$

Takes two parameters, Source, Value

 

LTrimAny$

Takes two parameters, Source, Search

 

JsonStream$

Has one parameter, Options

 

Remove$

Takes two parameters, Source and Search

 

Right$

Takes two parameters, Source, Value

 

Remain$

Takes two parameters, Source and Search

 

Greg$

Takes one parameter, a gregorian number

 

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.

 

ServerLog

Takes one parameter, ServerLogText

 

SetKillCount

Takes one parameter, Value

 

Sleep

Takes one parameter.

 

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.

 

[Me]

Takes no parameters

 

CFApi$

Takes three parameters Method, URL, Body

 

Format$

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

 

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

 

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

Takes 1 parameter, a formatting mask

 

[#] Format (Top Query)

Takes 1 parameter, a formatting mask

 

XmlMerge

Takes two parameters, [WorkWith]+Scope, EmbedScope

 

HtmlBlocks / End HtmlBlocks

Takes two parameters, Location, Mode

 

SSReference

A command to help build spreadsheets

 

ListQueries

Takes no parameters

 

SaveJsonFile

Takes two parameters, FileName, Options

 

HtmlNavbar

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

 

HtmlTable

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

 

HtmlNav

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

 

HtmlDTable

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

 

HtmlForm

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

 

KeepFields

Takes two parameters, FieldBase, FieldNamesList

 

HtmlReset

Has no parameters

 

New

Takes two parameters, TableName, IfLenFld

 

HtmlPageBreak

Takes two parameters, Location, Mode

 

HtmlAlert

Takes three parameters, Location, ClassNames, AlertText

 

HtmlBlock / End HtmlBlock

Takes two parameters, Location, Mode

 

Group

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

 

JsonEmbed

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

 

Format

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

 

Update

Takes two parameters, TableName, IfLenFld

 

DeleteFields

Takes two parameters, FieldBase, FieldNameList

 

Select / Case / End Select

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

 

[#] Format (DB Field Attribute)

Takes 1 parameter, a formatting mask

 

[DatePicker]

Takes no parameters

 

[_#] Format if not blank (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.

 

 

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.

 

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.

 

Method

Private Method contained within a given procedure.

 

IncrKillCount

Has one parameter.

 

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

Takes a variable number of conditional statements

 

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.

 

QBox

Takes two parameters, QueryName, Title

 

MsgBox

Takes two parameters, Text, Title

 

AjaxReply

Has no parameters

 

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 , or when troubleshooting server errors.

 

ForEach

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

 

EmailErr

Takes two parameters, SubjectPrefix, EmailBody

 

CFPurge

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

 

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 to the most recent version, 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/Report