Preface

Table of Contents

1. Audience and rationale for this book
1.1. Learn by Doing
2. Typographic Conventions
3. Related documentation
4. Suggested reading paths
4.1. Use the Forums

The OpenLaszlo platform allows you to build applications of unpredented grace. Fully exploiting this potential requires good software engineering skills, plus something of an artist's eye and a magician's ability to direct attention. Sometimes these skills are all resident in the same person, but often they are divided among members of an OpenLaszlo development team, with software engineers responsible for good orderly code, and graphic designers, information architects or user experience designers responsible for art and magic.

However your team is set up, this Guide is for those persons responsible for the aesthetic experience of the application you're building.

Some thoughts on how OpenLaszlo is different as a web design technology:

1. Audience and rationale for this book

This book is written for graphic designers and user experience engineers who have at least some familiarity with basic Laszlo concepts. In order to get the most out of this Guide you should be comfortable with the topics covered in Laszlo in Ten Minutes, and it would be better still if you worked through the tutorials.

The topics in this Guide overlap those covered in the Software Developer's Guide, and indeed they share some chapters in common.

1.1. Learn by Doing

This Guide contains many "live" examples, that is, Laszlo Applications that are embedded in this page. You'll have more fun and get more out of this document if you "play with the code." To do so, simply click on the "Edit" link at the bottom left corner of each example. This will cause a new window to pop up that is a self-contained environment for modifying and executing Laszlo applications. Edit the sample code then click "update" and see the results displayed in the right-hand side of the window. To return the sample code to its inital state, click "Reset."

If you would like to save a copy of the application for later use, click on the "Save As" button.

2. Typographic Conventions

Code is displayed thus: var a = f(2). Longer sections of code and other verbatim information is displayed in a separate paragraph:

An example file
that spans several
lines

Example programs are shown thus:

<canvas height="20">
  <text>Hello World!</text>
</canvas>

Some example programs are run within the page. The running application is shown first, followed by the application source code, followed by an Edit button that allows you to try out the effect of making changes to the application source code.

<canvas height="20">
  <text>Hello World!</text>
</canvas>

3. Related documentation

In addition to this User Interface Designer's Guide, please see also

4. Suggested reading paths

The best way to use the LZX Developer's Guide depends on your experience.

Experienced Object-Oriented programmers: We suggest that you start by reading Chapters 1, 2 and 4 of this Guide. If you have never worked with JavaScript, you can learn the basics quickly at one of the JavaScript tutorials at W3Schools, WVDL, or PageResource.com. Then visit the Laszlo Systems website and play around with the tutorials and sample programs; as you read the sample code be sure to look up appropriate entries in the Reference Manual. At that point you'll know what further reading you need to do in this guide.

Web/Flash developers with no Object-Oriented experience: We suggest that you start with the tutorials in order to get a general feel for LZX programming. Don't worry about mastering the subjects they cover; your goal is to begin to get comfortable with the language.

If you need to, learn the basics of XML.

Then read the rest of Part II, “Overview”.

4.1. Use the Forums

The best way to learn any programming language is to draw upon the experience and goodwill of its development community (and to write code! as the saying goes, nobody learned to ride a bicycle by reading about it). The LZX developer community has a home at http://www.laszlosystems.com/developers/forums/. There you will find an active discussion of all aspects of the language, and a place to ask questions of your own.