Home > Articles

Lotus Notes and Domino R6 Application Architecture for Exams 620, 621, and 622

Tim Bankes and David Hatter cover the Domino Designer development environment and the technologies supported by the Domino Designer. Specifically, the application architecture, Notes design elements, and how to utilize the design elements in developing for Notes clients are covered.
This chapter is from the book

Chapter 3: Application Architecture

Terms you'll need to understand:

  • Bookmarks

  • Embedded elements

  • Outline

  • Date picker

  • Group scheduling control

  • Editor

  • Folder pane

  • File upload control

  • Image resource

  • Style sheets

  • Data Connections

Techniques you'll need to master:

  • Creating, modifying, and troubleshooting for Notes clients

  • Understanding Domino Application Architecture

  • Executing requests from the Notes client

  • Using images in applications

  • Using tables to manage page layout

  • Using the Designer bookmarks to organize projects

  • Working with local applications

Understanding the Lotus Notes application architecture is fundamental to passing exam 610, Notes Domino 6 Application Development Foundation Skills. This understanding is also fundamental to application development in general! This chapter covers the Domino Designer development environment and the technologies supported by the Domino Designer. Specifically, the application architecture, Notes design elements, and how to utilize the design elements in developing for Notes clients are covered.

The most important element with any Domino application is Notes documents. Lotus Notes documents contain application data and design data. In addition, design elements are special Lotus Notes documents that are a part of the database design. However, when referring to Notes documents, people are typically referring to application data documents. Likewise, references in this chapter and the remainder of this book will typically be referring to application data documents unless otherwise noted.

Creating, Modifying, Troubleshooting for Notes Clients

When the Domino Designer client is opened, the welcome page is displayed. The default welcome page displays four options to display content in the Show Me field. The four options are

  • Quick links for common tasks (default)—These tasks include Create New Database, Open an Existing Database, Designer Help, and links to online developer resources such as the Lotus Developer Domain, Domino Enterprise Integration, Domino Global Workbench, and What's New in Domino Designer 6.

  • Domino Objects For LotusScript and OLE—A graphical layout of the Front-End and Back-End classes with links to respective help documents in the Lotus Domino Designer 6 Help database.

  • Domino Objects for DXL Support—A graphical layout of the DXL classes with links to respective help documents in the Lotus Domino Designer 6 Help database.

  • JavaScript Object Model—A graphical layout of the DXL classes with a link to help contained in the Lotus Domino Designer 6 Help database. This help document explains how the JavaScript object model is implemented in Domino and contains links to online JavaScript help.

Languages Used to Code within the Domino Designer IDE

The Domino Designer Integrated Development Environment (IDE) enables developers to use the following languages to code:

  • Notes Formula language

  • LotusScript

  • Java

  • Imported Java

  • JavaScript

The Domino Designer Client Interface

Table 3.1, Interface Functional Area, describes the functional areas contained within the Domino Designer client interface.

CAUTION

Although you will not be asked specifically to point out these areas for the exam, the areas of the Lotus Domino Designer interface are referenced within exam questions. And although the exam does not visually depict the development environment, you may be asked questions that refer to user interface areas (such as the Design pane), so understanding the terminology used by Lotus when referring to the development environment is important.

Table 3.1 Interface Functional Areas

User Interface Area

Description

Menu bar

Context-sensitive menus of the Domino Designer commands.

Properties Box button

Opens the properties box for the active design element.

Preview buttons

Launch a Web browser or Notes client to preview the work.

Design pane

Contains the list of the design elements and resources for the database. The bookmark icon contains a list of the most recently opened databases.

Work pane

The WYSIWYG ("what you see is what you get") environment for creating and modifying forms, pages, views, and other design elements specific to an application or database. Lists all the specific design items in the current database for the selected design element. The Design action buttons, which are listed across the top of the Work pane, change depending on the current design element being modified. These buttons then perform actions respective to the currently displayed items in the Work pane.

Window tabs

Each item that you are currently working on has its window tab. When each tab is clicked, the window the tab represents is opened.

Design Action buttons

Used to trigger common tasks associated with the current design element being used.

Bookmark bar

Displays bookmarks, which are graphical links to help you quickly access and organize your databases.

Objects tab

Lists all the objects (specific parts of the design element such as forms, fields, or buttons when working within a form design element) and events (object-related actions to which you can attach scripts to perform activities in an application—when the event occurs, the script attached to the event executes) for the currently selected design element to which logic (code) can be added. When clicking on the various items, the script area changes to reflect the language type and logic that can be added for the current object. Logic is then added into the script area.

Info list

Scrollable window that displays the objects and coding reference information for the design element currently displayed in the work area.

Title bar

Displays the title of the current design element, object, or event.

Reference tab

Lists the fields and functions available for the currently selected object. Code can be pasted from the list to the script area or pop-up help. Reference tab is language sensitive and lists help available for the currently selected event. If a formula event is selected, the reference lists all the Database fields, @Functions, and @Commands available. When you select a JavaScript event the Document Object Model is listed. Likewise, when LotusScript is selected, the Reference tab displays the Domino classes. Code can be pasted from the list or Designer help can be opened.

Script area

Area where script (LotusScript or JavaScript), command language, and formula language are written for the current object selected. When you select a JavaScript event you are given the choice to code for the Web client or the Notes client. Certain events can be coded to both clients, and you can do this by choosing Common Javascript.

Errors box

Displays errors generated during the compile when working with LotusScript.


Figure 3.1 displays the Lotus Domino Designer and the various design elements contained within it.

Figure 3.1Figure 3.1 Domino Designer R6 interface.

Forms and Documents

Typically, users use Notes forms to create, open, and modify documents. (Documents can exist, however, without forms to display them.) The form is the physical template providing the structure and formatting of the document to be displayed to the user. For example, the form might contain the document layout, field layout, text, images, background color, and so forth. Regardless of whether the user is a Web client or Notes client, Domino uses the Access Control List (ACL) to determine whether the user has rights to create, read, modify, or delete documents.

Four types of data can be stored in documents:

  • Text

  • Numbers

  • Dates/times

  • Rich text (graphics, tables, sections, objects, and so forth)

Troubleshooting Database Access

If users are having problems accessing the Domino database(s), consider investigating the following potential causes of failure:

  • The target server is down, and no clustered servers are available to serve as failover servers. Consider setting up Advanced server options such as clustering and failover.

  • Users have insufficient access to perform the requested operation. Investigate the database Access Control List to ensure that users have been set up with sufficient database access.

  • The Database file is being used through the operating system, possibly by a third-party backup system, so that access is locked. Ensure that the database file is not currently being backed up, or that the previous backup has not failed and the backup process has locked the file from being used. Also ensure that the operating system user rights have not been modified to restrict access to the file or file directory.

  • The full-text index frequency is set to immediate, and the server is continually updating the database full-text index. Consider modifying the full-text index update to update less frequently.

  • Users are assigned to more than one access level. Table 3.2 refers to some common user access conflicts that occur when users are assigned to more than one access level and their respective resolutions.

Table 3.2 User Access Conflicts

Conflict

Explanation

The user is listed individually and as a member of a group.

The access granted to the explicitly listed username takes precedence over the access granted in the group, even if the group access is higher.

The user is included in two or more groups.

The user is granted access of the group with the highest access.

The user appears in the ACL as well as in specific design element access lists.

The specific design access refines the data-base access.


Pearson IT Certification Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Pearson IT Certification and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Pearson IT Certification products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.pearsonitcertification.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020