Rails 3 + Sammy.js + MongoID + js-model + BDD (ScrewUnit & BlueRidge)
JavaScript Ruby
Latest commit 4f9233d Jul 11, 2010 @ahe redirect only in the callback
Permalink
Failed to load latest commit information.
app we don't need the create method, js-modal save() already does the job Jul 10, 2010
config new demo Jul 1, 2010
db new demo Jul 1, 2010
doc new demo Jul 1, 2010
lib/tasks new demo Jul 1, 2010
log
public redirect only in the callback Jul 11, 2010
script new demo Jul 1, 2010
test new demo Jul 1, 2010
vendor/plugins new demo Jul 1, 2010
.gitignore More generic way to load models remotely + .gitignore Jul 9, 2010
Gemfile new demo Jul 1, 2010
README.rdoc
Rakefile
config.ru new demo Jul 1, 2010

README.rdoc

sammy_demo

This project is a sample app using Sammy.js and js-model. The goal is to create a MVC model on the client side, using Javascript.

I also tried to test the application using BDD with ScrewUnit & BlueRidge. With this solution, you can test your controllers, views & models in your browser. Most of tests can also be automated using Rhino. Have a look at the testRoute method in the sammy.test.js plugin. There are only a few things at the moment, but you've got the idea.

This app is also using MongoDB & MongoID for the storage.

The app is located in public/javascripts/app.

The tests are located in test/javascripts.

links

copyright

Copyright © 2010 Anthony Heukmes, released under the MIT license

My Twitter account : twitter.com/2dc

My company : intotheweb.be