Page 1 of 1

HOW TO: Create Server-Side Plugins

PostPosted: Thu Dec 20, 2007 7:44 pm
by sbutler
Utilizing our Server Public API: http://www.servoy.com/docs/public-api/index.html you can create client-side and server-side plugins.

Creating a client side plugin is very easy. For people unfamiliar with Eclipse, there is an example at http://forum.servoy.com/viewtopic.php?t=5812 which shows a simple client-side plugin.

In addition, you have the ability to create server-side plugins. With a server-side plugin, a client can initiate a call to the server and have the server perform some processing and then return the result back to the client. Our open-souce mail plugin is another example of a server-side plugin.

I have attached some example code of a very simple server-side Hello World plugin.

PostPosted: Fri Dec 21, 2007 3:28 am
by MSibai
Great job Scott...
This was really helpful for me, and am sure for the others ..

Is there any such example for developer plugins?

PostPosted: Fri Dec 21, 2007 3:46 am
by sbutler
In the public API, there really isn't a lot more you can do with a developer plugin. However if you want to create a developer plugin, it is the same as a client plugin, except you use IDeveloperPlugin and IDeveloperPluginAccess instead of IClientPlugin and IClientPluginAccess.

PostPosted: Fri Dec 21, 2007 3:50 am
by MSibai
I will give it a try ...
Thanks Scott