metadata-js
v0.12.231
Published
Library for building offline-first browser-based business applications
Downloads
43
Maintainers
Readme
Metadata.js is a library for building offline-first browser-based applications
Offline-first web application - it's just
What is Metadata.js?
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.
Unlike competitors
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.
Install
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/fontawesome/latest/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/g/metadata(dhx_terrace.css+metadata.css)">
<script src="//cdn.jsdelivr.net/g/momentjs,alasql,pouchdb,jquery,metadata(dhtmlx.min.js+metadata.min.js)"></script>
Credits
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
License
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-2016, Oknosoft Lab ([email protected])