dotcloudJS

程序名称:dotcloudJS

授权协议: MIT

操作系统: 跨平台

开发语言: JavaScript

dotcloudJS 介绍

dotcloudJS 是一个 JavaScript 的客户端库,可让你通过简单的 API 访问强大的云服务。

示例代码

// Start synchronizing the "people" collection
var people = dotcloud.sync.synchronize('people');

// Add an observer to be notified of changes in people.
people.observe(function(type, change) {
  console.log(people);
});

// Add an item to the people collection
people.push({ firstname: 'John', lastname: 'Doe' });

// You can use other methods from the Array prototype
people.splice(0, 1, { firstname: 'Jane', lastname: 'Doe' });

// Update the person object at the given index
people.at(0, { age: 25 });

// Iterate over the people collection
people.forEach(function(item, idx, people) {
   console.log(idx, item);
});

dotcloudJS 官网

http://js.dotcloud.com/

相关编程语言

MuPlayer 是一款跨平台、轻量级的音频播放解决方案,...
OS FLV 是一个 开源和可嵌入网页的flv播放器。 这个...
DewPlayer音乐播放器,样式很简单,而且很实用.播放器...
JW FLV MEDIA PLAYER是一个开源的在网页上使用的Fla...
Speakker 是一个基于 Web 浏览器的音乐播放器,只提...
Player Framework 是一个开源的支持 HTML5 的视频播...