Free Module: svyDataBroadcaster

Share business templates, ideas, experiences, etc with fellow Servoy developers here

Free Module: svyDataBroadcaster

Postby sean » Fri Oct 07, 2016 3:18 pm

Hey all, I created a module svyDataBroadcaster

for exposing a Servoy App Server to be notified (via REST endpoints) when DB has been changed outside a servoy client session
This gets around the stale cache problem which is experienced when sharing DB w/ 3rd-party and legacy apps

Also contains a scope for a Servoy REST client for testing purposes or calling from other Servoy App Servers

Source code, binaries and wiki docs available at GitHub
Software Engineer
Servoy USA
sean
 
Posts: 88
Joined: Mon May 21, 2007 6:26 pm
Location: USA

Re: Free Module: svyDataBroadcaster

Postby LXS » Thu Oct 13, 2016 10:41 am

Hi Sean,

cool, thank you for this great module!
I'm still on Servoy 7.4.8. When i'm checkout the solution i get an error that "Solution "svyDataBroadcaster" has a higher version of Servoy."
Is it a easy way to make it compatible to Servoy 7?
Or do i have to copy the code and make a new module in Servoy 7?

Thanks!
Alex
Alexander Stefan
Dr. Maison & Partner GmbH
www.servoy-plugins.de
www.maison-partner.de
LXS
 
Posts: 101
Joined: Thu Mar 01, 2007 12:00 am

Re: Free Module: svyDataBroadcaster

Postby sean » Thu Oct 13, 2016 4:39 pm

Hi Alex,

Thanks for your interest in the module.

In a short-term hack, you can edit the rootmetadata.obj file for the module and change the value for "fileVersion", lowering it to "43" I believe (see below).
Then the IDE will not complain.

I will re-build it from 7.4.x latest to ensure compatibility (there is really no dependency on anything from 8.x) so it will just, effectively, change that one setting

Also, please share how do you plan to use the module !

Code: Select all
fileVersion:48,
mustAuthenticate:false,
name:"svySearch",
solutionType:1,
typeid:43,
uuid:"1FD48C53-F82A-4F77-8F90-046EEDED96B1"
Software Engineer
Servoy USA
sean
 
Posts: 88
Joined: Mon May 21, 2007 6:26 pm
Location: USA

Re: Free Module: svyDataBroadcaster

Postby LXS » Thu Oct 13, 2016 5:07 pm

Thank you Sean for the quick fix! Changing the fileVersion to 43 solves the problem!

We have an iPhone/Android app with extra application server for our CRM Solution.
When the user edits some database data over the app, the Servoy Server will not be notified.
With your module it is now possible to inform the clients that data has changed :-)
Alexander Stefan
Dr. Maison & Partner GmbH
www.servoy-plugins.de
www.maison-partner.de
LXS
 
Posts: 101
Joined: Thu Mar 01, 2007 12:00 am


Return to Sharing Central

Who is online

Users browsing this forum: No registered users and 1 guest