By Victor J. Mascari
IN THIS CHAPTER
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.
Part I. Introduction to Release 6
Whats New in Release 6?
The Release 6 Object Store
The Integrated Development Environment
Part II. Foundations of Application Design
Forms Design
Advanced Form Design
Designing Views
Using Shared Resources in Domino Applications
Using the Page Designer
Creating Outlines
Adding Framesets to Domino Applications
Automating Your Application with Agents
Part III. Programming Domino Applications
Using the Formula Language
Real-World Examples Using the Formula Language
Writing LotusScript for Domino Applications
Real-World LotusScript Examples
Writing JavaScript for Domino Applications
Real-World JavaScript Examples
Writing Java for Domino Applications
Real-World Java Examples
Enhancing Domino Applications for the Web
Part IV. Advanced Design Topics
Accessing Data with XML
Accessing Data with DECS and DCRs
Security and Domino Applications
Creating Workflow Applications
Analyzing Domino Applications
Part V. Appendices
Appendix A. HTML Reference
Appendix B. Domino URL Reference