garcer / domvm

DOM ViewModel - A thin, fast, dependency-free vdom view layer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

domvm logo

domvm (DOM ViewModel)

A thin, fast, dependency-free vdom view layer (MIT Licensed)


Philosophy

UI-centric, exclusively declarative components suffer from locked-in syndrome, making them unusable outside of a specific framework. Frequently they must extend framework classes and adhere to compositional restrictions which typically mimic the underlying DOM tree and sacrifice powerful exposed APIs for the sake of designer-centric ease and beauty.

Instead, domvm offers straightforward, pure-js development without opinionated structural or single-paradigm buy-in. Uniformly compose imperative and declarative views, expose APIs, hold private state or don't, dependency-inject or closure, build monolithic or loosely coupled components.

Architect reusable apps without fighting a pre-defined structure, learning tomes-worth of idiomatic abstractions or leaning on non-reusable, esoteric template DSLs.


Looking for domvm v1?

It's still available in the 1.x-dev branch. This is v2 which is up to 3.5x faster, smaller and more refined while keeping the core features and API which made v1 a pleasure to use. The first stable v2 will be ready in Jan 2017, but the view layer is already fully-featured and beta quality today; the router is being ported and refined from v1.

About

DOM ViewModel - A thin, fast, dependency-free vdom view layer


Languages

Language:JavaScript 86.9%Language:HTML 10.4%Language:CSS 2.7%Language:Batchfile 0.0%