如何制作一个基于浏览器的IDE来在云端编码?
我读过一些有关基于云和浏览器的 IDE 的内容。 我计划通过将编译器集成到云中的代码来制作一个基于 Java 的基本 IDE。这是出于教育目的,因为我决心学习开发基于云的 IDE。
我希望它像 eclipse Orion 一样,但我希望它允许用 java 进行编码。它应该允许用户通过直接编写 .java 文件而不是通过将 .js 文件转换为 java 文件来编码、编译和运行 java 程序。
有人可以建议我使用现有的云吗?而且,我只是一个初学者,我不知道如何继续以及我需要阅读的文章。 请让我知道应该从什么开始以及最适合我需求的云。
预先非常感谢您。
I have read a bit about cloud and browser based IDE's.
I am planning to make a Java based bare bones IDE by integrating a compiler to code in the cloud. This is for educational purpose as I am just determined to learn to develop cloud based IDE.
I want it to be something like eclipse Orion but i want it to allow for coding in java. It should allow users to code, compile and run java programs by directly writing .java files and not by converting the .js files into java files.
Can someone please suggest me an existing cloud that I should use for this. And also, I am just a beginner and I have no clue about how to proceed and the articles that I am required to read.
Please do let me know what I should begin with and the cloud that suits my needs the best.
Thank you very much in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您应该查看像 Mozilla SkyWriter 这样的项目,它实现了基本的编辑功能
(有很多变化最近似乎已迁移到 Ace)
You should look at projects like Mozilla SkyWriter, which implement the bare bones editing functionality
(There have been a lot of change lately. There seems to have been migrated to Ace)
您可以使用 Codenvy 并将代码放在 Git 存储库上。然后,一旦使用 Jenkins 等 CI 工具完成推送,您就可以自动构建。现在,我有一个使用 Jenkins 实例作为服务的环境,还有一个运行时环境,这样我就可以获得持续部署管道。此视频将以图形方式向您展示我正在谈论的内容。
You can use Codenvy and put your code on a Git repository. Then, you could build automatically once you have done the push using a CI tool like Jenkins. Now, I have an environment in which I use a Jenkins instance as a Service and also a runtime environment so I can get a continuous deployment pipeline. This video will show you, in a graphical way, what I am talking about.
Koding 为您提供完整的 Ubuntu 机器,具有 root 权限,因此它能够运行并执行您想要的操作,明智的编程。
我建议 Koding 的原因是他们有一个框架来为 Koding VM 本身开发 IDE。
这里的逻辑是,制作 IDE 具有挑战性,但最大的挑战是确保 IDE 用户之间的安全性。使用其他 VM 平台意味着您不必管理 VM 的安全性,而可以完全专注于 IDE。
让我知道你的想法:)
Koding provides you with a full Ubuntu machine, with root, so it's able to run and do what you want, programming wise.
The reason i'm suggesting Koding though, is that they have a Framework to develop your IDE for the Koding VMs themselves.
The logic here, is that making IDEs is challenging, but the biggest challenges is ensuring security between your IDE users. Using another VM platform would mean that you don't have to manage the security of your VM, and focus entirely on your IDE.
Let me know what you think :)
对于虚拟/云托管,请尝试以下操作之一:
我喜欢 vpsfarm,因为它便宜而且非常简单。
对于 IDE 本身,我首先创建一个可以上传、编译和运行任意 Java 代码的 Web 应用程序,而无需添加库或 J2EE。对于一个开发人员来说,仅此一点就将是一项很好的事业。
For virtual/cloud hosting try one of the following:
I like vpsfarm because it is cheap and pretty bare bones.
For the IDE itself, I would first create a webapp that can upload and compile and run arbitrary java code, without adding libraries or J2EE. That alone will be a good undertaking for one dev.