Asynchronous Node Templates + compiled client side
CoffeeScript JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
dist
lib
src
test
.gitignore
.npmignore
README.md
package.json

README.md

nct

nct is a nodejs (written in coffeescript) reformulation of my template system ideas for nc23, that is:

  • fully asynchronous
  • composable (through Django style parent/blocks)
  • compiled to source for straightforward use in the browser
  • lightweight markup -- the appearance should avoid heavy amounts of braces
  • logic free -- push any view logic into the context.
  • track dependencies -- for fast, incremental building in nc23
  • stamp: a unique template command for rendering multiple targets

Syntax

See wiki