Currently we update our grids by hand and am not using the connector or the data processor. The reason is that we are using a custom server that we wrote, we are not running PHP or .NET or JAVA or any of the other basic platforms that there are connectors and processors for. I have not even looked at the code for either piece so my question might be a simple one or it might be a complex one.
So someone that knows, very well, how the connector and processor work together, will be able to tell me if it will be possible for me to write my own server data processor and use the connector part without modification? Or am I going to have to write a custom connector part as well? Our server is written in Delphi and we can not run any scripting language like PHP, so I will be creating the remote function calls in Delphi. Am I going to be able to make this happen or is the current structure too tied to PHP?
Where can I find some detailed information on the inner workings of the connector and the data processor?
Thanks,
Jim
You can use dataprocessor on client side as is, because it has not any platform specific code.
As for connector - it is just a set of protocols ( format of incoming command, server side operations and valid response )
connector.zip (1.21 MB)
Thanks for the information. I think I will have to modify the dataprocessor becuase it’s calls to the server are all PHP calls. I need to modify the calls to fit my servers protocol. So, instead of calling “get.php” from the server, I will need to call “soa” with a JSON param that includes all the params for the call, including the “Action=get”. This is how we currently do all calls to the server. We have a single command processor that hands off the request to the appropriate class depending on the Action verb. So I would need to modify the data processor to fit into my scenario.
The PDF for the connector was great. I was not able to run across that when I was looking. Is there a PDF like this for the data processor?
Thanks,
Jim
There is no such docs, but if you need to change only data sending protocol - the things are not so complex. Dataprocessor has “serialize” method - which receives the list of updated data and must return the url for the server call - you can redefine it in any necessary way