Skip to content

Commit

Permalink
Short readme for adstream.views modules
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMotovilov committed Mar 22, 2013
1 parent b8eae7a commit 40546fb
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions libs/adstream/views/README.md
@@ -0,0 +1,16 @@
`adstream.views`
================

Prototype/proof of concept for a library of interactive components (widgets, controls) with a markup-based declarative API.

Modules:

* `_base.js`: base class for scope objects used by the composite widget facility and helper functions.
* `CHT/composite.cht`: composite widget facility -- builds a single widget from multiple controller mix-ins, manages scope
objects shared between template and controller code, automates repeated rendering of widget content via its `View` template.
* `form.js', `CHT/form.cht`: the form infrastructure -- supports automatic creation of backup copy for the target data
object, manages form-level validation.
* `pushButton.js`, `CHT/pushButton.cht`: the simplest possible control; still supports declarative mix-ins.
* `change.js`, `CHT/change.cht`: mix-ins for updating the view based on changes in the form data propagated by other controls.
* `validate.js`, `CHT/validate.js`: validator mix-ins that can be used with any control tied to its data object using the slot abstraction.
* `watch.js`, `CHT/watch.js`: set watchers on `adstream.data` sources from CHT code and update views automatically. As yet untested.

0 comments on commit 40546fb

Please sign in to comment.