JAXB for PHP (PAXB?)

Is there an infrastructure like JAXB for PHP ?

I need a structure that, like JAXB, creates an XML file from an object. This structure needs to know how to map an object to XML, respecting its structure when necessary (child objects, lists, etc.).

In addition, it must perform reverse engineering, which means converting the (valid) XML file to the source object.

In other words, the structure must be able to marshal the object and cancel the XML file .

I know how big JAXB is, and it is very bad that I can’t use Java in this project that I am currently working on.

+5
source share
2 answers

I think you are looking for an XML serializer / deserializer of XML XML objects. It may help: PHP object as an XML document

+1
source

JSMX - ultralight - language agnostic - Ajax Framework. This is the easiest way to integrate Ajax into any web application. What sets JSMX apart from most other Ajax Frameworks is that the JSMX API works fully on the client and has no server-side components to install. Given this fact, plus the fact that you can pass back JavaScript, XML, JSON, or WDDX, makes JSMX a truly universal Ajax API. link text

0

All Articles