
Today,
Frank and I released the first version of
XJConf For PHP. This is a port of the original
XJConf I developed for Java. XJConf allows you to map complex XML documents to data structures by defining the mapping rules in a simple XML-based language. You may define the type for each tag (objects, arrays, primitives) as well as how its attributes, child elements and enclosed character data should be treated. When creating objects, you may also define the setter methods to nest the objects. There are plenty of examples available in the
documentation of the original java version. Most of the
examples have been ported to PHP as well by Frank, who did most of the work in this project.
If you want to give XJConf For PHP a try, you can get it via our
PEAR channel or from SVN at
http://svn.xjconf.net/XJConfForPHP/.
The fantastic XJConf logo has been developed and designed by
Georg Rothweiler.