Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可以用html+js开发桌面应用的方案调研 #18

Open
abeet opened this issue Jun 7, 2016 · 0 comments
Open

可以用html+js开发桌面应用的方案调研 #18

abeet opened this issue Jun 7, 2016 · 0 comments

Comments

@abeet
Copy link
Owner

abeet commented Jun 7, 2016

Adobe air
http://www.adobe.com/cn/devnet/air.html
Adobe air无疑是最成熟的,api最丰富

tidesdk
http://tidesdk.multipart.net/docs/user-dev/generated/#!/api
类似adobe air,不仅支持js语言开发,还支持php、python、ruby语言。

Bowline
https://github.com/maccman/bowline
类似adobe air,基于Webkit 不仅支持js语言开发,还支持ruby语言。

macruby
http://www.macruby.org/
在mac上Objective-C之外的另一个选择

CEF(Chromium Embedded Framework)
http://code.google.com/p/chromiumembedded/
https://bitbucket.org/chromiumembedded/cef
基于Google Chromium项目开发一个Web控件。它的基本框架通过原生库提供C和C++的编程接口,这些接口将宿主程序与Chromium与WebKit的实现细节隔离,能让浏览器与应用程序无缝集成,并支持自定义插件、协议、Javascript对象与扩展。

下面几个其实都基于 CEF

appjs
https://github.com/appjs/appjs
AppJS is an SDK to develop desktop applications using Node.js melded with Chromium.

https://github.com/adobe/brackets-shell/
为Brackets项目开发的基于CEF3的应用。

phantomjs
https://github.com/ariya/phantomjs
PhantomJS是一个命令行工具,我们可以把它看作是无界面的webkit浏览器。 与界面版相比,它速度相当快,且原生支持多种web标准,如DOM,CSS选择符,JSON,Canvas以及SVG。 PhantomJS提供了Javascript接口,可以用于实现以下解决方案: web应用的自动化测试 site scraping 页面截图 PDF转换 以及更多功能
PhantomJS的一个主要用途就是用来抓取网页并将它渲染成图片.在渲染图片时有很多选项可供调整,其中最常用的一个就是缩放选项(调整zoomFactor属性的值),它经常会被用在制作缩略图的场景下.另外一个不怎么被人熟知的选项就是"按指定矩形区域渲染"选项(调整clipRect属性的值),也就是生成的图片只包含了目标网页中被指定的那部分区域.

node-webkit
https://github.com/rogerwang/node-webkit
node-webkit 是一个基于 Chromium 和 Node.js 的 Web 运行环境,可让你直接在 DOM 中调用 Node.js 模块,并可使用任何现有的 Web 技术来编写本地应用。
还处于测试阶段吧

https://github.com/nwjs/nw.js
node-webkit is renamed NW.js

electron.js
http://electron.atom.io/
其前身是github大名鼎鼎的atom shell。是目前最活跃的使用web技术开发桌面软件的开源项目。包括github的atom和微软的Visual Studio Code都基于electron.js开发。
Electron 的架构包括 Node.js runtime 和嵌套的微型 Chromium 浏览器。

heX
http://hex.youdao.com/
https://github.com/netease-youdao/hex
heX 是网易有道搜索部门开发的一个允许你采用前端技术(HTML,CSS,JavaScript)开发桌面应用软件的跨平台解决方案,基于HTML5 + node.js,类似appjs、node-webkit。

豆瓣出的onering
http://code.google.com/p/onering-desktop/
基于QtWebKit,豆瓣电台和豌豆荚是用这个做的,为了性能,用的是webkit内核,而非chromium。所以一些html5功能要自己实现。
好像没有更新了。

AlloyDesktop
https://github.com/AlloyTeam/webtop
http://tencentopen.github.io/proj/AlloyDesktop/index.html
一个透明chrome浏览器。它提供了大量的本地api,可以开发桌面app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant