This package has been deprecated

Author message:

removed

krom

0.1.0 • Public • Published

Krom.js

A data-driven view, OO, pure js without new paradigm shift

Feels at home with this view layer, no new learning curve or paradigm on understanding how a web framework should work. K.I.S.S and does not obscured data from view with walls of you-name-it-how-to-master-a-framework. Krom.js offer a little bit of;

  • data bindings
  • data from array
  • input bindings
  • built-in observable
  • immutability(at least control DOM mutation)
  • component register/deregister
  • no custom attributes
  • reactive css and attributes

Might not be perfect, but lets hope it solve the problem I-just-want-my-data-shown.

Getting there

For starter create a html template with a div element with id "app".

...body>
<div id="app"></div>
....
</body>

..and in script block or just wrote this in the web console(seriously)

var app = new Krom
app.link('app', 'Hello World')

Documentation

Work in progress, for the time being see working sample directory. The index.html is a starter template for Krom.js

p/s: In fact, writing this part might defeat the purpose of this

License

The MIT License (MIT)

Copyright (c) 2017 Shahrul Nizam Selamat

Package Sidebar

Install

npm i krom

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • syarul