Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Interactive data-driven views, MVVM and MVP, built on top of JsRender templates
branch: master

Commit 62 (Beta Candidate)

- Improved support for data-linked element expressions
  using tags
  e.g. <div data-link="{if foo tmpl='...'}">

  This now supports one or more {else} expressions

  <div data-link="{if a tmpl='...'}{else b tmpl='...'}">

  It also supports linking tag expressions to different
  targets, such as title{... css-color{... class{... etc.

  data-link="title{for items tmpl='...'}{else tmpl='...'}"

  See #293

- Tag inheritance now supports multi-level inheritance with
  easy invocation of the base class implementation using
  this.base(...) or this.baseApply(arguments):
    baseTag: "for",
    onAfterLink: function() {

  Similarly for callbacks declared declaratively on tags:
  {{for items onAfterLink=~myHelper onUpdate=~dbg}}...

  The above uses the built in ~dbg helper, and a user-provided
  helper, such as:

  function myHelper() {

- Many new unit tests added for the above new features.

- Some small additional bug fixes.
latest commit 074f8b228b
Boris Moore authored

JsViews: Next-generation MVVM and MVP framework - bringing templates to life

The power of MVVM, the flexibility of JavaScript, the speed and ease of JsRender templates

JsViews builds on top of JsRender templates, and adds data-binding and observable data, to provide a fully-fledged MVVM platform for easily creating interactive data-driven single page apps and websites.

JSRender and JsViews together provide the next-generation implementation of both JQuery Templates, and JQuery Data Link - and supersede those libraries.

See also the JsRender repository on GitHub

Documentation and Downloads

Documentation, downloads, samples are available on the website.
(JsViews and JsObservable API docs and tutorials are coming soon, as we move JsViews to the official beta and on to V1.0)


In addition to the demos at, see also the demos folder of this GitHub repository - available here as live samples.

Current Status

JsViews is now an alpha release, which will be declared beta as soon as API documentation is complete on the website, and then move to V1.0.

Something went wrong with that request. Please try again.