Domino Version 10 and Beyond – a few toughts

Yesterday  announced the strategic partnership between IBM and HCL to move the Notes and Domino Family forward. In 2018 a brand new version, 10, will be released.

For lots of customers who have invested in Domino applications it is very good news. Less need to move away to other products.

IBM will be organising jams, to define the future of the product. It is a great opportunity to show interest in the product and what you think is most important in the product. Sign up know to keep informed.

My thoughts about the way forward

I am a developer and nowadays develop mostly outside the ICS space, I have some thoughts to get back.

Deprecate Lotusscript

Lotusscript is nice but will not move the product forward. Deprecate is, so the application is still backwards compatible, but stop investing time in a newer version. It makes the product not compatible with other products.

 

Cut the wire

As soon as possible, remove the relation between the Notes Client and the Domino Designer. This relationship slows down the big steps forward the Domino Designer needs.

 

No fat client

Who needs a fat client, in my opinion there is less need of a fat client, like the Notes Client. Most of customers can do their business with a web based solution. So give most love to the Domino Designer and Admin and NOT the Notes Client. Migrate it your self of use the Aveedo or Darwino

 

Make the Designer flexible

Make the the Domino Designer available as flexible as possible. For example available as a Eclipse or IntelliJ plugin. And of course remove the restriction to run the Domino Designer needs Windows.

 

So lots of things to improve, hope to see you at the jam, in person or virtual.

 

Lets jam and make the future bright again.

DominoJam

twittergoogle_plusredditpinterestlinkedintumblrby feather

IBM Champion nominations 2018 are open

It is the time of the year again. Time to thanks your favourite IBM technology expert by nominate them as IBM Champion 2018.

More details on this blog post by the Libby Ingrassia, the overall IBM Champion manager, or watch the video below.

 

The deadline to nominate is November 13th, so start nominating today, https://www.ibm.com/developerworks/champion/?ca=dw-_-IBMChampion-_-dwtv-Featured-_-category

 

IBM Champion logo

twittergoogle_plusredditpinterestlinkedintumblrby feather

Spring boot and Thymeleaf – rapid application development

springboot and thymleaf

At one of my customers I was able to use to build an application with preview functionality of a business critical application.
As usual the business wants this application as soon as possible. So the obvious choice was Spring boot in combination with Thymeleaf.

Spring Boot

Spring boot created spring based applications which can run as a runnable jar, with embedded a Tomcat server. But a Spring boot application can with a few tweaks run on a Websphere Application Server or Websphere Liberty Profile, and in a Docker or on Cloudfoundry (Bluemix or Pivotal).

Google and you will find tons of examples

Thymeleaf

Thymeleaf a templating engine based on Java. It supports layouts and fragments. Fragments are very useful, because you can reuse these fragments in different layouts. The code in one place.

There is an extensive documentation available

Get started

To get started the best way is to head over to the Spring Initializr. You choose your Group, ArtefactId, Package name, packaging and java version.

The big plus of the Spring Initializr is to specify all the additional projects you need for your application. I can reccommand to switch to full version, where you can see which projects you can choose. From SQL, Web, Templating and Cloud projects.

Last thing is to generate the project. It will deliver a downloadable zip file with the correct Java project inside.

Unpack the zip file, open the project in your favourite Java editor, like Eclipse or in my case IntelliJ

Run the code

In IntelliJ under Spring Boot just double click the SpringBoot application. Or in my case I created a Maven run/debug configuration, ‘Spring Boot Run’, with the command line command ‘spring-boot:run’.

And voila, your application is up and running via localhost:8080

 

twittergoogle_plusredditpinterestlinkedintumblrby feather

Quick NPM tip: don’t forget to uninstall node modules

NPM is great tool to have all your Node modules in your front end project, and don’t have to worry about dependencies.

When you find a useful module for your project just do ‘npm install <node-module> –save-dev’ and you are ready to go, but….. it can pollute your node_modules directory with unused node modules.

Just uninstall your unused node module by ‘npm uninstall <node-module>’

twittergoogle_plusredditpinterestlinkedintumblrby feather

