Forums / Developer / creating an XML API to import/export eZpersistentObject data

creating an XML API to import/export eZpersistentObject data

Author Message

Massimiliano Bariola

Tuesday 05 July 2005 7:21:01 am

Hi all,

what would, in your opinion be the best way to go to implement some XML APIs to read/write ezPersistentObjects?

this is what I mean:

a client (not necessarily a browser sends an XML (POST?) request to my eZ site.
the eZ site parses it and returns to the client an XML structure with data taken from the database (actually from my own external database; I have written an extension to hook into it). Remember that the client will most likely not be a browser.

From certain points of view, this seems to me like a variation on the "print the PDF output of this page". but I am rather unsure about the "get and parse the request" part.

Any hints?