我应该将哪个OpenLaszlo版本用于新项目以及2012年将应用程序迁移到最新版本? [英] Which OpenLaszlo version should I use for new projects and when migrating applications to the latest version in 2012?

查看:170
本文介绍了我应该将哪个OpenLaszlo版本用于新项目以及2012年将应用程序迁移到最新版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

作为OpenLaszlo项目的前任提交者,我在使用3.x版本或4.x版本低于4.2迁移应用程序时使用的最佳OpenLaszlo版本时遇到了很多问题。用OpenLaszlo开始一个新项目。

As a former committer on the OpenLaszlo project, I've been getting a lot of questions regarding the best OpenLaszlo version to be used when migrating applications using either a 3.x version or 4.x version lower than 4.2, or when starting a new project with OpenLaszlo.

做出这个决定的难度与2010年10月以来没有轻微或主要版本的OpenLaszlo有关, Laszlo在过去两年中计划发布,任何形式的营销或参与Laszlo员工的开发者大会的信息几乎为零(查看 Laszlo系统主页上的新闻和事件部分,或 OpenLaszlo公告邮件列表)。

The difficulty in making this decision is related to the fact that there has not been a minor or major release of OpenLaszlo since October 2010, and that there has been close to zero information by Laszlo on planned releases, any kind of marketing or participation in developer conferences by Laszlo employees in the past 2 years (check the News and Event section on the Laszlo System homepage, or the OpenLaszlo announcement mailing list).

尽管如此,OpenLaszlo是一个非常强大的平台,用于构建HTML5或基于Flash / SWF的应用程序。

Still, OpenLaszlo is a very powerful platform for building either HTML5 or Flash/SWF based applications.

我将在这里回答我自己的问题,希望其他人加入并使用4.9或未发布的5.0版OpenLaszlo报告他们的结果项目。

I will answer my own question here, hoping for others to join and report their results with using either the 4.9 or unreleased 5.0 version of OpenLaszlo in projects.

推荐答案

上次正式发布4.9或OpenLaszlo 5.0(主干)

小型OpenLaszlo版本的最后一个正式版本是的发布OpenLaszlo 4.9于2010年10月。 OpenLaszlo团队作为主要版本查看的最后一个正式版本是 2008年12月的4.2版本。由于4.2版本增加了对OpenLaszlo的ActionScript 3和SWF9支持 - 因此是一个新的运行时 - 它绝对应该是一个新的主要版本。

Last official release 4.9 or OpenLaszlo 5.0 (trunk)
The last official release of a minor OpenLaszlo version was the release of OpenLaszlo 4.9 in Oct 2010. The last official release viewed by the OpenLaszlo team as a major release was version 4.2 in Dec 2008. Since the 4.2 release added ActionScript 3 and SWF9 support to OpenLaszlo - therefore a new runtime - it definitely should have been a new major version.

