简体   繁体   English

Delphi XE2 + Oxygene for Java是否是可靠的跨平台解决方案?

[英]Is Delphi XE2 + Oxygene for Java a solid cross platform solution?

This question is really about Delphi XE2 capabilities, but since this cross platform stuff is new (especially the Oxygene Java), I'm curious if anyone has tried to target all 4 platforms from one Delphi/C++ code base using the XE2 toolchain. 这个问题确实与Delphi XE2功能有关,但是由于这种跨平台的东西是新的(尤其是Oxygene Java),所以我很好奇是否有人试图使用XE2工具链从一个Delphi / C ++代码库中针对所有4个平台。

I have been considering returning to the Delphi family since it seems that Embarcadero has some features that suggest that one could target Windows/MacOS/iOS/Android with a single code base. 我一直在考虑重返Delphi家族,因为Embarcadero似乎具有一些功能,这些功能表明一个人可以使用单一代码库针对Windows / MacOS / iOS / Android。 I'm assuming that for the Android part you would need the newly released Oxygene for Java 'Cooper' release from REMObjects. 我假设对于Android部件,您将需要从REMObjects重新发布适用于Java'Cooper'的Oxygene。

So my question is if I purchase RAD Studio XE2 (which includes Prism) and add onto it Oxygene for Java, will I have a platform to actually target all these OSes with a single code base? 因此,我的问题是,如果我购买RAD Studio XE2(包括Prism)并添加到Java的Oxygene上,我是否将有一个平台可以使用单个代码库真正针对所有这些OS? Will I have to use FireMonkey for the app, or can I still us VCL for cross-platform? 我是否必须为该应用程序使用FireMonkey,还是可以使用VCL进行跨平台使用? Are there any examples of useful applications that have been developed for iOS/Android yet with XE2? 有没有使用XE2为iOS / Android开发的有用应用程序的示例? (The demos and examples I've seen seem pretty simplistic). (我看过的演示和示例似乎很简单)。

Oxygene/Prism is a separate product from Delphi XE2 with a different, albeit similar, language. Oxygene / Prism是来自Delphi XE2的独立产品,具有相似的语言。 You can't use a single codebase shared between XE2 and Oxygene/Prism. 您不能使用XE2和Oxygene / Prism之间共享的单个代码库。

Embarcaderos plan's for iOS and Android will be based on their cross-platform Delphi compiler and the new FireMonkey libraries. 适用于iOS和Android的Embarcaderos计划将基于其跨平台的Delphi编译器和新的FireMonkey库。 The existing iOS support uses the FPC compiler but Embarcadero have stated that they are working on an ARM version of their Delphi compiler to replace that in future releases. 现有的iOS支持使用FPC编译器,但Embarcadero表示他们正在开发其Delphi编译器的ARM版本,以在将来的版本中替换该版本。

So, at the moment, of your 4 platforms, you can target Windows, MacOS and iOS with Delphi XE2/FireMonkey. 因此,目前,您可以使用Delphi XE2 / FireMonkey在4个平台中定位Windows,MacOS和iOS。 But not Android, as of today. 但到目前为止,还没有Android。

With Prism/Oxygene you can target Windows, MacOS and Android (and Linux as it happens). 借助Prism / Oxygene,您可以定位Windows,MacOS和Android(以及Linux)。 Note however that there is nothing in the Prism/Oxygene akin to FireMonkey that allows you to write single source cross-platform GUI. 但是请注意,Prism / Oxygene中没有类似于FireMonkey的内容,它使您可以编写单一源代码的跨平台GUI。

Java is also meant for multiple platforms, so why try harder? Java也适用于多种平台,那么为什么还要加倍努力呢?

I've tried xe2 and I am disappointed. 我尝试过xe2,但感到失望。 For Android and iOS you have to use PHP XE2, and for Delphi and OS-X you have to use Delphi XE2, so it's not an integrated technology. 对于Android和iOS,您必须使用PHP XE2,对于Delphi和OS-X,您必须使用Delphi XE2,因此它不是集成技术。 Embarcadero should release a True Java IDE Technology. Embarcadero应该发布True J​​ava IDE技术。

I am a Pascal Developer, but I sit my ass on the chair and Learned Java in a feel days, so why they make it so hard to try!? 我是Pascal开发人员,但是我感觉很沮丧,只能坐在椅子上学习Java,所以为什么他们很难尝试!

Eclipse is great, but imagine a Java compatible Delphi IDE... Eclipse很棒,但是可以想象一下Java兼容的Delphi IDE ...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM