Introduction
What we already know is - Cubbles is about components easily to used in any web application.
Components Reside in Webpackages
A webpackage is identified by its name and version (e.g. "twitter-connectors@1.0
") and contains an arbitrary number of artifacts. Each webpackage contains at least manifest.webpackage
file. It is the most important document of each webpackage - containing all data describing the webpackage and of each of its artifacts.
With components we make a difference between elementary components (aka "elementaries") and compound components (aka "compounds"). Both are different types of artifacts and described in different sections of the manifest.webpackage
.
The valid structure of a whole manifest file is described by a json schema: https://github.com/cubbles/cubx-webpackage-document-api/wiki/manifest.webpackage:-Change-Notes
Note: A webpackage is intended to be used as a collection of related artifacts (e.g. a component library, a well structured compound or different variants of one component). Keep in mind, that all artifacts are versioned with the webpackage.
Elementary Components
TODO
Compound Components
TODO