{"id":7294,"date":"2018-07-02T07:43:41","date_gmt":"2018-07-02T07:43:41","guid":{"rendered":"https:\/\/prominic.net\/?p=7294"},"modified":"2023-03-28T18:34:59","modified_gmt":"2023-03-28T18:34:59","slug":"node-js-domino-v10-essentials","status":"publish","type":"post","link":"https:\/\/wordpress.prominic.net\/node-js-domino-v10-essentials\/","title":{"rendered":"Node.js and Domino V10 Essentials"},"content":{"rendered":"
In the latest webinar on the upcoming Domino Version 10 release, Paul Withers<\/strong> from Intec Systems Ltd<\/strong> , John Jardin<\/strong> from Agilit-e<\/strong> and Jason Gary<\/strong> from HCL Technologies focus on the development opportunities of Node.js and Domino. <\/span><\/p>\n So, why are Node.js and Domino a match?<\/span><\/p>\n Let\u2019s see how Node.js and Domino bring unique benefits to the table, such as:<\/span><\/p>\n Node.js offers a unique opportunity to develop new apps based on Domino.<\/span><\/p>\n While Node.js garners much attention, significant improvements are being made to Domino and NSF databases as well. When combined with the power of JavaScript, this brings Domino apps to the next level. You can use the Domino database just like any other database, but enjoy the security that a Domino database offers. Note, that you can use Angular as well, not just Node.js. Essentially, the goal is take the stack of Domino web server and make it available to Node.js to process.<\/p>\n The architecture: there is no communication directly to the NSF. The communication is made through the API gateway. None of this has been done through Domino Designer and this is a request from Domino developers that will be addressed. The next great thing that is new is Container Clustering, which offers a different approach. You don\u2019t need to build 3rd party technologies into Domino. You have a bunch of echnologies that exist as a sidecar to a Domino environment, with each one existing independently as a container. To top all of that up, all the communication is done through APIs. <\/span><\/p>\n <\/p>\n Here is how you can approach things: ReactJS is a library, not a platform, so you can decide and model everything as you see fit, on a user interface that is well managed. It’s lightning fast and the real benefit is it\u2019s like designing a Node.js app without using traditional Javascript, so you move faster. <\/span><\/p>\n <\/p>\n When analyzing REST vsAPI you will notice that:<\/span><\/p>\n API-first approach means:<\/span><\/p>\n Code for failure and \u201cbad data\u201d \u2013 ON BOTH SIDES:<\/span><\/p>\n Wherever the database has no control over what is given, the API gateway enables a greater control over your database, meaning more planning. Someone might pass in that API without adding some needed info so you need to make sure that you have added all the needed parameters.<\/span><\/p>\n When comparing REST to API Cont you will see that there are some security considerations to be checked:<\/span><\/p>\n Be careful what you expose:<\/span><\/p>\n NODE=RED is an integration tool for wiring together APIs and online services, which is available on IBM Cloud, local Node.js app or Docker. (You should note that Docker containers not aware of host\u2019s \u201clocalhost\u201d or other containers)<\/span><\/p>\n You can schedule tasks via Inject node (or Big Timer) and use additional nodes for e.g. Watson Services, Connections. One other thing you might like is that basic authentication can be set and the flows can be imported\/exported as JSON.<\/p>\n Just to summarize a bit, NODE-RED <\/strong> and API <\/strong> means FLEXIBILITY <\/strong>. <\/span><\/p>\n API:<\/span><\/p>\n Node-RED \u2013 Installable alongside Domino with NodeJS: <\/span><\/p>\n When talking about Microservice Patterns you have :Micro-Functions: <\/span><\/p>\n and Micro-Services:<\/span><\/p>\n As you might imagine IBM does not plan to stop here. All these new and exiting things that Domino 10 will bring will help developers give legacy apps a new face. IBM does not plan to stop here. For the future these are some of the things we can expect:<\/span><\/p>\n Previous IBM Domino v10 Roadmap<\/strong>\u00a0webinars are still available to be viewed on demand.<\/p>\nNode.js in V10<\/strong><\/h2>\n
\n
\n<\/p>\nContainer Clustering<\/strong><\/h2>\n
\n<\/span><\/p>\n\n
ReactJS<\/strong><\/h2>\n
\n
\n
\n
\n
Node RED<\/strong><\/h2>\n
\n
\n
Microservice Patterns<\/strong><\/h2>\n
\n
\n
\n