by mboegem » Mon Feb 04, 2019 2:37 am
Hi Patrick,
glad you ask what it is used for, below a quick list of stuff I could think of.
Please keep in mind that all of this list is used by applications running smart-client, but also on NG-client for example, most of the functions are still needed.
Maybe the list below is only 5% of the plugin, but it's the most important 5% of stuff that can not be done otherwise.
Also it's not just a list of usecases I made up, but is actually used in active code.
Would be more than happy to see if there's another solution, or explain usecases in more detail.
You do have my contact details for this.
Deprecating the plugin would definitely mean loss of functionality to the user, but also for developers in order to automate deployment.
SERVER
* Get / Set properties file value (default servoy properties as well as custom properties) > Servoy can't do this at all
* Get batchprocessor settings > Servoy can't do this at all
* Get DbConnections > Servoy can't do this at all
* Get Servoy install directory > Servoy can't do this at all
* Access serverfiles / copy serverfiles > Big advantage is the freedom to access any folder on the server, Servoy can't do this unless launching a HC.
CLIENT
* Generate overview all connected users > Servoy can do this, but can only retrieve very limited info
* Send messages to clients > Servoy can't do this, unless you access the admin page using http requests
* Get client details (ip-address, mac-address, memory settings, system user name, etc.) > Servoy can't do this, at least not from the perspective of the server or 1 client retrieving data from other clients;
* Kill clients (cleanup after x hours idle time) > Servoy can't do this
* Get / Set additional info (custom data objects using JSON) > Servoy's addClientInfo is no where near a replacement for this. First of all, that's all readable on the admin page, 2nd: you can not get a value from what has been set
* Execute client side function > Servoy can't do this at all