Hm.js

where model and view should live in

Examples

  1. todos with jsrender and todos with handlebar.js

    This is popular application to evaluate JavaScript MV* framework. There are many implementations hosted at todomvc.com. These two versions use the same model. The difference is the syntax of the template markup.

  2. Documentation of Hm.js

    This is a single page application implemented with Hm. All the content displayed is rendered locally, this rendering starts for <body /> tags. All the templates are external templates. You can edit the content, and new content.

  3. Hello world with programmatic subscriptions and Hello world with declarative subscriptions

  4. Click count with programmatic subscriptions, Click count with declarative subscriptions and Click count with structure

    These are the implementations of knockoutjs's example click counter

  5. Editable Grid

    This is a spread sheet like grid. You can insert,update,delete, rows and cell.

  6. ListView

    There are two view for an array, one can be queried/sort/page, one is simple list view. They both can respond to the change of data. For more see ListView

  7. Typed Objects

    This demos shows a collection of "strongly typed" object displayed in a table. For more see hm.Class

  8. Editable ListView and Editable ListView (in row edit)

    For more see, ShadowEdit

  9. Input widgets with no validations and Input widgets with validations

    All input widgets can be "bound" to model with a subscription group val. For more see value adapter. Validation a subscription of model, it is used to validate the change of model but not view. For more see Validation.

  10. Builtin Validations