Skip to main content
Skip table of contents

AFL modules

Below is a list of the core modules of AFL. Plugins are indicated by the table of contents level. 


nexj/async

Asynchronous programming toolkit

Returns the default asynchronous chain processor `async` object.

Tests are in nexj/async/test.

dependencies

  • nexj/sys

nexj/b64

Base 64 string conversion

Returns the b64 object.

Tests are in nexj/b64/test.

dependencies

  • nexj/sys
  • nexj/i18n
  • exports

nexj/date/olson

Olson time zone plug-in. Module "nexj/date/olson/db" is automatically generated by "nexj/build/olson".

Returns the `olson` object and overrides `date.Zone.find`.

dependencies

  • "nexj/sys",
  • "nexj/date",
  • "nexj/date/olson/db"

nexj/date/olson/db

Olson time zone database, auto-generated by nexj/build/olson from
https://data.iana.org/time-zones/releases/tzcode2021a.tar.gz.

dependencies

  • none

nexj/build/olson

Olson time zone database module generator

Downloads the Olson database and converts it to an AMD module.

dependencies

  • nexj/sys
  • https
  • fs
  • tar
  • zlib
  • nexj/ssl/ca

nexj/cvt

Formatting and parsing of values for display

Returns the `cvt` object

Tests are in nexj/cvt/test.

dependencies

  • "nexj/sys",
  • "nexj/ref",
  • "nexj/i18n"

nexj/cvt/date

Plug-in for formatting and parsing of dates

Extends the `cvt` object from nexj/cvt with a `date` converter 

Tests are in nexj/cvt/date/test

dependencies

  • "nexj/cvt",
  • "nexj/sys",
  • "nexj/ref",
  • "nexj/date",
  • "nexj/i18n"

Plug-in for formatting and parsing of hyperlinked text

Extends the `cvt` object from nexj/cvt with a `link` converter.

Tests are in nexj/cvt/link/test.

dependencies

  • "nexj/sys",
  • "nexj/cvt"

nexj/cvt/phone

