The last cross platform desktop development I did was Java/Swing. What about flex?
我做的最后一个跨平台桌面开发是Java / Swing。 flex怎么样?
11 个解决方案
#1
4
Don't do it. If you need to go cross-platform, write the main guts of your application in a business logic layer that doesn't depend on any GUI framework and then use the native platform API to finish each app.
不要这样做。如果您需要跨平台,请在不依赖于任何GUI框架的业务逻辑层中编写应用程序的主要内容,然后使用本机平台API来完成每个应用程序。
Your users will thank you.
您的用户会感谢您。
#2
4
I'd choose an open alternative and I'd try to avoid vendor lock-in. As Richard said, "if you've mastered Java/Swing why not use it again?"
我会选择一个开放的替代品,我会尽量避免供应商锁定。正如理查德所说,“如果你掌握了Java / Swing,为什么不再使用它呢?”
#3
3
I've used RealBasic from RealSoftware for a few things just to play with it. It can get expensive if you need the pro version. It will allow you to build a stand alone binary for Linux, MacOS X, or Windows. I'm more of a server side guy but it was pretty straight forward to create the few tools I wanted to try making with it.
我使用RealSoftware的RealBasic来做一些事情只是为了玩它。如果您需要专业版,它可能会变得昂贵。它允许您为Linux,MacOS X或Windows构建独立的二进制文件。我更像是一个服务器方面的人,但我很想直接创建一些我想用它来尝试的工具。
#5
2
I'm a big fan of wxWidgets. My only experience with it is with C++.
我是wxWidgets的忠实粉丝。我唯一的经验是使用C ++。
#6
#7
1
Flex/AIR is a platform with a lot of potential. It's also a lot prettier than anything Java or .NET.
Flex / AIR是一个具有很大潜力的平台。它比任何Java或.NET都漂亮得多。
#8
1
I personally use Tcl/Tk because it is remarkably powerful and because deployment is a non-issue (with starkits and starpacks you can wrap all program resources -- images, sounds, dll/.so files, etc -- into a single executable file).
我个人使用Tcl / Tk,因为它非常强大,因为部署不是问题(使用starkits和starpacks可以将所有程序资源 - 图像,声音,dll / .so文件等 - 包装到一个可执行文件中)。
Tcl's not for everyone though -- some people find its simplicity a little hard to grok.
Tcl并不适合每个人 - 有些人发现它的简单性有点难以理解。
#9
1
Ignore Flex it's not programming IMO. If you can code Java I'm pretty certain that FLex will be a disappointment. Flex has a place, I don't really consider it a proper programming environment.
忽略Flex它不是编程IMO。如果你可以编写Java代码我很确定FLex会令人失望。 Flex有一席之地,我并不认为它是一个合适的编程环境。
If you've mastered Java/Swing why not use it again? I would.
如果你已经掌握了Java / Swing,为什么不再使用它?我会。
.NET can be portable - but IME it's not quite as easy to move stuff about as it is with Java (although it is better than it used to be).
.NET可以是可移植的 - 但IME并不像Java那样容易移动(尽管它比以前更好)。
Also, does it have to be desktop - I would seriously consider (a properly architected) rowser based desktop application.
此外,它必须是桌面 - 我会认真考虑(一个正确设计)基于rowser的桌面应用程序。
#10
1
Eclipse RCP works. The result is decent on Windows and acceptable on Mac. It tends to be sluggish on Mac because of the high memory requirements though.
Eclipse RCP有效。结果在Windows上很不错,在Mac上也可以接受。由于内存要求很高,它在Mac上往往很迟钝。
#11
0
C# with Framework .Net can be good not only for Windows but for Linux with Mono.
带有Framework .Net的C#不仅适用于Windows,也适用于使用Mono的Linux。
Microsoft have a CLI that work on MAC OSX10.2.
Microsoft有一个适用于MAC OSX10.2的CLI。
#1
4
Don't do it. If you need to go cross-platform, write the main guts of your application in a business logic layer that doesn't depend on any GUI framework and then use the native platform API to finish each app.
不要这样做。如果您需要跨平台,请在不依赖于任何GUI框架的业务逻辑层中编写应用程序的主要内容,然后使用本机平台API来完成每个应用程序。
Your users will thank you.
您的用户会感谢您。
#2
4
I'd choose an open alternative and I'd try to avoid vendor lock-in. As Richard said, "if you've mastered Java/Swing why not use it again?"
我会选择一个开放的替代品,我会尽量避免供应商锁定。正如理查德所说,“如果你掌握了Java / Swing,为什么不再使用它呢?”
#3
3
I've used RealBasic from RealSoftware for a few things just to play with it. It can get expensive if you need the pro version. It will allow you to build a stand alone binary for Linux, MacOS X, or Windows. I'm more of a server side guy but it was pretty straight forward to create the few tools I wanted to try making with it.
我使用RealSoftware的RealBasic来做一些事情只是为了玩它。如果您需要专业版,它可能会变得昂贵。它允许您为Linux,MacOS X或Windows构建独立的二进制文件。我更像是一个服务器方面的人,但我很想直接创建一些我想用它来尝试的工具。
#4
3
#5
2
I'm a big fan of wxWidgets. My only experience with it is with C++.
我是wxWidgets的忠实粉丝。我唯一的经验是使用C ++。
#6
2
A combination of Python, wxPython, py2exe and py2app is what I typically fall back on. I've recently had a run with AIR, and it isn't that bad.. so Flex might work for you.
Python,wxPython,py2exe和py2app的组合是我通常会依赖的。我最近有一次AIR运行,并没有那么糟糕......所以Flex可能会为你工作。
#7
1
Flex/AIR is a platform with a lot of potential. It's also a lot prettier than anything Java or .NET.
Flex / AIR是一个具有很大潜力的平台。它比任何Java或.NET都漂亮得多。
#8
1
I personally use Tcl/Tk because it is remarkably powerful and because deployment is a non-issue (with starkits and starpacks you can wrap all program resources -- images, sounds, dll/.so files, etc -- into a single executable file).
我个人使用Tcl / Tk,因为它非常强大,因为部署不是问题(使用starkits和starpacks可以将所有程序资源 - 图像,声音,dll / .so文件等 - 包装到一个可执行文件中)。
Tcl's not for everyone though -- some people find its simplicity a little hard to grok.
Tcl并不适合每个人 - 有些人发现它的简单性有点难以理解。
#9
1
Ignore Flex it's not programming IMO. If you can code Java I'm pretty certain that FLex will be a disappointment. Flex has a place, I don't really consider it a proper programming environment.
忽略Flex它不是编程IMO。如果你可以编写Java代码我很确定FLex会令人失望。 Flex有一席之地,我并不认为它是一个合适的编程环境。
If you've mastered Java/Swing why not use it again? I would.
如果你已经掌握了Java / Swing,为什么不再使用它?我会。
.NET can be portable - but IME it's not quite as easy to move stuff about as it is with Java (although it is better than it used to be).
.NET可以是可移植的 - 但IME并不像Java那样容易移动(尽管它比以前更好)。
Also, does it have to be desktop - I would seriously consider (a properly architected) rowser based desktop application.
此外,它必须是桌面 - 我会认真考虑(一个正确设计)基于rowser的桌面应用程序。
#10
1
Eclipse RCP works. The result is decent on Windows and acceptable on Mac. It tends to be sluggish on Mac because of the high memory requirements though.
Eclipse RCP有效。结果在Windows上很不错,在Mac上也可以接受。由于内存要求很高,它在Mac上往往很迟钝。
#11
0
C# with Framework .Net can be good not only for Windows but for Linux with Mono.
带有Framework .Net的C#不仅适用于Windows,也适用于使用Mono的Linux。
Microsoft have a CLI that work on MAC OSX10.2.
Microsoft有一个适用于MAC OSX10.2的CLI。