Skip to content

TitanNanoDE/ApplicationFrame

Repository files navigation

Application Frame CCC

Build Status npm version Coverage Status Codacy Badge

Application Frame is an open and lightweight Programming Library for the Web. Its simple architecture lets the Library seamlessly argument the core features of different ECMAScript runtimes. Application Frame and its modules allows developers to develop at the heart of the Web while enjoying enhanced comfort. The Library provides a wide range of features which all try to argument the existing Web APIs.

Installation

npm i application-frame

Application Frame can be installed via NPM, but is shipped as native ECMAScript 2015+ modules, so they have to be transpiled before they can be used in many browsers. It's up to the build system of the consuming application, how this is done.

The Core

The core of Application Frame provides ECMAScript prototypes for Applications, DataStorages, EventTargets, NetworkRequests and other things. These prototypes provide basic functionality and abstraction of the underlying platform.

Usage

All prototypes can be used via native ECMAScript prototype inheritance. Since ECMAScript 2015, this can be easily done with object literals.

const NewApplication = {
    __proto__: Application
};

If a prototype requires construction instructions, these can be run via the constructor() method. The constructor always returns its current instance.

More details about all core features

Features

All of Application Frames features can be found in the Wiki. They cover NodeJS, IndexedDBs, memory management, access to the browser rendering engine, an abstracted ServiceWorker interface, access to the websites manifest and many other things.