OpenLaszlo DHTML 运行时生产准备好了吗?
作为一名长期的 Flex 开发人员,我考虑过使用 OpenLaszlo 构建我的下一个应用程序 - 它也应该在 iPad 上运行。 OpenLaszlo 提供 Flash 和 DHTML 运行时,但除了网站上的演示之外,我没有看到任何使用 OpenLaszlo 构建的实际应用程序: http://openlaszlo.org/showcase
有人使用 DHTML 运行时构建过大型应用程序吗?这样做的经验。
谢谢!
As a long time time Flex developer I've thought about building my next application - which should run on the iPad as well - with OpenLaszlo. OpenLaszlo offer a Flash and DHTML runtime, but besides the demos on the website I don't see any real world application built with OpenLaszlo:
http://openlaszlo.org/showcase
Has anyone built a large application with the DHTML runtime, and what was your experience doing that.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我已经在 OpenLaszlo 的 HTML5 模式(以前称为 DHTML 模式)下测试了我们复杂的视频编辑应用程序,除了文本稍微未对齐之外,一切正常。音频和视频播放在最新的官方版本 (4.9.0) 中不可用,但在最新的夜间版本 ( http ://download.openlaszlo.org/nightly/trunk/ )包含 html5video 和 html5audio 类,它们适用于在新的 HTML5 和标签中播放的媒体类型(不同的浏览器支持不同的浏览器)。我的测试结果可以在这里查看:
http://jira.openlaszlo.org/ jira/browse/LPP-10058
对于 iPad,一切似乎都工作正常,只是无法在没有用户交互的情况下以编程方式一次播放 1 个以上的视频/音频项目。然而,这似乎是 iPad 的限制,而不是 OpenLaszlo,因为测试 HTML5 应用程序也遇到了同样的限制。
I've tested our complicated video editing application under HTML5 mode of OpenLaszlo (formerly known as DHTML mode) and everything works aside from the text mis-aligning a bit. Audio and Video playback is not available in the latest official release (4.9.0) but the latest nightly builds ( http://download.openlaszlo.org/nightly/trunk/ ) contain the html5video and html5audio classes which work fine for media types that play in the new HTML5 and tags (different browsers support different ones). My test results of what works can be viewed here:
http://jira.openlaszlo.org/jira/browse/LPP-10058
In regards to iPad, everything seemed to work fine except that it was not possible to programmatically play more than 1 video/audio item at a time without user interaction. However, this seems to be a limitation of iPad and not OpenLaszlo since a test HTML5 application suffered the same limitation.
http://www.pandora.com 和 http://www.gliffy.com 是基于 OpenLaszlo 框架构建的大型应用程序。
http://www.pandora.com and http://www.gliffy.com are large applications built on OpenLaszlo Framework.
DHTML 运行时(或者生成 HTML5 应用程序的能力,正如我们今天可能会说的那样)已添加到 2007 年 3 月发布的 4.0 版 OpenLaszlo 中。我第一次看到使用 DHTML 运行时运行的 Laszlo Webtop 版本那是在 2009 年中期,尽管 Laszlo Calendar 当时无法运行。 2011年3月,我亲眼目睹了Webtop的一个改进版本,以DHTML模式运行,系统看起来非常稳定。
2012 年 7 月,Gliffy 宣布 Gliffy HTML5编辑器预览。 Gliffy 是一个在线图表编辑器,已经存在很多年了 - 但在过去它仅作为 Flash 应用程序运行。 Gliffy 是一个非常复杂的应用程序,具有庞大的代码库,这是 Gliffy 能够在 DHTML 运行时上运行的一个好兆头。我在 Gliffy 网站上没有找到 HTML5 预览版支持哪些浏览器的信息。
根据此信息,我想说 DHTML 运行时已做好生产准备。唯一的问题是 Laszlo 或 Critical Path(收购 Laszlo 的公司)未来是否会继续资助该项目,因为目前在该平台上工作的开发人员数量非常少。
Laszlo 尚未升级 HTML5/DHTML 运行时以支持较新版本的 IE (IE9+),尽管该公司目前似乎正在努力改进对 IE 的 DHTML 支持(截至 2012 年夏季)。如果您计划仅在某些浏览器(Chrome、Firefox、Safari)上使用 DHTML 运行时,那么一切都应该运行得相对顺利。
如果您打算使用 DHTML 运行时开发 OpenLaszlo 应用程序,我建议您使用 OpenLaszlo 的 Trunk 版本(即将发布的 5.0 版本),因为 DHTML 的 Trunk 中已修复了许多错误。虽然尚未发布,但许多开发人员已将该版本用于生产目的。
The DHTML runtime (or the ability to generate an HTML5 application, as we'd probably phrase that feature today) has been added to OpenLaszlo with 4.0 release in March 2007. The first time I saw a version of Laszlo Webtop running using the DHTML runtime was in mid 2009, although Laszlo Calendar wasn't working at that moment. In March 2011 I witnessed a much improved version of Webtop running in DHTML mode, the system looked very stable.
In July 2012 Gliffy announced the Gliffy HTML5 Editor Preview. Gliffy is an online diagram editor, which has been around for a number of years - but in the past it was only running as a Flash application. Gliffy is a very complex application with a large code base, and it's a good sign that Gliffy is able to run on the DHTML runtime. I haven't found any information on the Gliffy website to which browsers are supported by the HTML5 preview.
Based on this information I would say that the DHTML runtime is production ready. The only question is if Laszlo or Critical Path (the company which acquired Laszlo) is going to keep funding the project in the future, since the number of developers working on the platform at the moment is very low.
Laszlo has not upgraded the HTML5/DHTML runtime to support the newer version of IE (IE9+), although it seems that the company is working on improving the DHTML support for IE at the moment (as of summer 2012). If you are planning to use the DHTML runtime for only some browser (Chrome, Firefox, Safari), everything should work relatively well.
If you plant to develop an OpenLaszlo application using the DHTML runtime, I'd recommend that you use the Trunk version (upcoming 5.0 release) of OpenLaszlo, since a lot of bugs have been fixed in Trunk for DHTML.Despite the fact that it hasn't been released, a number of developers are using that version already for production purposes.