Course Details
Course Code: 5JAV01
Course Title: R5 Beginner JavaScript for Domino
Units: 8
Duration: 2 classroom equivalent days
CourseRoom Access: 3 months1
1. Up to 12 months access when purchased as part of a Curriculum Package.
Summary Description
Ever wonder how to open a new window from a button on a web page or why certain web applications know that your browser supports frames? It's all done with JavaScript, Netscape's open standard programming language for making dynamic web pages. In this course you will learn the basics of the JavaScript programming language, what it can do for you and how you can incorporate it into your R5 Domino applications. First, you will learn the fundamental building blocks of the core JavaScript language, its syntax and how it relates to HTML. You will then become familiar with the JavaScript Object Model and how JavaScript employs object-oriented programming techniques for working with information on web pages. Finally, you will learn how to use the Client-Side JavaScript objects, methods and events to create useful and interesting interfaces for your Domino web pages. You will learn how to recreate Notes Client features that Domino can not port to web browsers. All of this is presented within the Domino environment and includes demonstrations, activities and lessons on how to use JavaScript effectively within your Domino applications. The lessons also include in-depth discussions on browser compatibility and the subtle differences between Netscape and Microsoft browsers and how to handle them.
Audience and Prerequisites
Experienced R5 Domino developers who want to learn JavaScript. The recommended prerequisites are:
- TLCC's Beginner R5 Domino Web Application Development
Course Modules
Module 1 - What is JavaScript?
This introductory module introduces the main concepts of the JavaScript language. You will explore why JavaScript was created, what it can do and how it can be used to enhance your Domino applications. You will also begin using JavaScript techniques to interact with the user and data on a web page.
Module 2 - Core JavaScript
This module describes the core JavaScript language, its syntax and its basic building blocks. As with any programming language, JavaScript has its own way of interpreting each piece of code. Understanding each code element and how JavaScript handles them is essential to being able to write JavaScript programs.
Module 3 - Objects in JavaScript
This module introduces the main concepts of the JavaScript Object Model, what it was created for and how to work with it. You will learn about object properties, methods and events and how to work with them. Topics include JavaScript events in R5 Designer, the Document Object Model (DOM) and how Domino design elements are translated to the HTML document hierarchy. The JavaScript String and Array objects are also featured.
Module 4 - Client-Side JavaScript
This module combines your knowledge of Core JavaScript with Client-Side JavaScript objects to show how to program features into your Domino web applications. You will work with the built-in Client-Side JavaScript classes to manipulate the browser and its objects. Featured topics include working with windows, interacting with the current document and user input data, working with framesets, client-side input validation and conditional processing based on the browser type and version.
Objectives
- Describe JavaScript.
- Describe the difference between JavaScript and Java.
- Demonstrate what can be done using JavaScript.
- Explain what JavaScript can NOT do.
- Understand JavaScript's role in HTML.
- Describe JavaScript's role in Domino applications.
- Understand Passthru HTML in Domino.
- Explore the JavaScript IDE in R5.
- Use JavaScript to read values, write values and send user alerts.
- Describe how to debug your JavaScript code.
- Describe each of the JavaScript language basic building blocks.
- Describe the data types supported by JavaScript.
- List the special characters in the JavaScript language.
- Describe functions and how to create and invoke them.
- Describe and use the various JavaScript program flow control statements.
- List the JavaScript statement and expression construction rules.
- Define and demonstrate object properties, methods and event handlers.
- Describe the JavaScript String object, its properties and its methods.
- Describe the JavaScript Array object, its properties and its methods.
- List and describe the JavaScript events available in R5 Designer.
- Describe and use the Document Object Model (DOM).
- Describe the HTML Hierarchy of a document and use it in JavaScript code.
- Show how Domino translates its design elements to HTML.
- Use associative names with Domino design elements.
- Use JavaScript to open new windows, close windows and set focus on windows.
- Use JavaScript to read user input values from the five HTML input types.
- Use JavaScript to control the display of image source files and create rollover images.
- Use JavaScript with frames and framesets.
- Use JavaScript for client-side input validation.
- Use conditional JavaScript code based on the browser type and version.
System Requirements
A single R5 Notes Designer client and a browser with unrestricted access to the Internet will provide full course functionality.
The minimum system requirements by functional components are:
- R5 Notes client to read the course material.
- R5 Notes Designer client to run the demonstrations and exercises and to use the Web Preview feature.
- At least one current browser.
- Unrestricted access to the Internet to replicate course updates and CourseRoom discussion.