Comment on OneRing in onering-desktop

19 views
Skip to first unread message

onering...@googlecode.com

unread,
Sep 20, 2010, 8:07:38 AM9/20/10
to onering...@googlegroups.com
Comment by iWinux:

好像很好玩...可是...Python 的GUI原本就挺迟钝的,用这种方式的话会不会更慢 =
=...


For more information:
http://code.google.com/p/onering-desktop/wiki/OneRing

onering...@googlecode.com

unread,
Sep 20, 2010, 9:28:03 AM9/20/10
to onering...@googlegroups.com
Comment by yzhrain:

这种想法已经在一个手机操作系统上实现了,它叫做:webOS

onering...@googlecode.com

unread,
Sep 20, 2010, 9:31:29 AM9/20/10
to onering...@googlegroups.com
Comment by linjunhalida:

用户拖拽界面的速度顶多是10毫秒级别的, 完全够了.

onering...@googlecode.com

unread,
Sep 20, 2010, 10:08:14 AM9/20/10
to onering...@googlegroups.com
Comment by jhuangjiahua:

@iWinux 迟钝的是 PyWx 这个特例吧,

PyGtk 很快的。

onering...@googlecode.com

unread,
Sep 20, 2010, 3:38:56 PM9/20/10
to onering...@googlegroups.com
Comment by hongqn:

OneRing的GUI是用WebKit实现的,所以它的GUI响应速度取决于WebKit的渲染和
Javascript执行速度。

onering...@googlecode.com

unread,
Sep 20, 2010, 8:52:02 PM9/20/10
to onering...@googlegroups.com
Comment by richieyan:

webOS和这个目标至少应该不同。
OneRing不是为了做一个OS,而是一个跨OS的应用开发平台

onering...@googlecode.com

unread,
Sep 21, 2010, 12:06:25 PM9/21/10
to onering...@googlegroups.com
Comment by guye999:

webkit内核运行javascript的速度已经相当快了,印象中曾看过一个图,比python和
PHP还要快。

onering...@googlecode.com

unread,
Sep 22, 2010, 10:58:19 PM9/22/10
to onering...@googlegroups.com
Comment by superpowerlee:

有个问题,如果还要Python的binding的华似乎失去了作为一个Native的应用引擎的意
义,8M多的打包下载再加上Python就很大了,还不如XULRunner了,那个打包差不多
10M到11M的样子,用WebKit的引擎不错,这样HTML5就能侵入桌面端了
希望这个东西能够减肥到5M左右,纯Native的就绝对霸道了

onering...@googlecode.com

unread,
Sep 23, 2010, 1:01:17 AM9/23/10
to onering...@googlegroups.com
Comment by hongqn:

OneRing本身的设计是跨语言的,只是目前的demo是用的python。

在我们的实测中,占发布包体积最大的还是WebKit和Qt依赖库,Python运行时环境占的
比例并不大。希望有对软件瘦身比较了解的朋友能加入进来,共同研究缩小发布包的方
法。

onering...@googlecode.com

unread,
Sep 24, 2010, 9:17:36 PM9/24/10
to onering...@googlegroups.com
Comment by renwofei423:

非常支持这个!以前就想过开发这样个平台,没想到豆瓣已经做了!
试试!

onering...@googlecode.com

unread,
Sep 25, 2010, 12:06:26 AM9/25/10
to onering...@googlegroups.com
Comment by hongqn:

@renwofei423
来一起做吧 :)

飞爱曦

unread,
Sep 25, 2010, 12:07:21 AM9/25/10
to onering...@googlegroups.com
linux 安装?
好 我晚上回去试试 如果成功 的话我就去分享下咯^^

onering...@googlecode.com

unread,
Sep 26, 2010, 5:08:14 AM9/26/10
to onering...@googlegroups.com
Comment by sz83800000:

2楼说中了。

刚看了一下palm的webos,就是这个概念。

onering...@googlecode.com

unread,
Oct 11, 2010, 1:33:00 AM10/11/10
to onering...@googlegroups.com
Comment by dexter.yy:

架构跟nodejs很类似,为何不实现CommonJS API,利用现有的大量js modules
http://wiki.commonjs.org/wiki/CommonJS
http://wiki.github.com/ry/node

onering...@googlecode.com

unread,
Oct 11, 2010, 2:48:19 AM10/11/10
to onering...@googlegroups.com
Comment by hongqn:

@dexter.yy
感谢建议。什么地方有用CommonJS API做桌面GUI程序的文档或者demo吗?

onering...@googlecode.com

unread,
Oct 11, 2010, 3:34:33 AM10/11/10
to onering...@googlegroups.com
Comment by dexter.yy:

firefox新的扩展开发架构Jetpack
SDK:https://jetpack.mozillalabs.com/sdk/0.8/docs/#guide/packaging

我已经用它开发过一个GUI的自动化测试工具了

P.S.上一贴里module的链接帖错了…… http://github.com/ry/node/wiki/modules

onering...@googlecode.com

unread,
Oct 14, 2010, 2:14:54 AM10/14/10
to onering...@googlegroups.com
Comment by hongqn:

@dexter.yy
已经创建 issue 25 。如果你有什么实现上的想法(比如模块如何划分等),欢迎在
issue 25 下讨论。 :)

onering...@googlecode.com

unread,
Jan 5, 2011, 8:17:09 AM1/5/11
to onering...@googlegroups.com
Comment by guolin.mobi:

这个库没有持久化支持吧? HTML 写界面,JS 写逻辑,就是缺了数据持久化。
是打算使用 HTML5 的 webdatabase ?也有可能是基于豆瓣的产品形态,无需考虑持久
化?

建镔 陈

unread,
Jan 5, 2011, 8:42:05 AM1/5/11
to onering
这么好的项目怎么不持久化支持?
hongqn都写了里程碑2.0的计划呢!
我觉得到时候自己编译一份chrome os,把onering的思想融合进去,就可以是一个douban OS了 XD

关于数据持久化,你可以选择存在前端或者后端,前端用localstorage等等技术.后端的话用sqlite3也不错.

我在后端使用django + sqlite3 :)

onering...@googlecode.com

unread,
Jan 5, 2011, 10:28:09 PM1/5/11
to onering...@googlegroups.com
Comment by hongqn:

OneRing本身通过HTML5提供持久化支持,例子可以见 demo 中的 Local Storage
http://code.google.com/p/onering-desktop/source/browse/demo/templates/localstorage.html

HTML5提供了Key-Value和SQL两种持久化方式,如果还需要其他的持久化方式,可以利
用OneRing提供的ajax方法把数据提交给app,由app的本地代码完成持久化(如直接写
文件系统)。

onering...@googlecode.com

unread,
Feb 16, 2011, 12:52:48 AM2/16/11
to onering...@googlegroups.com
Comment by Remember...@gmail.com:

hi,如果需要进入本地文件系统进行读写,该如何?

onering...@googlecode.com

unread,
Feb 16, 2011, 11:08:36 PM2/16/11
to onering...@googlegroups.com
Comment by hongqn:

可以在app中读写本地文件系统,用OneRing提供的类ajax方法或call_app方法与app交
互。
Reply all
Reply to author
Forward
0 new messages