Angular 4 bug in combination with latest Typescript

When we upgraded our Angular app to the latest version. We noticed everything worked with version 4.2.3 and Typescript 2.4.

The problem

After we reinstalled all the nom packages the Angular version was upgraded to 4.2.4, because we had in our package.json ‘^4.2.3’ for Angular packages.

When we package everything and republished the app to the page, we got errors, huh!!!!

 

The solution

After some search I found it has to do with the combination of Typescript and Angular version. After I set Typescript fixed to version 2.3.4 everything works fine again

twittergoogle_plusredditpinterestlinkedintumblrby feather

Angular and base64 encoding and decoding

Currently I am busy building a Proof of Concept at my customer.
We are using Springboot for the Backend services, which get data from Tridion and store data in a Oracle database..

The Front end is build with Angular. We started with version 2 with Grunt as build tool, but quickly we changed it to Angular 4 with Webpack.
The overall feeling of Angular 4 and Webpack was much better. Another plus was the smaller footprint.

Base64

Last request was to store some information in Cookie. Overall no rocket science, but to encode the value and afterwards decode to reuse it was even more easy, thanks to build in base64 encode/decode functions.

btoa() and atop() are very powerful

let encodedCookie:string = boa("Password");
let cookie:string = atop("cGFzc3dvcmQ=");

Happy coding

twittergoogle_plusredditpinterestlinkedintumblrby feather

The slides of my session at Engage

Here are my slides of my session at Engage.

 

twittergoogle_plusredditpinterestlinkedintumblrby feather

Learn, share and Engage in Antwerp

Next week it is time for Engage Usergroup again. This time Theo Heselmans has chosen a very special location, next to the ZOO of Antwerp. Looking forward to meet everyone again and see what the sponsors have to offer.

Theo and his team has put together a amazing agenda with top notch speakers and IBM Champions.

This year I am very privileged to be a speaker again.

My session

Dev03. How Watson, Bluemix, Cloudant, and XPages Can Work Together In A Real World Application

The role of a human resources employee can be hard work when it comes to filtering hundreds or thousands of job applications. Often, the cover letters are submitted in unstructured formats making keeping data in order and identifying interesting job applications difficult.
In this session we will give a look behind the scenes of the award winning HR Assistant application which uses a combination of IBM Bluemix, Watson and a Cloudant database to improve the recruitment process. We will explain how we integrate the different technologies and display the content graphically using XPages along with how the development progressed and the challenges we faced.

  • My session on Tuesday May 9th at 9 AM in Room A (Okapi 3).

 

Hope to see and meet you next week in Antwerp. And hope to learn more about IBM Think 2018 in Las Vegas

twittergoogle_plusredditpinterestlinkedintumblrby feather

Bulk import in a Cloudant database

After some issues with HR Assistant I was thinking it would be a good idea to create a separate database with only the Design documents as schema database.

So I replicated all the documents from the original database to a brand new one and called it hrassistant_schema. After the successful replication I kept all only the design documents.

 

Today I got a question about the schemas and discovered it should also be a good idea to add all the configuration documents to the schema database of HR Assistant

In that case I have a basic set up and can use it all the time to generate a new instance of the database.

 

Prepare the JSON

In a Cloudant database it easy to get all the documents in JSON format from a certain view via the build in REST API. In my case I needed the configurations view JSON.

The documentation of Cloudant helped me to prepare the JSON to a certain format to remove everything before the doc entry and the } add the end of each document entry in the JSON. Include all the entries in array and assign it to docs keyword.

 

Insert the JSON in Cloudant

Using Postman on my MacBook to post the JSON directly into the Cloudant database. You need the url to the database on Cloudant and add to the url ‘/_bulk_docs’

At the authorization, select Basic Authentication and add your username and password.

In the Request body you add the prepared JSON and press post. In the Response body you get feedback of the operation. In my case all the documents, 24, are inserted successfull.

 

Meanwhile in Cloudant

When I checked the configuration view in the hrassistant_schema database I see all the new documents.

 

Happy coding and come to see me at my session at Engage on 9:00 Tuesday 9th of May, where I will show more technical details about the development of HR Assistant.

