Before you start
Part 1 of this series familiarized you with Notes and Domino in the process of setting up the core of the BlammoSplat Web sites. Part 2 looked at the animation process and how to create and run OpenLaszlo animations. In this tutorial, learn to enable users to both rate existing animations and to combine existing animations into new snippets.
In this tutorial, learn:
- How to use Java™ and the XML Document Object Model to combine OpenLaszlo animations
- How to create a Java library in Domino
- How to call Java code from a LotusScript agent
- How to create a new Domino document and attach an arbitrary file
- How to select individual documents via check boxes
- How to replace parts of a Domino site home page
- How to replace the default Domino buttons
At the end of this tutorial, you will have the basics of the BlammoSplat site.
This series demonstrates the ease with which you can use Lotus Notes and Domino applications to create complex Web-based applications. During the three-part series, you will build a community Web site, BlammoSplat, that enables users to upload, comment on, and dynamically combine OpenLaszlo animations.
The animations will consist of a bouncing "ball" users can manipulate programmatically, enabling it to, say, morph from a bouncing ball to a floating flowers to a tiny spaceship trying to elude the neighborhood dog. Users can upload and discuss snippets, and can combine them into new pieces for discussion.
All of this takes place in a Web site created using the Lotus Notes and Domino.
This tutorial is for Web developers who want to learn more about using Lotus Notes and Domino to create and host Web applications. This tutorial assumes that you have some programming experience. You should have a basic understanding of creating Notes applications, which you can get from reading Part 1 of this series. The example uses LotusScript, but it's fairly straightforward and explained in detail, so previous experience is not required. Familiarity with XML is also helpful, but not required.
To follow along with this tutorial, you will need to have the following software installed and ready to use:
- The basic BlammoSplat application: Part 1 chronicled the creation of a Notes database that enabled users to create an account on the BlammoSplat site, and to post and read messages. You can download the NSF file, but you will need to read Part 1 to perform the appropriate configuration.
- Domino 8 server software: Available as a trial download. This software hosts the application, so you will need to download and install it.
- Domino Designer 8: Available as a trial download. This application enables you to build Domino database applications from scratch; you'll be using it for the registration application.
- JDK 1.4x or higher: OpenLaszlo runs on an embedded Tomcat server. You won't need to worry about that, but you will need to have the Java SDK -- the JRE is NOT enough -- installed in order for it to work.
- OpenLaszlo: The animations created in this tutorial use the OpenLaszlo API, so to compile and run the you will need the OpenLaszlo server.



