是否有用于构建在浏览器中运行的桌面应用程序的开源框架? [英] Is there an Open Source framework for building desktop apps that run in the browser?

查看:97
本文介绍了是否有用于构建在浏览器中运行的桌面应用程序的开源框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有兴趣启动一个开源项目,该项目可以打包为非技术最终用户的桌面应用程序,但可以在浏览器中运行 - 一个现有模型将是 Google优化。我正在寻找一个现有的开源框架来支持这个 - 而不是 UI部分,而是更低级别的应用程序框架,包括:

I'm interested in starting an Open Source project that could be packaged as a desktop application for non-technical end users, but would run in the browser - one existing model would be Google Refine. I'm looking for an existing, Open-Source framework that would support this - not the UI portion, but the lower-level application framework, including:


  • 数据持久性(最好通过某种ORM)

  • 基于桌面的网络服务器(我假设这样会必须支持基于浏览器的UI)

  • 文件系统访问

  • 安全/沙盒(例如,解决运行自己的XSS / CSRF问题) webserver)

  • 支持基本的Web应用程序元素(例如URL处理,模板)或其他可以处理此问题的Web应用程序框架

  • 打包项目一键安装(即用户不需要安装Python,节点或其他技术)

  • Data persistence (preferably via some sort of ORM)
  • Desktop-based webserver (I'm assuming this would be necessary to support a browser-based UI)
  • Filesystem access
  • Security/sandboxing (e.g. to address the XSS/CSRF issues of running your own webserver)
  • Support for basic web app elements (e.g. URL handling, templating) or for another web app framework that could handle this
  • Packaging the project for one-click installation (i.e. the user should not need to have Python, node, or other technologies installed)

我希望为我找到一个为我设置大量内容的框架,Django设置Web应用程序的方式 - 不仅仅是一种支持编写Web应用程序的技术我自己的框架。

I'm hoping to find a framework that sets up a significant amount of this for me, the way that Django sets up web applications - not just a technology that would support writing this framework myself.

我理想的框架是跨平台跨浏览器,并且会被写入无论是Python,Java还是Javascript(在node.js上运行或类似的东西)。这样的框架是否存在?

My ideal framework would be cross-platform and cross-browser, and would be written in either Python, Java, or Javascript (running on node.js or something similar). Does a framework like this exist?

推荐答案

您应该能够构建一个使用 web2py 。 Web2py不需要安装或配置,没有依赖关系,并且包含内置Web服务器和SQLite RDBMS(以及数据库抽象层)。 Windows和Mac二进制文件甚至包括Python解释器,因此无需安装Python(您甚至可以通过拇指驱动器运行它)。您可以使用web2py发行版打包您的应用程序,您的用户只需解压缩它,单击一个文件即可启动它,您的应用程序将在其浏览器中启动。您甚至可以将应用程序分发为二进制文件,如此处

You should be able to build a desktop app that runs in the browser using web2py. Web2py requires no installation or configuration, has no dependencies, and includes a built-in web server and the SQLite RDBMS (as well as a database abstraction layer). The Windows and Mac binaries even include the Python interpreter, so no need to install Python (you can even run it off a thumb drive). You can pack your application with a web2py distribution, and your users will simply have to unzip it, click a single file to start it, and your app will launch in their browser. You can even distribute your applications as binaries, as explained here.

文档非常好,如果您有任何疑问,可以使用非常有用且响应迅速的邮件列表

The documentation is excellent, and if you have any questions, there's a very helpful and responsive mailing list.

如果你想开始玩它,只需下载它,解压缩,然后单击web2py.exe(Windows)或web2py.app(Mac)文件 - 这将在浏览器中启动welcome(脚手架)应用程序。如果缺少对您的用例有帮助的东西,请在列表中询问 - 如果更改很简单且有用,则可能会添加。

If you want to start playing with it, just download it, unzip it, and click the web2py.exe (Windows) or web2py.app (Mac) file -- that will launch the "welcome" (scaffolding) app in your browser. If there's something it's lacking that would be helpful for your use case, ask on the list -- if the change is easy and useful, it will probably get added.

这篇关于是否有用于构建在浏览器中运行的桌面应用程序的开源框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