OpenLaszlo - a new approach to web application development
26/07/08 15:16

OpenLaszlo:Free open-source alternative to FLEX
In the time of new uprising technologies to create so called Rich Internet Applications (RIA's), where the weapon of choice is still Flash, the tools and techniques have changed. The "old" Flash Builder IDE is still a nice application to create any kind of RIA's but hands down: Where designers get a very usable toolkit for creating nice User interfaces, the "real" programmer wants more and crys for technologies such as FLEX or OpenLaszlo
5 Quick OpenLaszlo facts
- OpenLaszlo is a similar technology to FLEX using XML and JavaScript, but based on the idea of open source
- OpenLaszlo is completely free of charge
- OpenLaszlo can create both, Flash and DHTML/AJAX
- OpenLaszlo goes down to Flash5, FLEX supports only version 7 and higher
- OpenLaszlo is coming for mobile applications using Sun's JavaME technology
Costs
Unlike FLEX, you won't have to pay a cent for neither the development server nor any IDE (There is none for Laszlo anyway), which makes OL (OpenLaszlo) a quite nice alternative for beginners who don't have a student's license for the FLEX IDE or enough money to spend it on that. All you need to develop Laszlo applications is the application server and an editor of your choice like vim. Actually even notepad would do the job.
Flash or DHTML/AJAX output
As mentioned before, OL can compile your code into either swf or transform the xml into clean DHTML/AJAX (html+javascript). This is probably the most astonishing feature in OL since both, the flash and the DHTML/AJAX version, have exactly the same look & feel. You can try that out in the showcase on the official OpenLaszlo website, which offers remakes of popular web applications like youtube or amazon.com, made with OL. Don't forget here to choose if you want to start the flash or DHTML/AJAX application since you will notice almost no difference between both.
![]()
FLEX vs OpenLaszlo
You may have already asked yourself, which is better. FLEX or Laszlo? Where are the differences? What do they have in common and which is the right one for me? Let's try to find out.
First of all, both have a lot in common like the xml based syntax, the component model, javascript/actionscript and the modularity for additional third party code. This means, that while you are actually developing your app, you will find a lot of similarities between both technologys. I personally believe that the most important differences are the license policy, popularity and compatibility issues.
- License policy
- Popularity
- Compatibility issues
So, what should I take?
This one ain't that difficult as you might think. If you're already a FLEX developer and you're doing fine, stick to it. There is no reason to switch if you like FLEX. The skinning abilities and the big community behind it make it a solid development platform for RIA's.
If you're short on money to buy the FLEX IDE or just like the idea of open source, you might want to check out OpenLaszlo, which has no real big disadvantage compared to FLEX. On top of that the OL documentation ist quite clean and lightweight, which makes it easier for beginners to start developing. The "Laszlo in 10 mins" tutorial is very very nice. You should definately check that out if you're interested into OL development. The only thing you might miss is the wide popularity from Adobe's counterpart product.
If you want to check out OpenLaszlo, the "Getting Started" Website of Laszlo Systems is a good spot to start.
References
This article has been written by Timo Ernst, one of Germanys OpenLaszlo evangelists. Thanks a lot to Timo for providing that valueable content!
|


