wood burning stoves
The moose likes HTML, CSS and JavaScript and the fly likes what is the key to laszlo Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "what is the key to laszlo" Watch "what is the key to laszlo" New topic

what is the key to laszlo

Juan Rolando Prieur-Reza
Ranch Hand

Joined: Jun 20, 2003
Posts: 237
Norman, Max, or Glenn,

Can you give a brief synopsis of laszlo for one who has never heard of it? What is it other than just a mentioning of several other tachnologies that play well together?

I remember the first description of AJAX: it seemed like they were just claiming JavaScript, asynchrony, XML, and other existing technologies as "AJAX's" just by saying they work in combination in a certain way. Then it was revealed that XMLHttpRequest performs "submit" without screen update (nice!). This (and comparable objects) is what makes "AJAX" a technology in its own right, and not just a combination of JavaScript, XML, etc. That is, plain JavaScript, XML, etc alone do not naturally have the submit-without-full-screen-refresh that this AJAX component provides, aside from complicated frames tricks to accomplish that.

But if the authors of books about AJAX only had XMLHttpRequest to talk about, they wouldn't have enough material for a whole book .

So what's the core of laszio all about?
[ January 22, 2008: Message edited by: john prieur ]

Juan Rolando Prieur-Reza, M.S., LSSBB, SCEA, SCBCD, SCWCD, SCJP/1.6, IBM OOAD, SCSA
Norman Klein
Ranch Hand

Joined: Jan 22, 2008
Posts: 36
The key to Laszlo is that it supports horizontal and vertical communication, which allows applications to have a cinematic user experience.

Now that might initially sound like a lot of marketing talk, but let me explain why it is important. Look at any of Laszlo's sample applications, say LzPix at http://www.openlaszlo.org/demos. Notice that all of the displayed objects and icons are cognizant of one another, and will resize to accommodate any changes. This type of user interface is referred to in Laszlo marketing as a cinematic user experience and is similiar to the iPhone's interface. Supporting this level of interaction requires lots of communication between the displayed objects (horizontal) and their supporting data residing in datasets (vertical).

Laszlo features a declarative language, called LZX, that embeds constraints (horizontal) and datapaths (vertical) within an object to make these type of communications notationally simple. The complexity of these communications would be very difficult to code and maintain in a procedural language, such as JavaScript. So in a nutshell, the key to Laszlo is understanding how its objects communicate with one another.
Juan Rolando Prieur-Reza
Ranch Hand

Joined: Jun 20, 2003
Posts: 237
Thanks for the clear and concise answer to my question; just the right breadth and depth of information
[ January 23, 2008: Message edited by: john prieur ]
I agree. Here's the link: http://aspose.com/file-tools
subject: what is the key to laszlo
jQuery in Action, 3rd edition