Plugin for formatting and parsing of phone number strings based on country code.
Currently acts as a wrapper for the libphonenumber library
(https://hg.nexj.com/framework.cgi/libphonenum, maintained in a separate project):
https://github.com/googlei18n/libphonenumber
Uses isValidNumber() when possible as it is more strict than isPossibleNumber().
The unit specifies the ISO country code, which can be overridden by the string value's
country code if the string is prefixed with a plus sign.
see java:nexj.core.view.converter.PhoneConverter

Extends the `cvt` object from nexj/cvt with a `phone` converter.

Tests are in nexj/cvt/phone/test.

dependencies

  • "nexj/sys",
  • "nexj/cvt",
  • "nexj/i18n",
  • "ext/libphonenumber"

nexj/date

Date/time manipulation API

Returns a `date` object.

Tests are in `nexj/date/test`

dependencies

  • "nexj/sys"

nexj/dom

HTML DOM manipulation

Returns the `dom` object.

Tests are in `nexj/dom/test`

dependencies

  • "nexj/sys"

nexj/end

AMD bootstrapping - this must be the last explicitly included script file

nexj/err

Error handling

Exports the `err` object.

dependencies

  • none

nexj/http

HTTP utilities

Exports the `http` object.

dependencies

  • "nexj/sys",
  • "nexj/i18n"

nexj/http/req

HTTP requestor components

Exports the `req` object.

dependencies

  • "nexj/sys",
  • "nexj/i18n",
  • "nexj/http",
  • "url",
  • "require"

nexj/http/svr

HTTP server components

Exports the `svr` object.

dependencies

  • "nexj/sys",
  • "nexj/http",
  • "url",
  • "require"

nexj/push/http

Push server plug-in with an HTTP implementation

Extends the `svr` object with push capabilities with `svr.push` and `svr.pushd`.

dependencies

  • "nexj/sys",
  • "nexj/push",
  • "nexj/http",
  • "nexj/http/svr",
  • "url",
  • "crypto",
  • "os"

nexj/http/svr/json

JSON-RPC request processor interceptor plug-in for the HTTP server

Extends the `svr` object with `svr.json`.

dependencies

  • "nexj/http",
  • "nexj/http/svr",
  • "nexj/soa/json",
  • "querystring"

nexj/i18n

Internationalization database

Tests are in nexj/i18n/test.

dependencies

  • "nexj/sys"

nexj/log

Logging

Returns the `log` object.

dependencies

  • "nexj/sys"

nexj/nlp

Natural Language Processing functions

Returns the `nlp` object.

Tests are in nexj/nlp/test

dependencies

  • "nexj/sys",
  • "nexj/rpc/obj",
  • "nexj/i18n"

nexj/push

Server push processor

Returns the `push` object.

dependencies

  • "nexj/sys",
  • "nexj/soa"

nexj/ref

Object references

Returns the `ref` object.

Tests are in nexj/ref/test.

dependencies

  • "nexj/sys"

nexj/rpc

RPC interfaces

Returns the `rpc` object with `rpc.http`.

Tests are in rpc/test.

dependencies

  • "nexj/sys",
  • "nexj/i18n"

nexj/rpc/bat

RPC batching plug-in

Extends the `rpc` object with batching capabilities.

Tests are in nexj/rpc/bat/test

dependencies

  • "nexj/rpc",
  • "nexj/sys"

nexj/rpc/obj

Object RPC plug-in

Extends the `rpc` object with `rpc.obj` and returns `obj`.

Tests are found in `nexj/obj/test`

dependencies

  • "nexj/rpc",
  • "nexj/ref",
  • "nexj/sys",
  • "nexj/i18n",
  • "nexj/date"

nexj/rpc/obj/nlp

NLP support plug-in

Extends the `rpc.obj` object with `nlp` capabilities.

dependencies

  • "nexj/rpc/obj",
  • "nexj/nlp",
  • "nexj/sys"

nexj/rpc/obj/scm

Scheme object support plug-in

Extends the `rpc.obj` object with `scm` (scheme) capabilities.

dependencies

  • "nexj/rpc/obj",
  • "nexj/sys",
  • "nexj/b64",
  • "nexj/log",
  • "nexj/scm"

nexj/rpc/soa

SOA RPC plug-in

Extends the `rpc` object with `rpc.soa` and returns the `soa` object.

Tests are in nexj/rpc/soa/test

dependencies

  • "nexj/rpc",
  • "nexj/ref",
  • "nexj/sys",
  • "nexj/i18n"

nexj/rpc/push

Push RPC client

Returns the `push` client object.

dependencies

  • "nexj/sys",
  • "nexj/rpc"

nexj/scm

Scheme scripting engine

Exports the `scm` object.

dependencies

  • "nexj/sys",
  • "nexj/i18n",
  • "nexj/cvt",
  • "nexj/b64",
  • "nexj/date",
  • "nexj/log",
  • "nexj/utf8"

nexj/scm/dbg

Scheme scripting engine debugger

Exports the `dbg` object.

dependencies

  • "nexj/sys",
  • "nexj/i18n",
  • "nexj/rpc",
  • "nexj/scm"

nexj/soa

SOA service registry and related functionality

Exports the `soa` object.

Tests are in nexj/soa/test.

dependencies

  • "nexj/sys",
  • "nexj/i18n"

nexj/soa/file

SOA definition loader plug-in

Extends the `soa` object with file loading functionality.

dependencies

  • "nexj/sys",
  • "nexj/soa",
  • "fs"

nexj/soa/json

SON-RPC parser/formatter

Exports the `json` object.

Tests are in nexj/soa/json/test.

dependencies

  • "nexj/sys",
  • "nexj/ref",
  • "nexj/soa",
  • "nexj/err"

nexj/soa/rpc

RPC plug-in for SOA

Enhances the `soa` object with `soa.rpc` and the `svr` object with `svr.def` and returns the `rpc` object.

dependencies

  • "nexj/sys",
  • "nexj/soa",
  • "nexj/svr",
  • "nexj/http",
  • "nexj/http/req"

nexj/soa/xml

JSONML/JSON SOA definition conversion plug-in

Extends the `soa` object and returns the `xml` object. 

Tests are in nexj/soa/xml/test.

dependencies

  • "nexj/sys",
  • "nexj/soa",
  • "nexj/xml"

nexj/ssl/ca

CA certificates

Installs certificates in https.globalAgent.options.ca.

dependencies

  • "https"

nexj/stat

Performance statistics plugin

Returns the `stat` object.

dependencies

  • "nexj/sys",
  • "nexj/rpc/obj",
  • "nexj/utf8"

nexj/svr

Server infrastructure

Returns the `svr` object.

dependencies

  • "nexj/sys",
  • "require"

nexj/sys

Object-oriented and functional programming

Tests are in nexj/sys/test.

dependencies

  • none

nexj/amd

AMD loader extension plug-in

Extends the `define` object from nexj/sys with AMD functions such as `load`.

dependencies

  • nexj/sys
  • nexj/rpc

Testing

nexj/test/dom

HTML DOM test tools

Exports the `test` object.

dependencies

  • "nexj/sys"

nexj/test/rpc

RPC test tools

Exports the `test` object.

dependencies

  • "nexj/sys"
  • "nexj/rpc"

nexj/test/rpc/obj

Mock Object RPC utilities

Returns the `respond` object.

dependencies

  • "nexj/sys"

nexj/test/rpc/soa

RPC utilities for mock SOA services

Returns the `mock` object.

dependencies

  • "nexj/soa/json"

nexj/test/ui

Platform-independent UI framework test tools

dependencies

  • none

nexj/test/ui/dom

DOM-specific plug-ins for UI test tools

Extends the nexj/test/ui `test` object and the `dom` object for testing.

dependencies

  • "nexj/sys",
  • "nexj/ui",
  • "nexj/dom",
  • "nexj/test/ui",
  • "qunit/fixture"

nexj/ui

Platform-independent UI framework

Returns the `ui` object.

CSS is in nexj/ui.css.

dependencies

  • "nexj/sys",
  • "nexj/cvt",
  • "nexj/val",
  • "nexj/ref",
  • "nexj/rpc",
  • "nexj/i18n"

nexj/ui/core

Core view plug-in

Extends the `ui` object with various core views.

Tests are in nexj/ui/core/tests.

CSS is in nexj/ui.core.css

dependencies

  • "nexj/ui",
  • "nexj/sys",
  • "nexj/i18n",
  • "nexj/cvt",
  • "nexj/ui/state"

nexj/ui/core/dom

Core DOM renderers.
Borrows from:
http://alistapart.com/article/expanding-text-areas-made-elegant (elastic text box technique)

Tests are in nexj/ui/core/dom/test.

dependencies

  • "nexj/ui",
  • "nexj/ui/dom",
  • "nexj/dom",
  • "nexj/sys",
  • "nexj/cvt",
  • "nexj/i18n"

nexj/ui/obj

Object model plug-in

Extends the `ui` object with object model capabilities e.g. ObjectCollection.

Tests are in nexj/ui/obj/test.

dependencies

  • "nexj/sys",
  • "nexj/ref",
  • "nexj/ui",
  • "nexj/rpc",
  • "nexj/rpc/obj",
  • "nexj/ui/req"

nexj/ui/dom

DOM view renderer plug-in

Extends the `ui` object with rendering capabilities and returns the `ren` object.

Tests are in nexj/ui/dom/test

dependencies

  • "nexj/ui",
  • "nexj/dom",
  • "nexj/sys",
  • "nexj/i18n",
  • "nexj/cvt"

nexj/ui/amd

UI AMD loader plug-in

Extends the `sys.define` object with `define.load.parameterizers.ui`.

dependencies

  • "nexj/ui",
  • "nexj/amd"

nexj/ui/amd/dom

DOM-specific dynamic AMD loader plug-in

Extends the `sys.define` object with `define.load.loaders.dom`.

dependencies

  • "nexj/sys",
  • "nexj/rpc",
  • "nexj/dom",
  • "nexj/ui/amd"

nexj/ui/angular

Angular framework adapter

See afl developer guide.

dependencies

  • "nexj/sys",
  • "nexj/ref",
  • "nexj/ui",
  • "nexj/i18n"

nexj/ui/angular/dom

Angular DOM renderers

dependencies

  • "nexj/ui/angular",
  • "nexj/sys",
  • "nexj/ui",
  • "nexj/ui/dom",
  • "nexj/dom"

nexj/ui/bus

Event bus/portal API plug-in

Returns the `bus` object.

dependencies

  • "nexj/sys",
  • "nexj/ui",
  • "nexj/ui/core"

nexj/ui/bus/dom

DOM plugin for the context bus/portal API

dependencies

  • "nexj/sys",
  • "nexj/i18n",
  • "nexj/ui",
  • "nexj/ui/dom",
  • "nexj/dom",
  • "nexj/ui/bus"

nexj/ui/bus/symphony

Symphony framework bus implementation.

Adds the ability to use the AFL bus in a Symphony module. "nexj/ui/bus/symphony"
must be referenced in a controller or module. Additionally for modules, "nexj:bus" is added
to the application initialization code e.g. {imports: ["ui", CONTROLLER, BUS]}).

