Topic cluster

Other

Documentation not covered by the keyword groups shown in the parent cluster.

15 items

All documentation outside the keyword groups in the parent cluster is listed below.

Cotonic

Change log Cotonic

1.9.0 — Sep 1, 2026 — Diff — Docs — Download

Cotonic

Cotonic Cotonic

Cotonic is a Javascript library which makes it possible to split the javascript code of your page into truly isolated components. By doing this a crash in one component can never…

Cotonic

cotonic.broker Cotonic

The broker module handles all local publish subscribe connections. The subscriptions are stored in a trie datastructure allowing quick action. They are available in the cotonic.broker namespace.

Cotonic

cotonic.mqtt Cotonic

The mqtt module provides functions to work with mqtt topics. The broker uses this module as the basis to provide its functionality. This module also has some utility functions to easily extract…

Cotonic

cotonic.mqtt_bridge Cotonic

This module makes it possible to bridge the broker on the local page to an external MQTT broker.

Cotonic

cotonic.tokenizer Cotonic

The tokenizer transforms text to html tokens. The tokenizer is used by the user interface composer in order to call the incremental-dom api. It uses incremental-dom to do in-place diffing of the…

Cotonic

cotonic.ui Cotonic

The user interface composer manages html snippets which can be placed in the DOM tree. When an updated html snippet is delivered to the composer it will render it by using Google's incremental-dom library.

Validators

custom

Support for custom client-side (JavaScript-based) validators.

Developer guide

Diagnose a failed browser interaction

Reproduce one action with the browser console and network panel open. Check for a JavaScript error before the request, a failed request, or a successful response that the page does not apply.

Cotonic

Links Cotonic

Introduction to Incremental DOM

Cotonic

Models Cotonic

Because workers run as independent components it is not possible to directly call api's. Some api's are also not available to web workers. Models are special modules, or workers, which publish…

Cotonic

Page functions Cotonic

Cotonics main functions are available in the cotonic namespace on the main page. The functions are mostly used to control and allow messaging between workers.

Cotonic

Worker functions Cotonic

Workers are stand alone processes. They have no shared data with the page, nor with other workers. Their memory and calling context is isolated. They can easily communicate with other workers

Cotonic

Workers Cotonic

Cotonic uses Web Workers which all run in separate calling context. This means that they will not block the main user interface thread. They are also truly isolated from each other. This means…