public
Description: Sammy is a tiny javascript framework built on top of jQuery, It's RESTful Evented Javascript.
Homepage: http://code.quirkey.com/sammy
Clone URL: git://github.com/quirkey/sammy.git
quirkey (author)
Wed Sep 30 07:52:31 -0700 2009
commit  e9ead6af38aaac4877ef5e166e9d792491cd3285
tree    78dbe3b1a8b62bde33d0e68798d158907d36a5e6
parent  5a2654b06ec647b35a155c0639865458c0f8e281
sammy / examples / backend
name age message
..
file README.md Fri May 15 22:22:44 -0700 2009 Added note about todos stored in memory [quirkey]
file Rakefile Sun May 03 14:34:24 -0700 2009 Ugly but very simple working task list (backed ... [quirkey]
file app.rb Fri May 15 22:13:06 -0700 2009 Added README fixed gem dependency issues for rack [quirkey]
file app.ru Sun May 03 10:17:23 -0700 2009 Started work on backend example with sinatra + ... [quirkey]
directory public/ Wed Jun 03 13:37:42 -0700 2009 Updated backend example [quirkey]
directory views/ Sat May 09 21:26:22 -0700 2009 More CSS, toggling complete looks cool [quirkey]
examples/backend/README.md

Sammy

Backend Example

This is a simple To-do list type application built with a simple ruby backend and a sammy front-end.

The backend is built using sinatra (+rack), and cloudkit.

Setup

Besides Ruby you also need some gems. Currently, there are some issues with Rack 1.0 and Sinatra so you need to install the pre-release sinatra from github.

sudo gem install cloudkit haml sudo gem install sinatra-sinatra -s http://gems.github.com

Once you have everything installed from this directory (examples/backend) run:

rake start

Notes

!!! Todo's are stored in memory! AKA if you restart the rack application you will loose you're todos. This is really just a demonstration. If you really want to use this, check the cloudkit docs to see how to set cloudkit up to store info in Tokyo Cabinent.