Domino R5 Web Programming Student Manual by yrs83496

VIEWS: 11 PAGES: 4

									Domino R5 Web Programming Student Manual
Software version number: Domino V. 5.02
Course length: 3 days
Maps to: exam 513 - Using JavaScript in Domino R5 Applications

Hardware/software required to run this course
The classroom is designed with a maximum of 16 students in the class, each
student has his or her own machine and complete the practical work using their own
workstation with all the databases they use on the Instructor server.
Server Hardware: Minimum 166 MHz processor (200 MHz highly desirable), CD-
ROM drive on machine, floppy drive on machine, minimum of 64 MB of memory
(128 MB highly desirable), Minimum 1GB free disk space, networked using TCP/IP
Server Software: Windows NT 4.x Server with Service Pack 4 and Windows NT
Option Pack - essential for the CORBA/IIOP demonstration, Microsoft Internet
Explorer 4.x installed, Netscape Navigator 4.x installed
Workstation Hardware: 1PC minimum 133 MHz processor, CD-ROM drive on
machine, floppy drive on machine, minimum of 64 MB of memory (128 MB highly
desirable), minimum 1GB free disk space, networked using TCP/IP
Workstation Software: Windows NT 4.x workstation or Windows 95/98, Microsoft
Internet Explorer 4.x installed, Netscape Navigator 4.x installed, Domino Designer
and Lotus Notes clients installed and configured.

Course description
This hands-on course identifies the programmability options available in R5 and
shows how they are best applied through practical examples. Delegates learn about
Javascript, Java and other advanced programming including:

   l   How to design applications for use over the Web
   l   What HTML and DHTML are and how they work with Domino Applications
   l   How to incorporate JavaScript into Domino Applications
   l   How and Why to incorporate Java into Domino Applications: Applets and
       Agents
   l   How to write your own Java applets
   l   How to Corba-enable and LiveConnect your Java applets
   l   How to write Java agents
   l   How to write multi-threaded Java agents
   l   How to incorporate Java Servlets into Domino Applications


Prerequisites: Students should be familiar with basic application development
using Lotus Notes and will have used structured programming languages.
Delivery method: Instructor-led, classroom-delivery learning model with structured
hands-on exercises and challenge exercises.
Benefits: Students will learn how to develop Domino Applications in R5.
Target student: Existing R4 or R5 Application Developers who require a
comprehensive understanding of the new web programmability features found in the
R5 Domino Designer client. This hands-on course identifies the new
programmability options found in R5 and shows how they are best applied through
practical examples. Students learn about Javascript, Java, CORBA and other
advanced programming techniques.

Objectives
Lesson objectives help students become comfortable with the course, and also
provide a means to evaluate learning. Upon successful completion of this course,
students will learn:

   l   How to design applications for use over the Web
   l   What HTML and DHTML are and how they work with Domino Applications
   l   How to incorporate JavaScript into Domino Applications
   l   How and Why to incorporate Java into Domino Applications: Applets and
       Agents
   l   How to write your own Java applets
   l   How to Corba-enable and LiveConnect your Java applets
   l   How to Corba-enable and LiveConnect your Java applets
   l   How to write Java agents
   l   How to write multi-threaded Java agents
   l   How to incorporate Java Servlets into Domino Applications


Course content

Lesson 1: Web Application Design
    Learning Objectives
    About Document Appearance in a Browser
    Advantages and Limitations of Text Interface
    Advantages and Limitation of Graphic Interface
    Programming Choices in the IDE
    About Using LotusScript in Web Applications
    About Using @Functions in Web Applications
    About Using Java
    About Using JavaScript to Generate Pages
    About WebQueryOpen and WebQuerySave
    About $$Return
    Using HTML to Improve Performance
    Tips for Improving Web Performance
    Exercise 01.1: Analyzing the Motley Fool Web Site
    Challenge Exercise 01.2: Making Coding Decisions
Lesson 2: Programming Multi-client Applications
    Learning Objectives
    R4.6 Multi-Client Design Example
    R5 Multi-client Design Example
    Layout in Multi-client Applications
Lesson 3: Industry Standards
    Learning Objectives
    Defining SGML, HTML and XML
    About JavaScript
    About Java
    About CORBA
Lesson 4: Introducing the R5 Courseware Application
    Learning Objectives
    Overview of the Application
    About the R5 Courseware User Interface
    Annotating your Notes
    R5 Courseware Features
    Exercise 04.1: Using the R5 Courseware Application
    Challenge Exercise 04.2: Navigating the UI
