Views jQuery Templates

Component ID

1192350

Component name

Views jQuery Templates

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Ever wonder why all that extra bandwidth is used up pushing the same identical HTML markup for many items on a page? This module will use the the awesome jQuery TMPL plugin to client-side populate an HTML DOM template generated by views with JSON data also generated by views.

"jQuery templates contain markup with binding expressions ('Template tags'). Templates are applied to data objects or arrays, and rendered into the HTML DOM"

Served via CDN too! http://ajax.aspnetcdn.com/ajax/jquery.templates/beta1/jquery.tmpl.min.js

TODO:

  1. Mechanism to enable on specific views, within view or admin screen.
  2. Force single item HTML creation and push template to head.
  3. Output JSON from view using Views Datasource.
  4. Auto-detect local (libraries) or CDN include, just works either way.
  5. Work with exposed filters (pre-loaded and all.) Yikes!
  6. Work with sorts. More yikes!

SCOPE CREEP:

  1. Work with Views Display Tabs.
  2. Separate the JSON off into an AJAX source.