js-model

Work with models in your JavaScript

Github星跟蹤圖

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.

主要指標

概覽
名稱與所有者benpickles/js-model
主編程語言JavaScript
編程語言Ruby (語言數: 3)
平台
許可證MIT License
所有者活动
創建於2010-01-28 19:59:55
推送於2013-08-23 23:13:20
最后一次提交2013-08-23 23:13:18
發布數21
最新版本名稱v0.11.0 (發布於 )
第一版名稱v0.5.0 (發布於 )
用户参与
星數403
關注者數9
派生數41
提交數306
已啟用問題?
問題數26
打開的問題數10
拉請求數5
打開的拉請求數5
關閉的拉請求數8
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?