Search Results for file

 

File

Takes 3 parameters, Destination, Action, Source

 

LoadCsvFile

Takes two parameters, FileName, bHasHeader

 

LoadFile$

Takes one parameter, PathToFile

 

LoadJsonFile

Takes two parameters, PathToFile, Options

 

LoadCsvFileWS

Takes two parameters, FileName, bHasHeader

 

SaveFile

Takes two parameters, FileName, FileData

 

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.

 

FileExists$

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

 

SaveHttpFile

Takes two parameters, FileName, URL

 

SaveNulFile

Takes two parameters, FileName, bUseHeader

 

SaveJsonFile

Takes two parameters, FileName, Options

 

SaveTabFile

Takes two parameters, FileName, bUseHeader

 

SaveRawFile

Takes two parameters, FileName, bUseHeaders

 

SaveCsvFile

Takes two parameters, FilePath, bUseHeader

 

LoadRawFile

Takes one parameter, FilePath

 

LoadNulFile

Takes two parameters, FileName, bHasHeader

 

LoadTabFileWS

Takes two parameters, FileName, bHasHeader

 

LoadTabFile

Takes two parameters, FileName, bHasHeader

 

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.

 

Files

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

 

ListFiles

Takes 3 parameters, Folder, Filter, bShowImgSize

 

FileSize$

Takes one parameter, a value in number of bytes.

 

LoadTableFiles

Takes one parameter, TableName

 

UnloadTableFiles

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.

 

Images

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

 

TRON

Takes one parameter, FilePath

 

Moxie.cfg Config

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

 

Templates Documentation

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

 

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.

 

Moxie.http Headers

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

 

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.

 

Image

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

 

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

 

HtmlTab

Takes 3 parameters, Location, Mode, bWithNoHeader

 

DeleteTable

Takes one parameter, TableName

 

Plus8Encode

Takes three parameters, FieldBase, Fields, IfLenFld

 

TemplateType

Takes one parameter, Type

 

Raw

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

 

HttpType

Takes one parameter, Type

 

SubTemplate

Takes three parameters, Location, Mode, TemplateName

 

TemplateName

Takes one parameter, Name

 

TemplateCustom

Takes one parameter, TemplateData

 

PWHash

Takes three parameters, TableName, Alias, Password

 

Text

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

 

TabStream

Takes two parameters, Data, bHasHeader

 

Format

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

 

TabStreamWS

Takes two parameters, CSVData, bNoHeaders

 

JsonStream

Takes two parameters, Data, Options

 

Value

Takes four parameters, FieldBase, Destination, Function, IfLenFld

 

Session

Takes two parameters, Name, Value

 

CsvStream

Takes two parameters, CSVData, bNoHeaders

 

LoadMemUsage

Has no parameters

 

CsvStreamWS

Takes two parameters, CSVData, bNoHeaders

 

HttpNoCache

Has no parameters.

 

TRONLog

Takes one parameter, OutputText

 

ServerLog

Takes one parameter, ServerLogText

 

Select / Case / End Select

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

 

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.

 

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.

 

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.

 

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.

 

 

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

Takes a variable number of conditional statements

 

Exception

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

 

CFPurge

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

 

Utf16ToUtf8$

Takes one parameter, Source

 

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.

 

WebSafe$

Takes one parameter, Source

 

PWHash$

Takes three parameters, TableName, Alias, Password

 

TabStream$

Takes one parameter, bNoHeaders

 

Utf16ToAnsi$

Takes one parameter, Source

 

HtmlUpload

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

 

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.

 

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.

 

Dir$

Takes one parameter, a path-mask

 

CsvStream$

Takes one parameter bNoHeaders and returns the result to an assigned variable

 

[TemplateType]

Takes no parameters