Writing LotusScript for Domino Applications
By Victor J. Mascari
IN THIS CHAPTER
- Software Construction
- Fundamental Elements of LotusScript
- New Technologies and LotusScript
This chapter covers LotusScript, one of the excellent programming languages that Lotus includes in its product line to assist developers with the development and deployment of Notes and Domino applications.
LotusScript provides a structured programming environment found in many other programming languages. If you know Microsoft Visual Basic, you'll be very familiar with LotusScript ”the two are almost identical (in terms of language, not IDEs ). LotusScript is also object-oriented and, therefore, can be used to create decent OO implementations .
This chapter covers the general principles of software construction, followed by the fundamental elements of LotusScript programming. The chapter ends with an emphasis on how LotusScript supports the newest technology trends such as XML, Web services, and Java.
NOTE
On the Web site is a database called Chapter14.nsf. This database opens to a LotusScript editor that I use to test code and algorithms before placing them in actual design elements, such as forms and buttons . You might find this useful to use as you go through this chapter.
Also, throughout this chapter, but particularly in the "Fundamental Elements of LotusScript" section, I emphasize good programming techniques for developing with LotusScript. One of the most basic good techniques is to use Option Declare. Developers familiar with LotusScript from previous versions of Lotus Notes and Domino will be pleased to know that Lotus now makes it possible to have Option Declare automatically enabled by default.