On-the-Fly Development

Laszlo Systems, the company that invented OpenLaszlo, provides the on-the-fly development mode. In this mode you do not even need to write your code in an lzx file or install Tomcat. You just need to open a Web page and type your code there.

To test the on-the-fly development mode, direct your Web browser to this URL.

http://www.laszlosystems.com/lps/laszlo-in-ten-minutes/

The on-the-fly development mode is also available locally if you have installed Tomcat and the OpenLaszlo Server. Make sure that Tomcat is running and then direct your browser to this page:

http://localhost:8080/lps-4.0.x/laszlo-explorer/index.jsp

On the menu on the left, click Laszlo in 10 Minutes, then click its Introduction submenu. You will see something similar to Figure 1.3.

Figure 1.3. On-the-fly development


You will see three panes, numbered 1, 2, and 3. In the first pane, you write your script. Once you are finished, click the Update button at the bottom of the first pane. This will send an HTTP request to the server that will then compile your code. The result will be displayed on the second pane. Make sure you save your script every now and then by clicking the Save as button.

The third pane provides a quick reference on OpenLaszlo language syntax.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset