UIEvolutin Inc.
UJML Language Reference
Samples

These are complete samples of UJML code.

These are samples of UJML code, complete and ready to run. 

Many of these samples are very simple, designed to show only a few UJML language features. This includes the most minimalist samples, such as the 'Hello World' set and the 'State Transitions' set. The 'Scripting' samples start simply, but progress to more complexity as they require more UJML language features. 

There are also several complete applications provided as samples, of varying levels of complexity. These include the 'Application Runner', 'Lunar Lander', and 'Visual Elements' samples. Finally, there is a set of sample UJML 'Components' which provide UI widgets and supporting services needed by the other samples.

Using these samples

The sample code in this documentation is designed to demonstrate various UJML language features and provide some idea of good coding practices in UJML. The samples are not meant for unmodified use in your own applications nor as definitive examples of solving any particular coding problem. The component samples, in particular, are lightweight implementations with limitations making them unsuitable for real-world applications. 

However, you are encouraged to cut and paste from these samples and to use them as starting points for your own applications. Just remember that they are no more than starting points, and that where your applications go from there is up to you.

Topic 
Description 
These are samples demonstrating a basic UJML application. 
Samples demonstrating state transitions in a UJML application. 
These samples demonstrate the use of variables and scripting in a UJML application. 
Samples of UJML Components
Samples of UJML state machines. 
The Application Runner sample demonstrates running application files, using components, and generating UJML code. 
This sample demonstrates the UJML visual elements, using components, and linking to partition files. 
Copyright (c) 2000-2007 UIEvolution, Inc. All rights reserved.
What do you think about this topic? Send feedback!