Search Results for file

 

File

Takes 3 parameters, Destination, Action, Source

 

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.

 

LoadFile$

Takes one parameter, PathToFile

 

FileExists$

Takes one parameter, the path where the file is located.

 

LoadNulFile

Takes two parameters, FileName, bHasHeader

 

SaveHttpFile

Takes two parameters, FileName, URL

 

LoadCsvFile

Takes two parameters, FileName, bHasHeader

 

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.

 

LoadJsonFile

Takes one parameter, PathToFile

 

SaveFile

Takes two parameters, FileName, FileData

 

LoadRawFile

Takes one parameter, FilePath

 

SaveNulFile

Takes two parameters, FileName, bUseHeader

 

SaveJsonFile

Takes two parameters, FileName, Options

 

SaveTabFile

Takes two parameters, FileName, bUseHeader

 

SaveRawFile

Takes two parameters, FileName, bUseHeaders

 

LoadTabFile

Takes two parameters, FileName, bHasHeader

 

SaveCsvFile

Takes two parameters, FilePath, bUseHeader

 

ListFiles

Takes 3 parameters, Folder, Filter, bShowImgSize

 

Files

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

 

FileSize$

Takes one parameter, a value in number of bytes.

 

UnloadTableFiles

Takes one parameter, TableName

 

LoadTableFiles

Takes one parameter, TableName

 

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.

 

Moxie.cfg Config

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

 

Image

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

 

TRON

Takes one parameter, FilePath

 

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.

 

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.

 

Images

Takes up to 6 parameters, FieldBase, FileName, Action, Val1, Val2, IfLenField

 

Templates Documentation

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

 

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

 

TemplateName

Takes one parameter, Name

 

HttpNoCache

Has no parameters.

 

HtmlUpload

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

 

TemplateCustom

Takes one parameter, TemplateData

 

Raw

Takes one parameter, the contents of which are used for the HTTP Reply Body

 

SubTemplate

Takes three parameters, Location, Mode, TemplateName

 

HttpType

Takes one parameter, Type

 

Plus8Encode

Takes three parameters, FieldBase, Fields, IfLenFld

 

LoadMemUsage

Has no parameters

 

Text

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

 

HtmlTab

Takes 3 parameters, Location, Mode, bWithNoHeader

 

Value

Takes four parameters, FieldBase, Destination, Function, IfLenFld

 

DeleteTable

Takes one parameter, TableName

 

TemplateType

Takes one parameter, Type

 

PWHash

Takes three parameters, TableName, Alias, Password

 

Format

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

 

Session

Takes two parameters, Name, Value

 

WebSafe$

Takes one parameter, Source

 

Exception

Takes one parameter, the text of the exception to throw.

 

CFPurge

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

 

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

Takes a variable number of conditional statements

 

ServerLog

Takes one parameter, ServerLogText

 

Select / Case / End Select

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

 

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.

 

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.

 

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.

 

Export and Import of Database Schema

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

 

 

TRONLog

Takes one parameter, OutputText

 

PWHash$

Takes three parameters, TableName, Alias, Password

 

Dir$

Takes one parameter, a path-mask

 

TabStream$

Takes one parameter, bNoHeaders

 

Utf16ToUtf8$

Takes one parameter, Source

 

Utf16ToAnsi$

Takes one parameter, Source

 

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.

 

Cloudflare Integration

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

 

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.

 

Using the Backtick `

Some Work Query command parameters can accept a source of either a Work Query Field name or a text literal. Text literals in these cases are prefixed with a backtick ` character.

 

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