pf » Laszlo Vs Flex
Laszlo Vs Flex

Now that Laszlo is open source and Flex has a free Non-Commercial License it is safe to assume that we will be seeing increased interest in server side swf generation.
My question, and I'm sure many other people have this question is - Now that Laszlo is free (but you can still purchase support), what can Flex do that Laszlo can't? And also what can Laszlo do that Flex cannot?
The closest thing I found to a comparison is this forum thread on Laszlo's site. But it was posted while Flex was in Beta, so not much was said about flex - its also probably a bit Laszlo biased.
Related Entries
- Laszlo gripes resolved - April 7, 2005
- Macromedia Example Applications - June 16, 2005
- Macromedia Flex Hosting? - April 20, 2005
- Wasting Time with Laszlo - March 8, 2005
- Server Memory Flash Remoting Tool - August 30, 2004
This eliminates a large user pool, and therefore makes Flex a viable solution for intranets only where the Flash version can be controlled.
For a public facing site, I would not use a solution that is not useable by even 5% of visitors.
On the down side for Laszlo... no support for Unicode ( due to the Flash 5 requirement I think. )
No one has mentioned using plain old Flash 8 (or MX or MX 2004) from RIA. Not that I could really blame you.
Laszlo compared to Flash 8 for RIA -- Laszlo by a mile.
FlashType ... an awesome font rendering engine is only available in 8 and compared to Laszlo's font rendering, well there is no comparison! I need to build a text-viewer that has flash 8-type advanced anti-aliasing & font rendering but I need it to have an RIA back-end like Flex or Laszlo.
I don't have the budget or the stomach for the co$t of the Flex server. But Laszlo stops at Flash 7! Does anyone have a suggestion for combining the Laszlo architecture with a Flash 8 text -viewing widget? Or a better solution for rendering fonts?
You should propose a fix and then contribute to the OpenLaszlo platform! http://wiki.openlaszlo.org/Enhancement_Proposals
Hello,
I think you need to look into openlaszlo http://www.openlaszlo.org/ which is better than flex 2.0
You can create google maps via flash and ajax based on it, it?s better than Flex and for free since it?s an open source ;)
You can with openlaszlo to make flash and ajax output, so you code it for once, and you can have any output you want.
Multiple runtimes has always been on the roadmap. LZX was conceived as a language that would be independent of Flash. This is being proven out with the implementation of the AJAX/DHTML runtime.
Finally they signed up with sun to support Mobiles as well. http://www.openlaszlo.org/node/342
Sun Microsystems Inc. the creator and leading advocate of Java? technology, and Laszlo Systems, Inc., the original developer of OpenLaszlo, a leading open source rich Internet development platform, today announced a collaboration to enable OpenLaszlo applications to run on devices supporting the Java? Platform, Micro Edition (Java ME) application. With this move, Sun and Laszlo are actively contributing resources to a new project for the OpenLaszlo community, code-named Orbit.
So I think Flash with OpenLaszlo is much better than using flex or ajax.
See Yahoo and Google Maps here by OpenLaszlo
Yahoo Map demo: http://laszlo.jp/lps/samples/yahoom?omapssample.lzx
sources is in same directory: http://laszlo.jp/lps/samples/yahoomaps/
As for google Maps in Flash check it here ;)
Google Maps demo: http://laszlo.jp/lps/samples/googlemapsonlaszlo/googlemapsonlaszlotest.lzx.swf
sources : (SVN of google code) http://openlaszloincubator.googlecode.com/svn/trunk/googlemapsonlaszlo/
So I guess OpenLaszlo is the way to go ;)
have you tried to make a reasonably large size of application with laszlo. I tried and the xml based laszlo language is simply not a programming language. I am scared the project getting unmanageable..
well, I tried both and I must admit that I will stick with Flex, although I am a huge open-source lover and usually build all my projects with open source software.
Admitted, the possibility of OpenLaszlo to compile to both DHTML and Flash is simply awesome. But on the other hand, Flex has some major advantages that justify paying the 500 bucks for the FlexBuilder (and, no, for most projects you do *not* need the Data Service components which are really costly).
First, FlexBuilder is simply a great IDE. I did not find something similar for Flex, and a layout that would take me hours to build in Laszlo is done with FlexBuilder in a couple of minutes (I exaggerate a bit).
Second: Skinning. Skinning Flex is so easy, I would say that 80% can be done by CSS without the need to create any icons, graphics etc. Plus, there are so many ready-made skins you just need to download, Mac-style, Vista-style, you name it.
Third: Component market. I found so many really awesome components for Flex, whereas there are really few for Laszlo. So, no need to roll your own, a huge time-saver.
Fourth: Features, Stability and Performance. I implemented a proof-of-concept of an application both in Flex and in Laszlo, and the resulting swf was *way* faster when built with Flex. The app was really simplistic: a window + a grid component which displayed a list of users. Plus, there are a couple of features not supported by Laszlo which work out of the box with Flex. I remember fighting with double click events on a grid component in Laszlo. Doable, but only with workarounds.
One negative aspect of Flex: Flex uses ActionScript as the language of choice, so you definitely need to learn AS3.
To sum it up, I think both development speed and runtime performance are far better with Flex than with Laszlo, although also Flex has its drawbacks, bugs etc. Component market and user base is vivid for Flex, plus customization is easy. Good IDE, worth paying the money for it.
You mentioned that the simplistic Flex application you made performed substantially faster than the OpenLaszlo one. My experience is that comparable real-world OpenLaszlo applications perform about the same as their Flex counterparts, in application size, startup time, and runtime performance. A simplistic app may highlight issues that do not become apparent as the application increases in complexity. I'd like to see the OpenLaszlo application you built; it's possible that there's a simple fix that would make it perform equally - or even better ;). You'll find a lot of highly complex, publicly-deployed OpenLaszlo applications at the URL below, and I'm sure that you'll find that they perform quite well:
http://wiki.openlaszlo.org/OpenLaszlo_Applications
Regarding the double-click handling, I think I know exactly what you're referring to, because I filed this bug on it some time ago:
http://www.openlaszlo.org/jira/browse/LPP-141
If you look at the history of the bug, you'll notice that we received a contributed fix that addressed the issue, and that we tried to integrate it, but ran into issues doing so. Those issues were never addressed by the contributor, which is why you had difficulty listening for the ondblclick event of grid.
Note that I'm not trying to blame anything on the contributor in this case; we are always grateful to developers who wish to help with the OpenLaszlo project. Instead, I'd like to point out that open source software - which you professed to love in your opening paragraph - is often dependant on the voluntary contributions of willing developers. This is a fact-of-life of open source software.
It may even be a testament to the power of OpenLaszlo that you were able to work around the double click issue. Do you see yourself being able to apply a similar workaround to a missing feature of the Flex grid?
- Dear SQL Server Enterprise Manager Developer
- PostalMethods - Web Service for Snail Mail
- Mastering CFQUERYPARAM
- Google Code Search for ColdFusion
- Speaking at CFUNITED 2008
- Getting ColdFusion SQL Statements from SQL Server Trace
- CFSCRIPT Cheatsheet
- 3 New Image Effects for ColdFusion 8
RSS
add to del.icio.us
Pete Freitag is a software engineer, and web developer located in










