Recent articles

For the past few days, the news from the mobile industry amazed me completely. ...
Apple is planning something big
Everyday i read my list of RSS feeds The future is bright the future is apple ...
Life in london
Wooh, It's been more than 5 months that i am in UK now.  These 5 months really went by to ...

Posted By : Vikram Sahai, on October 28, 2007 @ 8:14 pm | View Original
Tags:

Check this out…

It’s the first time, i’m seeing such a thing and i thought it was worth blogging it. Actually, am too busy to blog something right now

Posted By : Vikram Sahai, on October 14, 2007 @ 9:06 pm | View Original
Tags:

Ever heard of OpenLaszlo?

OpenLaszlo is an open source platform for the development and delivery of rich Internet applications.

The OpenLaszlo platform consists of the LZX programming language and the OpenLaszlo Server:

  • LZX is an XML and JavaScript description language similar in spirit to XUL, MXML, and XAML.
  • LZX enables a declarative, text-based development process that supports rapid prototyping and software development best practices. It is designed to be familiar to traditional web application developers who are familiar with HTML and Javascript.
  • The OpenLaszlo Server is a Java servlet that compiles LZX applications into executable binaries for targeted run-time environments.

From Wikipedia

Well, I’m currently using this platform to develop a search engine interface (GUI) of a website(project I’m working on as a web developer). After 4 days of learning and practising OpenLaszlo, I must say, that it is a fabulous application!!!

What it does?
In one sentence…It transparently converts XML(lzx format) file to flash (swf format)!!!
Marverlous isn’t it? No need to learn Flash or other stuffs!!!

Simple example – like “hello world” ;-)

<canvas>

<!-- Retrieve data from an XML file -->

<dataset src="anyxmlfile.xml" name="anXMLfile">

<!-- FUNCTIONS JUST LIKE JAVASCRIPT -->

<script>

<!--[CDATA[

function func(){

txtname.setText("Changed");

}

]]><br />

</script>

<!-- DECLARATION OF RESOURCE FILE - MEDIA, IMAGE, ETC -->

 <view name="aview" height="100" width="100" bgcolor="#ff8000">

<text>A sample text</text>

<button onclick="func()">Click Here</button>

<!--HANDLES ANIMATION -->

<animatorgroup process="sequential">

<animator attribute="width" from="0" to="100" duration="100" />

<animator attribute="height" from="10" to="100" duration="100" />

</animatorgroup>

</view>

</canvas>

Architecture of OpenLaszlo


Image from openlaszlo.org


I will put a live example of openlaszlo by next week ;-)

Till then, start building your own flash widgets in OpenLaszlo and keep me posted.

By the way, this is my “real” first step in the world of open source