Skip to content

zhouzhuojie/reactive-coffee-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reactive-coffee-demo

Demo Website

A quick todoMVC example built with Meteor-Reactive-Coffee.

Some implementation notes

  • We don't even need html/templates

  • Populate the Meteor.Collection data into rx.array or rx.cell

window.tasks = rx.meteor.find TaskDB, {}, {sort:{created:-1}}
window.taskLatest = rx.meteor.findOne TaskDB, {}, {sort:{created:-1}}
  • Data bind is as simple as plain reactive-coffee
ul {id: 'todo-list'}, tasks.map (task) ->
  # ...
  span task.title
  # ...

see client/reactive-coffee-demo.coffee for details.

About

reactive-coffee-demo.meteor.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published