The Drumee rendering engine — the client-side framework that turns JSON component trees into a working interface.
npm i @drumee/ui-coreA client-side MVC framework built on Backbone.js and Backbone.Marionette. It provides LETC, a JSON-based UI description system: instead of writing HTML or templates, you describe a screen as a tree of components, and this library builds the DOM.
It ships the kind registry, the skeleton builders and the widget implementations. It has no build step of its own — bundling is the job of the consuming application, which for the Drumee workspace is ui-team.
The library is loaded for its side effects. It waits for a
drumee:bootstraping DOM event with name = 'locale', then:
- Loads jQuery, Lodash, Backbone.Marionette and the jQuery-UI draggable and resizable behaviours.
- Patches the Backbone and Marionette prototypes from
letc/addons/. - Exports its globals onto
window:Kind,Skeletons,Preset,Template,Host,Visitor,Organization,DrumeeMFS,LetcBox,LetcList,LetcText,LetcBlank. - Dispatches
drumee:bootstrapingwithname = 'core'to signal readiness.
letc/index.js is the entry point.
| Path | What it holds |
|---|---|
letc/ |
The engine — bootstrap, addons, kinds, skeletons, widgets |
vendor/ |
Vendored third-party dependencies |
| Package | Role |
|---|---|
@drumee/ui-essentials |
Shared front-end library this builds on |
@drumee/ui-team |
The Drumee workspace application that bundles this |
There is no lint, test or build script in this repository.
See the org CONTRIBUTING guide. Questions: Discussions.
AGPL-3.0 — see LICENSE.