Skip to content

worldofchris/handlebars-plugfest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

handlebars-plugfest

image

Using handlebars.js to enable language and data source/CMS agnostic interface for presentation tier to use

Goals

  • Late binding of template to content
  • Granular reusable partials
  • Work in the browser, in Node, in Rails and in Java

Browser JavaScript

In the browser-javascript directory we have an example of Handlebars.js working in the browser with JavaScript

Dependencies

  • Node.js

Usage

Install the Node and Bower dependencies:

npm install
bower install

And then run the nws webserver with

npm start

You can now navigate to http://localhost:3030/ to see the Browser/JavaScript version

The Tests

Once the server is up you can run the Mocha/Chai tests here: http://localhost:3030/test.html

Notes

The example helper is adapted from this answer to this Stack Overflow Question

Java

WIP.

About

Handlebars.JS working in many context

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published