Information about Symphony and the Symphony Client Extension API is found at
https://extension-api.symphony.com/

Installs appropriate bus overrides for the symphony client.

dependencies

  • "nexj/sys",
  • "nexj/ui",
  • "nexj/ui/symphony",
  • "nexj/ui/bus"

nexj/ui/chart

Chart view plug-in

Adds the Chart view.
The type of chart is defined by the mode property ("line", "bar", etc).
Keys determine x values, values determine y values. Hybrid charts
(e.g., column with line) are created by setting an array for the values property.
For heat maps or bubble charts x and y are defined by an array of keys.
Color or bubble size are determined by the values property.
The series property is used to partition the data into separate groups
producing multiple lines or columns for one y-axis in one chart.
The HTML tags <b>, <strong>, <i>, <em>, <br/> and <span> are supported
in caption or hint strings; other tags are removed by the chart library.

Additional related modules

  • nexj/ui/chart/3d
  • nexj/ui/chart/3d/dom
  • nexj/ui/chart/dom
  • nexj/ui/chart/dom/test
  • nexj/ui/chart/exotic 
  • nexj/ui/chart/exotic/dom
  • nexj/ui/chart/export
  • nexj/ui/chart/export/dom
  • nexj/ui/chart/funnel
  • nexj/ui/chart/funnel/dom
  • nexj/ui/chart/guage
  • nexj/ui/chart/guage/dom
  • nexj/ui/chart/heatmap
  • nexj/ui/chart/heatmap/dom
  • nexj/ui/chart/treemap
  • nexj/ui/chart/treemap/dom

