Lets start with Hello world program using openlaszlo like any other programming language and framework.
1.Create a file helloworld.lzx inside the Hello World folder.
2. <canvas debug = "true">
<text id =helloworld>Hello world</text>
</canvas>
3. Browse to the following location on your browser: http://127.0.0.1:8080/lps-4.4.0/Workspace/HelloWorld/helloworld.lzx
1.Create a file helloworld.lzx inside the Hello World folder.
2. <canvas debug = "true">
<text id =helloworld>Hello world</text>
</canvas>
3. Browse to the following location on your browser: http://127.0.0.1:8080/lps-4.4.0/Workspace/HelloWorld/helloworld.lzx
4. Thats its...You have completed writing the first openlaszlo program.
Explanation : Hello World
1. Every openlaszlo program file have an extension .lzx
2. Every laszlo code is wrapped inside <canvas></canvas> tag
3.<text></text> is a class used for non-editable text fields. Here it will simply display Hello World on the browser.
Next : How to debug in Openlaszlo
Explanation : Hello World
1. Every openlaszlo program file have an extension .lzx
2. Every laszlo code is wrapped inside <canvas></canvas> tag
3.<text></text> is a class used for non-editable text fields. Here it will simply display Hello World on the browser.
Next : How to debug in Openlaszlo