Lesson 5: R5 Programmability Overview
    Learning Objectives
    R5 Knowledge Level Requirements
    Programming the Front-end Classes
    Programming the Back-end Classes
    About JavaScript
    About Java
    About CORBA
    Other Programming Languages
Lesson 6: Introduction to JavaScript
    Learning Objectives
    About Client Side Programming
    About Programming with @Functions, LotusScript and JavaScript
    About JavaScript and Domino
    DOM Form Elements
    JavaScript Methods
    Support for JavaScript in the IDE
    Exercise 06.1: JavaScript Events
    How to Enter JavaScript
    Using the Programmer's Pane
    Using <SCRIPT> tags
    JavaScript Syntax
    Referencing Objects Generated by Domino
    JavaScript Operators
    Input Validation with JavaScript
    About JavaScript Functions
    About JavaScript Functions
    Exercise 06.2: Input Validation
    Challenge Exercise 06.3: JavaScript Functions
Lesson 7: JavaScript and DHTML
    Learning Objectives
    Dynamics
    About Dynamically Generated HTML
    About DHTML
    Using Notes to Dynamically Generate HTML
    Using Computed for Display Fields
    Using a Formula to Generate a JavaScript variable
    DHTML and Layers
    Cascading Style Sheets (CSS)
    Changing Object Properties
    DHTML and the Event Object
    Referencing the Properties of the Event Object
    Exercise 07.1: DHTML and Dynamically Generated HTML
Lesson 8: Limitations
    Learning Objectives
    Limitations of JavaScript in the IDE and Web Browsers
    Using Notes as an HTML Editor
    About JavaScript Versioning
    Notifying Users without JavaScript
    Different Implementation of DHTML
    About JavaScript Events in the Notes Client
Lesson 9: Java Applets
    Learning Objectives
    Java Applets and HTML
    About Java Classes
    About Java Resources
    Creating Java Packages
    About Lotus BeanMachine
    Importing Applets
    About Setting Applet Parameters
    Applet HTML Attributes
    Java Debug Console
    Overriding getDocumentBase
    Exercise 09.1: Importing the Animator Applet
    Challenge Exercise09.2: Import an Applet Resource
Lesson 10: The Domino UI Applets
    Learning Objectives
    About the Domino UI Applets
    The Rich Text Editor Applet
    The View Applet
    The Outline Applet
    The Action Bar Applet
Lesson 11: Advanced Programmability Overview
    Learning Objectives
    New Domino Terminology
    About the Domino Object Model
    Java's Extensive Class Library
    Domino Development with Java
    About Java Implementation in R5
    Overview of Java Lessons
Lesson 12: Writing a Java Applet
    Learning Objectives
    Java Classes and LotusScript Classes
    The Catalogue Applet
    Java Syntax - Creating Objects
    Using Objects
    Java Events
    Java Data Types
    Java Syntax – The Basics
    Java Operators
    About Java Source Code
    About the Catalogue Applet
    Exercise 12.1: Extending the Catalogue Applet
    Challenge Exercise 12.2: Creating the HelloWorld Applet
Lesson 13: Using CORBA
    Learning Objectives
    About Java and Domino
    About Java and Domino
    Domino Process Architecture
    About the lotus.domino classes
    Java Classes Properties and Methods
    Java Methods for Domino Objects
    Catching Exceptions in Java
    Introducing the AppletBase Class
    The Corba Catalogue Applet
    CORBA Enabling the Server
    How an ECL Works
    Exercise 13.1: Extending the Corba Catalogue Applet
    Challenge Exercise 13.2: Creating the CorbaHello Applet
Lesson 14: Using LiveConnect
    Learning Objectives
    LiveConnect and Domino
    About Using LiveConnect to Display Domino Text Fields
    Using LiveConnect to Display Images
    The LiveConnect Corba Catalogue Applet
    Explanation of Code Line by Line
    Exercise 14.1: Coding the LiveCatalogue Applet
Lesson 15: Writing Java Agents
    Learning Objectives
    Introducing AgentBase
    About AgentContext
    Compiling Java Agents
    Debugging Java Code
    About Projects
    About AgentRunner
    Multithreading Example
    Running Threads
    Java Threads and Domino
    About Creating Threads
    About Security over Creating Java agents
    Domino Security on Web Agents
    Exercise 15.1: Creating a Java Agent
    Challenge Exercise 15.2: Converting a LotusScript Agent to Java
Lesson 16: Introducing Java Servlets
    Learning Objectives
    Introducing Java Servlets
    Introducing the Java Servlet API
    The SimpleServlet Example
    Implementing Servlets
    Servlet Resources

								
To top