CSS is in nexj/ui.chart.css and other files for various views.

dependencies

  • "nexj/ui",
  • "nexj/sys",
  • "nexj/async",
  • "nexj/i18n",
  • "nexj/cvt"

nexj/ui/classic

Common dependencies for the classic framework

dependencies

  • "nexj/ui/mda/mvc",
  • "nexj/rpc/bat"

nexj/ui/date

Date view plug-in

Additional related modules

  • nexj/ui/date/dom
  • nexj/ui/date/dom/test
  • nexj/ui/date/test

dependencies

  • "nexj/sys",
  • "nexj/ui",
  • "nexj/cvt",
  • "nexj/i18n",
  • "nexj/date",
  • "nexj/cvt/date",
  • "nexj/ui/core"

nexj/ui/dbg

Provides recording capabilities

Additional related modules

  • nexj/ui/dbg/dom

dependencies

  • "nexj/sys",
  • "nexj/ui/sim",
  • "nexj/ui",
  • "nexj/log",
  • "exports",
  • "nexj/ui/core"

nexj/ui/entrance

Entrance (login page) view plug-in

Additional related modules

  • nexj/ui/entrance/dom

dependencies

  • "nexj/sys",
  • "nexj/ui",
  • "nexj/cvt",
  • "exports",
  • "nexj/ui/core"

nexj/ui/file

File view plug-in

Additional related modules

  • nexj/ui/file/dom
  • nexj/ui/file/dom/test
  • nexj/ui/file/test

dependencies

  • "nexj/sys",
  • "nexj/ui",
  • "nexj/i18n",
  • "nexj/cvt",
  • "nexj/ui/picker"

nexj/ui/filter

Filter view plug-in

Additional related modules

  • nexj/ui/filter/dom

dependencies

  • "nexj/ui",
  • "nexj/sys",
  • "nexj/i18n",
  • "nexj/ui/picker"

nexj/ui/picker

Picker views plug-in

Additional related modules

  • nexj/ui/picker/dom
  • nexj/ui/picker/dom/test
  • nexj/ui/picker/test

dependencies

  • "nexj/sys",
  • "nexj/ui",
  • "nexj/i18n",
  • "nexj/ui/core"

