Netbeans RCP 与 Eclipse RCP [英] Netbeans RCP vs Eclipse RCP

查看:28
本文介绍了Netbeans RCP 与 Eclipse RCP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想开始一个将广泛使用插件的新项目.我知道 Eclipse 和 Netbeans 都有各自的富客户端平台,都有各自的优点和缺点.

I would like to start a new project which will make extensive use of plugins. I know that both Eclipse and Netbeans have their respective Rich Client Platforms, both with their respective strengths and weaknesses.

我想要一些 Stack Overflow 社区喜欢的评论.

I would like some comments on which the Stack Overflow community prefers.

此外,最重要的是,使用各自的平台为现有应用程序编写插件是多么容易.例如,如果我完成了我的应用程序,并希望让 3rd 方使用他们自己的插件扩展它,这些平台中的每一个如何为此提供功能?他们需要我的资源来做这件事,还是这些平台提供第三方可以编码的插件 API?

Also, and most importantly, how easy it is with the respective platforms to write plugins for already existing applications. For example, if I finish my application, and would like to enable 3rd parties to extend it with their own plugins, how does each of these platforms provide functionality for this? Would they need my source to do it, or do these platforms provide plugin APIs towards which 3rd parties can code?

推荐答案

我想要一些 Stack Overflow 社区喜欢的评论.

I would like some comments on which the Stack Overflow community prefers.

我倾向于使用 Eclipse RCP,主要是因为我仍然认为 IDE 本身是目前最好的.Eclipse RCP 也比较成熟,网上有更多的书籍和文档.Netbeans RCP 稍微落后,我在 Amazon.com 上只能找到三本有关该平台的书籍.

I lean my preference to Eclipse RCP, mostly because I still think that the IDE itself is the best right now. Eclipse RCP is also more mature, and has more books and documentations on the web. Netbeans RCP is slightly behind with only three books I can find on Amazon.com regarding the platform.

我也非常渴望看到该平台随着其 e4 项目的发展而发展,这将简化很多东西(从依赖注入到 UI 定制)

I'm also very eager to see the platform growing with its e4 projects which will simplify a lot of things (from dependency injection to UI customization)

此外,最重要的是,使用各自的平台为现有应用程序编写插件是多么容易.例如,如果我完成了我的应用程序,并希望让 3rd 方使用他们自己的插件扩展它,这些平台中的每一个如何为此提供功能?他们需要我的资源来做这件事,还是这些平台提供第三方可以编码的插件 API?

Also, and most importantly, how easy it is with the respective platforms to write plugins for already existing applications. For example, if I finish my application, and would like to enable 3rd parties to extend it with their own plugins, how does each of these platforms provide functionality for this? Would they need my source to do it, or do these platforms provide plugin APIs towards which 3rd parties can code?

我可以想象,当两个平台都设计为可扩展时,这个问题的答案不会真正令人满意.他们在这个部门相当平等.

I can imagine that the answer for this question will not really be satisfying while both platform are designed to be extensible. They are pretty equals in this department.

最重要的是将您的应用程序设计为可扩展的.也就是说,提供扩展点.您不必为此提供源代码,但可以记录扩展点.此外,如果您需要提供接口,您可以只提供没有真正来源的 javadoc.

The most important thing is to design your application to also be extensible. That is, providing extension points. You don't have to provide source code for that but you can document the extension points. Also, in case you need to provide interfaces, you can just provide the javadoc without the real source.

我重复我的观点,使用 RCP 设计应用程序并不意味着您的应用程序将自动可扩展.您还必须设计您的应用程序.当您第一次学习该平台时,这并不容易,但您最终会从经验中了解它.

I repeat my point, designing application using RCP doesn't mean your application will automatically be extensible. You have to also design your application to be so. This won't come easily as you learn the platform for the first time but you will eventually learn about it from experience.

这篇关于Netbeans RCP 与 Eclipse RCP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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