Need help with js-model?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

benpickles
405 Stars 41 Forks MIT License 306 Commits 15 Opened issues

Description

Work with models in your JavaScript

Services available

!
?

Need anything else?

Contributors list

# 17,076
Ruby
HTML
jquery-...
jQuery
274 commits
# 458,054
JavaScr...
CSS
3 commits
# 109,094
JavaScr...
Ruby
jquery-...
jQuery
3 commits
# 9,694
Shell
full-te...
HTML
lunr
2 commits
# 356,672
HTML
templat...
Shell
coffees...
2 commits
# 142,371
Ruby
HTML
mongoid
Zsh
1 commit
# 62,892
Ruby
Rails
Elixir
jQuery
1 commit
# 351,047
JavaScr...
CSS
Compose...
pusher
1 commit
# 497,712
JavaScr...
CSS
Mobile
cordova
1 commit

js-model

js-model is a library that allows you to work with models in your JavaScript.

In brief

Declare a model class:

var Todo = Model("todo")

Now create and manipulate model instances:

var todo = new Todo({ text: "do it" })
todo.attr("when", "now")
todo.save()

Documentation / download / more

For notes on getting started, persisting via REST or localStorage, using with Sammy, API documentation and download links visit the js-model docs site.

Suggestions / questions / issues / comments

Feel free to use Github issues for any of the above.

Copyright

Copyright 2010-2012 Ben Pickles. See LICENSE for details.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.