togetherjs_使用TogetherJS

togetherjs

TogetherJS

Last week I highlighted five awesome Mozilla technologies that most people have never heard of.  Before the Mozilla Summit in Santa Clara, even I (a Mozilla employee)  had not heard of a few of them.  One of the projects I was most impressed by was TogetherJS, a project created to allow for simple collaborative development between any number of users.  My favorite attribute of TogetherJS is that it's so incredibly easy to implement.  Let me show you how!

上周,我重点介绍了大多数人从未听说过的五种很棒的Mozilla技术 。 在圣克拉拉举行的Mozilla峰会之前,甚至我(Mozilla的雇员)都没有听说过其中的一些。 我印象最深刻的项目之一是TogetherJS ,该项目的创建旨在允许任意数量的用户之间进行简单的协作开发。 我最喜欢的TogetherJS属性是它是如此容易实现。 让我告诉你怎么做!

HTML (The HTML)

Implementing TogetherJS only requires a script tag and an opt-in button to initiate collaboration:

实施TogetherJS只需一个脚本标签和一个选择加入按钮即可启动协作:


<script src="https://togetherjs.com/togetherjs-min.js"></script>

<button onclick="TogetherJS(this); return false;">Collaborate!</button>


The TogetherJS(this) call initiates the library, displaying an opt-in dialog, and then users can see where other users place their cursor, click, change form fields, and modify page contents. The updates can be anonymous (yay privacy!) and effective!

TogetherJS(this)调用将启动该库,并显示一个“选择加入”对话框,然后用户可以看到其他用户将光标放置在何处,单击,更改表单字段以及修改页面内容。 更新可以是匿名的(是隐私!)并且有效!

What an incredible utility -- never has instant collaboration been so easy!  TogetherJS is a another example of how Mozilla is fighting to make not just development easier, but collaboration of all kinds easier.  The epic development sandbox, JSFiddle, has implemented TogetherJS to allow for easily collaboration and code experimentation.  Leave it to Mozilla to create an epic collaboration tool that's easy to implement!

多么令人难以置信的实用程序-即时协作从未如此轻松! TogetherJS是Mozilla如何努力使不仅使开发更容易,而且使各种协作更容易的另一个示例。 史诗般的开发沙箱JSFiddle已实现TogetherJS,以便轻松进行协作和代码实验。 留给Mozilla创建一个易于实现的史诗般的协作工具!

翻译自: https://davidwalsh.name/togetherjs

togetherjs

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值