- 授权协议: 未知
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/endlessinc/ember-restless
- 软件文档: https://github.com/endlessinc/ember-restless
软件介绍
Ember RESTless 是 Ember.js 的轻量级数据持久层库。用来跟远程的持久层进行通信(诸如 JSON API),并映射数据到你客户端的 JavaScript Ember 应用。
一些示例代码:
App.Person = RL.Model.extend({
firstName: RL.attr('string'),
lastName: RL.attr('string'),
birthday: RL.attr('date'),
createdAt: RL.attr('date', { readOnly: true }); // read-only attributes won't get sent back up to the API.
});
定制转换器:
App.RESTAdapter.registerTransform('formattedDate', {
deserialize: function(serialized) {
//return custom date string
},
serialize: function(deserialized) {
//return custom date json format
}
});
Flow-Based Programming (2nd Edition)
CreateSpace / 2010-5-14 / $69.95
Written by a pioneer in the field, this is a thorough guide to the cost- and time-saving advantages of Flow-Based Programming. It explains the theoretical underpinnings and application of this program......一起来看看 《Flow-Based Programming (2nd Edition)》 这本书的介绍吧!
