JavaFX 1.3 知识如何转移到 JavaFX 2.0?
我正在着手一个开发桌面应用程序的项目,但我的专业知识是 Web 应用程序开发领域。当我学习 JavaFX 时,我正要刷新我的 Swing 编程知识,这似乎是一个更好的选择。至少 2.0 版本似乎符合这个要求。我的困境是没有关于这个主题的书籍。我想知道先阅读 1.3 是否会有帮助?或者语法、架构等也太不同了吗?我知道有一种叫做 JavaFX Script 的东西现在已经取代了 Java API,这就是为什么我想知道阅读 1.3 是否可能是徒劳的?
除了 JavaFX api、示例应用程序等之外,有人对学习资源有任何建议吗?
I'm embarking on a project to develop a desktop application but my expertise have been in the web application development realm. I was about to refresh my knowledge on Swing programming when I learned on JavaFX which seems to be a much better alternative. At least version 2.0 seems to fit that bill. My dilemma is that there are no books out on the topic. I was wondering if reading up on 1.3 first would be of help? Or is the syntax too, architecture, etc too different? I understand that there was something called JavaFX Script which is now gone in lieu of a Java API which is a bit why I'm wondering if reading up on 1.3 might be a futile effort?
Does anyone have any recommendations on learning resources other that JavaFX api, sample applications and such?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
显然语法已经改变,但如果您已经了解 Java,那么使用 JavaFX 2.0 进行编码将会看起来很熟悉。
从现有书籍中得到的一点是,JavaFX 1.3 中的大部分框架、控件、形状和效果等都已移植到 JavaFX 2.0。所以框架的基础知识可以从一本较旧的书中收集到。这将帮助您至少了解要使用什么组件,然后允许您进一步研究它以了解它现在在 JavaFX 2.0 中的工作原理。
javafx.com 上还有很多有用的文档。新书将在未来六个月左右出版,并且可能会更早在网上提供。
Obviously the syntax has changed, but if you already know Java, coding with JavaFX 2.0 will look familiar.
The one take away from existing books, is that most of the framework, controls, shapes, and effects, etc., from JavaFX 1.3 was ported over to JavaFX 2.0. So the basic knowledge of the framework can be gleaned from one of the older books. That would help you in at least knowing what component to use and then allow you to research it further to see how it now works in JavaFX 2.0.
There is also a lot of helpful documents at javafx.com. New books will be out within the next six months or so and may be available on-line sooner than that.