twittergoogle_plusredditpinterestlinkedintumblrby feather

IBM InterConnect 2017 as a developer

As promised in a previous blogpost, I will zoom in on the technologies I have seen and used at IBM InterConnect

I was surprised the amount of technical sessions at InterConnect. More then I then was expecting as lots of people told me It was all about middleware.

Below my impression as a developer

Open Tech Summit

On Sunday InterConnect for me started with the Open Tech Summit, a gathering of tech nerds, to learn more on Open Source software. In a TED talk style every speaker got 10 minutes to shine their light on the Open Source world.

There were lots of great speakers, Tony Tam from SmartBear ( Swagger ). Further Open Stack, JSFoundation, CloudFoundry and of course Apache Foundation.

Was good to hear there views.

 

Bluemix

Since the rebrandig of Softlayer . Bluemix has become a total platform of bare metal with on top a broad collection of services. I was really surprised who mature it has become. One of my complaints about services not available across all datacenters has been taken seriously 😉 They are busy to rebuild all the datacenters from the ground up, like the way Softlayer has build all their datacenters. But this time they will not forget the services.

 

In the end all the datacenters will be identical around the world and will have also have all the services, Very good news in my opinion.

During InterConnect I noticed also that I could select Germany as datacenter, now we have also a datacenter on European mainland. You never know what happens after Brexit.

 

OpenWisk

OpenWhisk is serverless, using business rules to bind events, triggers, and actions to each other. Before InterConnect I heard the term a few times.

At InterConnect there was the posibility to build an application with OpenWisk at the DevZone.

I liked the simplicity of OpenWisk. The actions can be triggered on a time based schedule, which is a good alternative for the Crone Jobs in Java. But the actions can also triggered by events.

And the good thing is, you pay per run of a task, which normally takes a few milliseconds.

It availaile on Bluemix, but that will not be the only place, in the left menu of your account.

 

Swagger/Open API Specification

Swagger was everywhere at InterConnect. At my current customer we use Swagger for every new API we deliver. Very convenient for documentation and you have immediately a playground where you can test your API.

 

Swagger is based on a YAML or JSON file which describes all your endpoints and what to consume and produce as output.

The editor of Swagger comes with a Codegen, which can generate a skeleton backend and frontend, for several languages and frameworks, like AngularJS, but also JAX-RS and SpringBoot.

 

Swagger, from SmartBear, is donated to the Open API Specification, which tries to get an general specification of API’s.

At InterConnect version 3.0 was showed, which will be released soon, with some great enhancements. For example you can change API calls together, like get me the Company and via links get also all the addresses based on compayId.

 

IBM API Connect

IBM has API Connect, a gateway to manage all the API’s in your company, for example how can use the API, which endpoints are exposed, but also create and run new API’s.  Got a few demo’s, looks impressive. It will except a Swagger YAML/JSON file to get all the endpoints. And Loopback is integrated to run all the new API’s

I think It can be very useful for larger organizations with lots of API’s to keep an overview and manage access of these API’s

 

Blockchain

The biggest buzzword at InterConnect was Blockchain. At IBM Connect 2017 Chris Miller did a great session about the concepts of Blockchain. Go check his slides for a better understanding.

At InterConnect keynote there was a great example of Blockchain by Everledger, about the diamand industry where they now use Blockchain to have all the transactions in the whole chain, from the mining to the shop, are in a Blockchain.

I attended also a session about the Plastic Bank, where they use Blockchain to registrer all the transactions in the chain between plastic collector and factories and every step in between. The story behind the Plastic Bank was touching, and good to see how they use Blockchain.

Bottom line, where a transaction is between people or companies or whatever, there you can use Blockchain.

 

At the end…

As a developer I was pleased by such wide range of topics. There was so much to learn. A tip is, pick a few topics to focus on, or you will drown is so many sessions. My topics where Blockchain, Swagger/Open API Specification, Bluemix. As a bonus I know more about OpenWisk, API Connect.

I can recommend InterConnect for every developer.

twittergoogle_plusredditpinterestlinkedintumblrby feather