nexj/ui/query

Query model plug-in

dependencies

  • "nexj/sys",
  • "nexj/ui",
  • "nexj/rpc",
  • "nexj/rpc/bat"

nexj/ui/react/dom

React DOM renderer

Exports the `rren` object.

dependencies

  • "nexj/sys",
  • "nexj/ui/dom",
  • "react-dom",
  • "exports"

nexj/ui/req

Requestor model plug-in

Tests are in nexj/ui/req/test.

dependencies

  • "nexj/sys",
  • "nexj/ref",
  • "nexj/ui",
  • "nexj/i18n",
  • "nexj/rpc",
  • "nexj/rpc/bat"

nexj/ui/richtext

Rich-Text Editor view plug-in

Tests are in nexj/ui/richtext/test.

Rendering is in nexj/ui/richtext/dom and associated /test modules.

dependencies

  • "qunit",
  • "nexj/sys",
  • "nexj/ref",
  • "nexj/ui",
  • "nexj/dom",
  • "nexj/ui/richtext/test",
  • "ext/ckeditor",
  • "nexj/test/dom",
  • "nexj/ui/richtext/dom"

nexj/ui/schedule

Schedule view plug-in

Texts are in nexj/ui/schedule/test.

Rendering is in nexj/ui/schedule/dom and associated /test modules.

dependencies

  • "nexj/sys",
  • "nexj/ui",
  • "nexj/cvt",
  • "nexj/i18n",
  • "nexj/date",
  • "nexj/cvt/date",
  • "nexj/ui/core",
  • "nexj/ui/date"

nexj/ui/sim

Platform-independent UI event simulation framework

Additions modules

  • nexj/ui/sim/dom
  • nexj/ui/sim/dom/test
  • nexj/ui/sim/ev
  • nexj/ui/sim/ev/dom
  • nexj/ui/sim/ev/dom/test
  • nexj/ui/sim/test

dependencies

  • "nexj/sys",
  • "nexj/async",
  • "nexj/ui"

nexj/ui/soa

SOA model plug-in

Tests are in nexj/ui/soa/test.

dependencies

  • "nexj/sys",
  • "nexj/ref",
  • "nexj/ui",
  • "nexj/rpc",
  • "nexj/rpc/soa",
  • "nexj/ui/req"

nexj/ui/stat

Statistics dialog mixin

dependencies

  • "nexj/sys",
  • "nexj/ui",
  • "nexj/i18n",
  • "nexj/ui/core"

nexj/ui/state

UI state plug-in

Extends the `ui` object with stateful capabilities.

dependencies

  • "nexj/ui",
  • "nexj/sys",
  • "nexj/i18n",
  • "nexj/rpc/obj"

nexj/ui/symphony

Symphony framework client extension API.

The Client Extension API is an ECMAScript library that consists of services containing methods
that allow developers to build apps that extend and interact with Symphony's user interface.

Information about Symphony and the Symphony Client Extension API is found at
https://extension-api.symphony.com/

Rendering is specified in nexj/ui/symphony/dom.

dependencies

  • "ext/symphony"

nexj/ui/table

Data table view plug-in

Additional modules

  • nexj/ui/table/dom
  • nexj/ui/table/dom/test
  • nexj/ui/table/test

dependencies

  • "nexj/sys",
  • "nexj/ui",
  • "nexj/i18n",
  • "nexj/ui/core"

nexj/ui/test

Qunit testing support

dependencies

  • "qunit",
  • "nexj/ui",
  • "nexj/sys",
  • "nexj/cvt",
  • "nexj/ref",
  • "nexj/i18n"

nexj/ui/tree

Tree view plug-in

Additional modules

  • nexj/ui/tree/dom
  • nexj/ui/tree/dom/test
  • nexj/ui/tree/test

dependencies

  • "nexj/ui",
  • "nexj/sys",
  • "nexj/i18n"

nexj/utf8

UTF-8 string conversion

Exports the `utf8` object.

dependencies

  • none

nexj/val

Validators

Exports the `val` object.

dependencies

  • "nexj/sys",
  • "nexj/i18n"

nexj/xml

XML/JSONML processing

Exports and enhances the `xml` object.

dependencies

  • "nexj/sys",
  • "nexj/i18n",
  • "exports"


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.