System Library Classes

Ejscript provides a system class library of types that cover most programming tasks and needs.

This document provides a quick overview of these classes. See the Script Library for full details.

App

Application status class. Provides methods for the current working directory, command line arguments, environment strings and the ability to exit the application.

Array

Standard JavaScript Array class.

BinaryStream

Stream I/O class for reading binary data.

Block

Internal base class for program blocks.

Boolean

Standard JavaScript Boolean class.

ByteArray

Array for binary data. More efficient than the standard Array class when using binary data.

Cache

In-memory caching of key values.

Cmd

Invoke commands on the local system.

CmdArgs

Parse and manage the application's command line.

Config

Ejscript configuration on your system.

Controller

Web framework Controller class.

Cookie

Web framework Http cookies class.

Database

Web framework Database adapter class.

Date

Standard JavaScript Date class.

Emitter

Event dispatch and servicing.

Error

Standard JavaScript Error class. Base class for all exception objects.

File

File and directory I/O.

FileSystem

File system management class.

FileSystem

Function

Standard JavaScript Function class.

GC

Ejscript garbage collector management class.

Host

Web framework Http Host class.

Http

Http client class for comprehensive Http and Http over SSL client services.

HttpServer

Http server class.

Iterator

Base helper class for creating iterators for use in native classes.

JSON

Class holding the standard JSON serialize and stringify methods.

Logger

Generic system logger class.

Math

Standard JavaScript Math class.

Memory

Memory usage and statistics class for the application.

Namespace

Base class for namespace objects.

Null

Base class for the null value.

Number

Standard JavaScript Number class.

Object

Standard JavaScript Object class.

Path

Filename path management class.

Promise

Deferred processing class.

Record

Web framework Record class for modelling database records.

Reflect

Type and object introspection (reflection) class.

RegExp

Standard JavaScript RegExp class for regular expressions.

Request

Web framework Http Request class.

Router

Web request router.

Session

Web framework persistent Session class.

Socket

Network sockets I/O class.

Stream

Stream I/O interface class.

String

Standard JavaScript String class.

System

System configuration class.

Template

Web page templates.

TextStream

Stream I/O class for reading text data.

Timer

Class to create timers and schedule code to run at various intervals.

Type

Base class for all types.

Unix

Posix-like layer for Unix compatibility.

UploadFile

Web framework file upload management class.

Uri

URI management class.

View

Web framework View class.

ViewConnector

Web framework View Connector class. This interfaces with the various Ajax libraries.

Void

Base class for the undefined value.

XML

ECMA-357 E4X XML class.

XMLHttp

Standard XMLHttp class.

XMLList

ECMA-357 E4X XML class.

© Embedthis Software. All rights reserved.