4.9版本发布后,很多错误已经修复到2011年4月/ 5月 - 当开发速度放缓时(基于发送到laszlo-reviews邮件列表的邮件数量 。 2012年,Laszlo对DHTML运行时进行了少量改进,我亲自为OpenLaszlo添加了SWF11运行时支持,并将其检入flex4.6 brnach。

After the 4.9 release, a lot of bugs had been fixed until April/May 2011 - when development slowed down (based on the number of messages sent to the laszlo-reviews mailing list). In 2012, Laszlo did a small number of improvements on the DHTML runtime, and I have personally added SWF11 runtime support to OpenLaszlo, which is checked into the flex4.6 brnach.

许多在主干和新功能中修复的错误没有移植到4.9,使用OpenLaszlo定位DHTML / HTML5运行时和SWF11的开发人员建议使用未发布的OpenLaszlo 5.0或未发布的flex4.6版本branch(我添加到平台的第一个OpenLaszlo版本和SWF11运行时支持)。

Many of the bugs fixed in trunk and new features were not ported back to 4.9, and developers using OpenLaszlo to target the DHTML/HTML5 runtime and the SWF11 are well advised to use the unreleased version of OpenLaszlo 5.0, or the unreleased flex4.6 branch (the first OpenLaszlo version with the SWF11 runtime support I added to the platform).

5.0主干中的DHTML / HTML5浏览器支持

对于IE7,IE8,基于Webkit的浏览器和Firefox组,对5.0中继的更现代浏览器的浏览器支持似乎相对稳定。 Opera可能有效,但据我所知,QA不会对其进行全面测试。 IE9目前不受支持,但如果Laszlo在未来某个时候设法发布5.0,那可能会改变。 OpenLaszlo在iPad上运行 - 我认为移动DHTML运行时的大部分优化都是针对iPad进行的,早在2009年和2010年。

DHTML/HTML5 browser support in 5.0 trunk
Browser support for more modern browsers in 5.0 trunk seems relatively stable for IE7, IE8, the group of Webkit based browsers and Firefox. Opera might work, but will not be fully tested by QA, as far as I know. IE9 is not supported at the moment, although that might change if Laszlo manages to release 5.0 at some point in the future. OpenLaszlo runs on the iPad - and I think that most optimizations for a mobile DHTML runtime were done with regard to the iPad, back in 2009 and 2010.

Flash Player 11 API支持和SWF11运行时

2012年3月,我开始研究向OpenLaszlo添加SWF11运行时支持,并将代码检入新的OpenLaszlo flex4.6分支。 flex4.6分支是OpenLaszlo主干的分支,包含Laszlo添加的一些DHTML运行时改进。如果要将Flash Player 11 API与OpenLaszlo一起使用,flex4.6分支是目前唯一的选择。由于我已经在8月份停止了作为提交者工作(不能接受新的Laszlo政策,发送到laszlo-dev和laszlo用户邮件列表的重要邮件被阻止),我不知道Laszlo是否会设法整合在不久的将来,SWF11运行时支持进入主干。

Flash Player 11 API support and the SWF11 runtime
In March 2012 I started work on adding SWF11 runtime support to OpenLaszlo, and checked the code into the new OpenLaszlo flex4.6 branch in July. The flex4.6 branch is a fork of OpenLaszlo trunk, and contains some DHTML runtime improvements added by Laszlo. If you want to utilize Flash Player 11 APIs with OpenLaszlo, the flex4.6 branch is currently the only option. Since I've stopped working as a committer in August (cannot accept the new Laszlo policy, that critical mails sent to the laszlo-dev and laszlo-user mailing list are blocked), I don't know if Laszlo will manage to integrate the SWF11 runtime support into trunk in the near future.

OpenLaszlo 5.0发布日期 - 什么时候Laszlo Systems将发布5.0版?

一遍又一遍地出现在邮件列表中的大问题。我听说日期在2009年底和 2011年底之间 - 但仍然没有发布。由于工程管理部门拒绝在过去3年的发布日期发布任何公告,因此很难说出Laszlo的情况。在 2012年初通过关键路径获取Laszlo ,关于OpenLaszlo的唯一公开声明是 OpenLaszlo.org网站

OpenLaszlo 5.0 release date - when is Laszlo Systems going to release 5.0?
The BIG question which has been popping up in the mailing lists over and over. I heard dates ranging between end of 2009 and end of 2011 - but there is still no release. It's hard to tell what is going on at Laszlo, since the engineering management refused to make any announcements on release dates for the past 3 years. After the acquisition of Laszlo by Critical Path in early 2012, the only public announcement regarding OpenLaszlo is a sentence in an image header on the OpenLaszlo.org website:


CP(关键路径)致力于继续赞助OpenLaszlo Open
源项目及其全球社区。

"CP (Critical Path) is committed to continued sponsorship of the OpenLaszlo Open Source project and its global community."

谁在生产中使用OpenLaszlo 5.0主干?

我不知道有很多使用OpenLaszlo主干的产品,我最初认为Gliffy的HTML5版本的图编辑器是使用OpenLaszlo构建的,但看起来他们用一些JS库切换到jQuery和HTML5 canvas ( Flash版本的Gliffy是使用OpenLaszlo构建的)。 Laszlo似乎使用5.0(主干)用于Webtop的客户项目,虽然我从来没有得到官方确认。

OpenMeetings - 一个开源的网络会议工具和Apache Incubator项目 - 使用OpenLaszlo,他们已经开始使用支持SWF11的5.0 trunk。

我一直在使用5.0 trunk对于过去15个月的项目,并没有遇到无法解决的问题。我正在使用的应用程序使用SWFx和DHTML / HTML5运行时。

Who is using OpenLaszlo 5.0 trunk in production?
I don't know many products using OpenLaszlo trunk, I initially thought that Gliffy's HTML5 version of the diagram editor was built using OpenLaszlo, but it looks like they switched to jQuery and HTML5 canvas with some JS libraries instead (the Flash version of Gliffy was built using OpenLaszlo). Laszlo seems to use 5.0 (trunk) for customer projects with Webtop, although I never got an official confirmation for that.
OpenMeetings - an open source web conferencing tool and Apache Incubator project - uses OpenLaszlo, and they have started using 5.0 trunk with SWF11 support.
I've been using 5.0 trunk for a project in the past 15 months, and haven't run into problems which could not be resolved. The application I'm working on uses both the SWFx and DHTML/HTML5 runtime.

4.9和5.0中的文档状态

许多较新的功能都没有详细记录,因为目前没有人负责升级文档。 Laszlo曾经在文档上全职工作到2007年底,但从那时起,文档似乎没有得到很好的维护。大多数开发人员在提交新代码时都试图记录新功能,但这并不等于让技术作者处理文档。

Status of documentation in 4.9 and 5.0
Many of the newer features are not well documented, since there isn't anyone responsible for upgrading the documentation at the moment. Laszlo used to have a resource working full-time on the documentation until the end of 2007, but since then it seems that the documentation has not been well maintained. Most developers tried to document new features when committing new code, but that is not equal to having a technical writer working on the documentation.

支持和社区

现在可见的OpenLaszlo社区真的很小,过去两年我在论坛和邮件列表中看到最多30-40人的活动。我正试图将讨论从OpenLaszlo论坛(已经死了)转移到Stackoverflow.com,因为在回答问题时你至少会获得声望点,而且不能保证有人不会拔掉插件未来的OpenLaszlo.org网站。看起来大多数关于Stackoverflow标记的 openlaszlo 的问题将是回答,但用openlaszlo标记的问题数量仍低于100。

Support and the community
The visible OpenLaszlo community is really small by now, I've seen activity in the forums and mailing lists by 30-40 people at most in the past 2 years. I'm trying to move the discussion away from the OpenLaszlo forums (which are pretty dead) to Stackoverflow.com, since you'll at least get reputation points here when answering questions, and it's not guaranteed that someone will pull not the plug on the OpenLaszlo.org website in the future. It looks like most questions on Stackoverflow tagged openlaszlo will be answered, but the number of questions tagged with openlaszlo is still below 100.

推荐
这是我的个人意见,不要如果你按照我的建议遇到问题,请怪我。作为一个以前的提交者,我知道源代码足以对OpenLaszlo服务器进行更改,如果您没有这种知识,那么事情可能会有所不同:

Recommendation This is my personal opinion, don't blame me if you run into problems following my recommendations. As a former committer I know the source code well enough to make changes to the OpenLaszlo server, if you don't have that kind of knowledge, things might be different for you:


  1. 迁移到较新的OpenLaszlo版本时始终使用5.0(主干)。

  2. 对于新项目,请考虑Laszlo或Critical Path的风险(新的Laszlo和OpenLaszlo的所有者)停止支持该平台。如果他们继续赞助该项目的程度与过去一年一样少,那么OpenLaszlo的结束非常接近 - 除非我们作为社区分支项目。

  3. 使用OpenLaszlo的新项目对于HTML5应用程序:如果您只针对DHTML / HTML5运行时,其他选项或框架可能会更好。 OpenLaszlo使得修改DOM或与现有JavaScript应用程序集成变得困难。由于项目未来的不确定性,使用这项技术的风险相对较大。

  4. 基于SWF11的应用程序使用OpenLaszlo的新项目:使用OpenLaszlo应该没问题,因为产品是非常稳定,您可以使用任何ActionScript 3 API,甚至可以编译到iOS或Android本机应用程序(使用Adobe AIR SDK和一些构建脚本)。我已经使用新的Apache Flex SDK(Flex的第一个版本作为Apache Incubator项目)成功测试了OpenLaszlo 5.0,并且使用我创建的这些文件

  1. Always use 5.0 (trunk), when migrating to a newer OpenLaszlo version.
  2. For new projects, consider the risk of Laszlo or Critical Path (the new owner of Laszlo and OpenLaszlo) discontinuing support of the platform. If they continue to sponsor the project as little as they have done in the past year, the end of OpenLaszlo is very near - unless we as the community fork the project.
  3. New projects using OpenLaszlo for HTML5 apps: If you only target the DHTML/HTML5 runtime, other options or frameworks might be better. OpenLaszlo makes it difficult to modify the DOM or integrate with existing JavaScript applications. With the uncertainty around the future of the project it's a relatively big risk to use this technology.
  4. New projects using OpenLaszlo for SWF11 based apps: You should be fine using OpenLaszlo, since the product is very stable, you can use any ActionScript 3 API, and even compile to an iOS or Android native application (using the Adobe AIR SDK and a few build scripts). I've successfully tested OpenLaszlo 5.0 with the new Apache Flex SDK (the first release of Flex as an Apache Incubator project), and it's easy to upgrade the Flex SDK to newer versions, using these documents I've created.

这篇关于我应该将哪个OpenLaszlo版本用于新项目以及2012年将应用程序迁移到最新版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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