Data Processor Question

I’m evaluating the scheduler for a project and to exist within an existing software structure. I looked at the java connector and it wasn’t really straight forward how to integrate into existing projects, so we have written a basic java connector to suit our needs.

We were able to generate a json list of events which could be displayed and it works well.

I’m just looking at the insert, update, delete functionality and noticed that in all the examples the data processor gets an xml response back from the server side connector.

Does this have to be xml or can the processor cope with json and if so what should the json response be.

Z.

Hello,
currently dataprocessor works only with XML. However, format of the response is pretty simple. Please check the ‘Response’ paragraph of this article
docs.dhtmlx.com/doku.php?id=dhtm … gprinciple

Also, the server side integration is not limited to connector.
Component provides a set of events for all actions ( adding, deleting, changing ) and you can assign a custom code to such event, that will make necessary ajax calls to work with your server side API

Aliaksandr,
Thanks for the link. I’ve see that and I just wanted to make sure there was no JSON option. There is no issue there.

Stanislav,

We looked at the connector API and also some of the code around the JavaPlanner. I’d be happy to use existing elements as an interface between the client side JS and our legacy infrastructure but the docs aren’t very clear. Do you guys have a tutorial or white paper I could look at?

Z.

Unfortunately there is no java-specific tutorial for the scheduler.
The idea is that scheduler can call custom servlet each time when event changed|created|updated. In such case you can use any kind of logic on server side to work with client side scheduler.