Metadata.js is a library for building offline-first browser-based applications
Metadata.js is a JavaScript implementation of 1C:Enterprise Platform object model. Its goal is to emulate the most popular classes of 1C:Enterprise API, while running in the browser or in Node.js.
Metadata.js not compete with client Web UI and client-server (including reactive) frameworks, and complements the new abstraction of data objects and data managers. Using these classes simplifies the development of complex interfaces of business applications.
npm install --save metadata-js # node
npm install -g metadata-js # command line
To create a folder and files structure, run the command
metadata init # create empty repo
npm install # install dependencies
For the browser, include:
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/font-awesome@latest/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/combine/npm/metadata-js/dist/dhx_terrace.min.css,npm/metadata-js/dist/metadata.min.css">
<script src="//cdn.jsdelivr.net/combine/npm/moment,npm/alasql,npm/pouchdb,npm/jquery,npm/metadata-js/dist/dhtmlx.min.js,npm/metadata-js/dist/metadata.min.js"></script>
Many thanks to
- Andrey Gershun & M. Rangel Wulff, authors of AlaSQL - Javascript SQL database library
- Authors of PouchDB and CouchDB - NoSQL database and data synchronization engine
- Other people for useful tools, which make our work easier
The license on this repo covers all contents of the repo, but does not supercede the existing licenses for products used for this work and other products.
(c) 2014-2018, Oknosoft Lab (info@oknosoft.ru)