js-model

Work with models in your JavaScript

Github stars Tracking Chart

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 2010-2012 Ben Pickles. See LICENSE for details.

Main metrics

Overview
Name With Ownerbenpickles/js-model
Primary LanguageJavaScript
Program languageRuby (Language Count: 3)
Platform
License:MIT License
所有者活动
Created At2010-01-28 19:59:55
Pushed At2013-08-23 23:13:20
Last Commit At2013-08-23 23:13:18
Release Count21
Last Release Namev0.11.0 (Posted on )
First Release Namev0.5.0 (Posted on )
用户参与
Stargazers Count403
Watchers Count9
Fork Count41
Commits Count306
Has Issues Enabled
Issues Count26
Issue Open Count10
Pull Requests Count5
Pull Requests Open Count5
Pull Requests Close Count8
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private