HOW TO: Create Server-Side Plugins

Find out how to get things done with Servoy. Post how YOU get things done with Servoy

HOW TO: Create Server-Side Plugins

Postby sbutler » Thu Dec 20, 2007 7:44 pm

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.
Attachments
ServerPluginExample.zip
(6.58 KiB) Downloaded 365 times
Scott Butler
iTech Professionals, Inc.
SAN Partner

Servoy Consulting & Development
Servoy University- Training Videos
Servoy Components- Plugins, Beans, and Web Components
Servoy Guy- Tips & Resources
ServoyForge- Open Source Components
User avatar
sbutler
Servoy Expert
 
Posts: 759
Joined: Sun Jan 08, 2006 7:15 am
Location: Cincinnati, OH

Postby MSibai » Fri Dec 21, 2007 3:28 am

Great job Scott...
This was really helpful for me, and am sure for the others ..

Is there any such example for developer plugins?
Mohamad Sibai
http://www.Nothom.Com
User avatar
MSibai
 
Posts: 145
Joined: Tue Dec 05, 2006 7:17 am
Location: Saudi Arabia

Postby sbutler » Fri Dec 21, 2007 3:46 am

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.
Scott Butler
iTech Professionals, Inc.
SAN Partner

Servoy Consulting & Development
Servoy University- Training Videos
Servoy Components- Plugins, Beans, and Web Components
Servoy Guy- Tips & Resources
ServoyForge- Open Source Components
User avatar
sbutler
Servoy Expert
 
Posts: 759
Joined: Sun Jan 08, 2006 7:15 am
Location: Cincinnati, OH

Postby MSibai » Fri Dec 21, 2007 3:50 am

I will give it a try ...
Thanks Scott
Mohamad Sibai
http://www.Nothom.Com
User avatar
MSibai
 
Posts: 145
Joined: Tue Dec 05, 2006 7:17 am
Location: Saudi Arabia


Return to How To

Who is online

Users browsing this forum: No registered users and 4 guests