Skip to main content

Uniface C/S and Services from Web integration

  • January 2, 2019
  • 7 replies
  • 0 views

Gianni Sandigliano
Forum|alt.badge.img

Hi Unifacers,

First of all, best wishes for an happy and healthy 2019!

Just before Christmas I got an interesting question from a customer; I would like to share it to know what Uexperts could say:
current Uniface applications are mainly C/S and in many cases Uniface web application server is NOT installed at all; is it possible to integrate them with services from web (like those from Google: Drive, Calendar, etc) without using ANY DSPs?

Thanks in advance for any hint / answer / trick.

Gianni

7 replies

  • January 2, 2019

Hi Unifacers,

First of all, best wishes for an happy and healthy 2019!

Just before Christmas I got an interesting question from a customer; I would like to share it to know what Uexperts could say:
current Uniface applications are mainly C/S and in many cases Uniface web application server is NOT installed at all; is it possible to integrate them with services from web (like those from Google: Drive, Calendar, etc) without using ANY DSPs?

Thanks in advance for any hint / answer / trick.

Gianni

Hi Gianni,

IIRC, there are examples to integrate Google Maps in a C/S application on uniface.info.

Another option is to use a (hidden) HTML widget to communicate with the web.
Just a little javascript calling the service which calls the extended trigger at the end ?

I designed an API consisting of some JS functions to be called from the form
and a dispatcher as an extended trigger to return the results.
The asynchronous execution inside the HTML is a little problem and may require some experiments.



Gianni Sandigliano
Forum|alt.badge.img

Hi Unifacers,

First of all, best wishes for an happy and healthy 2019!

Just before Christmas I got an interesting question from a customer; I would like to share it to know what Uexperts could say:
current Uniface applications are mainly C/S and in many cases Uniface web application server is NOT installed at all; is it possible to integrate them with services from web (like those from Google: Drive, Calendar, etc) without using ANY DSPs?

Thanks in advance for any hint / answer / trick.

Gianni

Hi Uli,

Thanks for your answer but I should have profiled better my question because the original one from customer started specifically with Google Drive integration.

Many, probably all services from Google, are moving to OAuth2 schema for autentication/authorization; it is the same schema used from many others services on the web (Azure, OneDrive, Facebook, Twitter, Dropbox, ...).

OAuth2 in its logic is requiring to have a "redirect URL" defined into App configuration pages on the provider site, Google in our case.

Question: this "redirect URL" can only be implemented with a DSP?

Gianni


  • January 2, 2019

Hi Unifacers,

First of all, best wishes for an happy and healthy 2019!

Just before Christmas I got an interesting question from a customer; I would like to share it to know what Uexperts could say:
current Uniface applications are mainly C/S and in many cases Uniface web application server is NOT installed at all; is it possible to integrate them with services from web (like those from Google: Drive, Calendar, etc) without using ANY DSPs?

Thanks in advance for any hint / answer / trick.

Gianni

Perhaps you can find some hint about oAuth2 in

Uniface Lectures Webinar - Application & Infrastructure Security - JSON Web Tokens


https://de.slideshare.net/Uniface/uniface-lectures-webinar-application-infrastructure-security-json-web-tokens


  • January 2, 2019

Hi Unifacers,

First of all, best wishes for an happy and healthy 2019!

Just before Christmas I got an interesting question from a customer; I would like to share it to know what Uexperts could say:
current Uniface applications are mainly C/S and in many cases Uniface web application server is NOT installed at all; is it possible to integrate them with services from web (like those from Google: Drive, Calendar, etc) without using ANY DSPs?

Thanks in advance for any hint / answer / trick.

Gianni

Some more info on the background can be found at:

https://www.sohamkamani.com/blog/javascript/2018-06-24-oauth-with-node-js/


BTW: it may be possible to implement the "consumer" as  NODE.JS so there is no need to install a uniface webserver


  • January 8, 2019

Hi Unifacers,

First of all, best wishes for an happy and healthy 2019!

Just before Christmas I got an interesting question from a customer; I would like to share it to know what Uexperts could say:
current Uniface applications are mainly C/S and in many cases Uniface web application server is NOT installed at all; is it possible to integrate them with services from web (like those from Google: Drive, Calendar, etc) without using ANY DSPs?

Thanks in advance for any hint / answer / trick.

Gianni

Hi,

I made some samples years ago, for Google Maps, LinkedIn (Oauth) and Facebook (Oauth2)

Unfortunately it was on the old Uniface.info and I don't know where to find it on this new site..

This is what remains on the internet ;-(

http://theunifaceuniverse.blogspot.com/2013/03/i-love-html-widget.html

http://www.sdn.nl/portals/1/magazine/SDN_Magazine_110.pdf

http://theunifaceuniverse.blogspot.com/2011/06/linkedin-and-uniface-95-javascript-api.html




  • Rocketeer
  • January 9, 2019

Hi,

I made some samples years ago, for Google Maps, LinkedIn (Oauth) and Facebook (Oauth2)

Unfortunately it was on the old Uniface.info and I don't know where to find it on this new site..

This is what remains on the internet ;-(

http://theunifaceuniverse.blogspot.com/2013/03/i-love-html-widget.html

http://www.sdn.nl/portals/1/magazine/SDN_Magazine_110.pdf

http://theunifaceuniverse.blogspot.com/2011/06/linkedin-and-uniface-95-javascript-api.html



The Google Maps sample still can be found under Downloads → Uniface Samples:

> see GUI Sample: HTML Widget and Google Maps

The LinkedIn (Oauth) sample I cannot find anywhere. I guess you've only published this on your own blog.

The Facebook (Oauth2) sample, on the other hand, I could find in the blog archives of the old site. This blog is currently not available on the new site. But the blog posts anyway have to be converted again, since we are currently missing (in some cases) the correct layout and attachments.


  • January 21, 2019

Hi Unifacers,

First of all, best wishes for an happy and healthy 2019!

Just before Christmas I got an interesting question from a customer; I would like to share it to know what Uexperts could say:
current Uniface applications are mainly C/S and in many cases Uniface web application server is NOT installed at all; is it possible to integrate them with services from web (like those from Google: Drive, Calendar, etc) without using ANY DSPs?

Thanks in advance for any hint / answer / trick.

Gianni

I found my Facebook OUATH2 sample!

It works from Uniface client/server.

Drop me an email if you want it.

tneeskens@itblockz.nl