Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Rails 3 + Sammy.js + MongoID + js-model + BDD (ScrewUnit & BlueRidge)
JavaScript Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
lib/tasks
log
public
script
test
vendor/plugins
.gitignore
Gemfile
README.rdoc
Rakefile
config.ru

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

Something went wrong with that request. Please try again.