Course Overview: Integrate IBM Domino with Node.js

Mark Barton
InstructorMark Barton

Share this video with your friends

Send Tweet
Published 4 years ago
Updated 3 years ago

IBM Domino and Node.js can work well together and in this course we cover how to use the Domino security along with creating, reading, updating and deleting Domino data via the Node.js server.

We also cover using Domino data in an handlebars template and reusing Domino generated HTML.

This course should get you up to speed on using Node.js with Domino.

You will need access to Domino server which is capable of running Domino Data Services and a recent installation of NodeJS.

We will then cover using NodeJS / Express to get Domino Data and then show how to manipulate it server side using middleware before returning it to the browser.

Instructor: [00:00] This course is for IBM Domino developers or JavaScript developers who are looking to use IBM Domino. The aim of the course is to take the strengths of Domino and combine them with the strengths of Node.js.

[00:11] The first part of the course is all to do with Domino security, and making sure that we can utilize the Domino security model within our Node.js application. This means you will not have to worry about setting up new user accesses or user roles. We will just utilize the standard names address book inside Domino.

[00:29] To do that, we need to identify authentication errors from Domino. Normally, Domino will return a status 200 code even if you have failed to log into Domino. This is not very useful.

[00:40] We go over a method that allows us to enhance the standard login form and add a custom HTTP header, which can then be intercepted by the Node.js application to read out wherever we have an authentication error.

[00:51] We look at how we can log into Domino via our Node.js application. We see how we can use the Domino security to actually access restricted data, and we see that working.

[01:01] We're going to go over how we can expose the standard user information like the common name and user roles, and how we can utilize those to actually protect some of the roots within our Node.js application.

[01:13] We look at how we can store the Domino user information inside what's known as a JWT, which is a JSON web token. This allows us to store this client-side in a protected format, and then send it back to our Node.js application on every call.

[01:28] Therefore, we don't need to go back to Domino to check to see what roles a user has. We can then [inaudible] use those user roles to protect our roots.

[01:35] We'll look at using the standard create, read and update, and delete methods of the Domino data service via the Node.js application. We'll then go over how to render that Domino data inside a Handlebars template in an Express application.

[01:49] Finally, we'll cover how to take some computed Domino HTML and reuse it within our Express application. Pretty useful if you've got a complicated formula or other method that's generating HTML output, and you don't want to rewrite that.

[02:04] I hope you enjoy this course. You should find it gets you up to speed so that you can start using Node.js with your Domino server right away.