Daniel Francois - 2012-09-13 15:01:53
Hello sir,
I've read your article and had a quick look at the source code, I'm sorry I couldn't inspect it more carefully.
I think your xml descripting method can be interesting for someone who doesnt want to learn about xml and xsds, and lacks an interesting feature which would be to convert this array to a xsd file, and also be able to parse a xsd file to generate your array format.
I think this because with the few years of coding in php in a business environment, I've been dealing many times with xml, but 100% for developping SOAP services.
If I wanted to use your class, for example to develop a soap server, in any case, I would have to create the array descripting the structure of the request's data I expect and then transcript it manually to a wsdl compliant format, xsd, which would be twice the pain ;)
This is an important facet of the use of xml format in php apps theses days.
That's also why I think your format description lacks a bit of interest because I still would have to learn another standard xml description language.
I hope you got my point.