QCubed - A PHP5 rapid development MVC framework.
Home  |  Updates

xml

How do I transform XML into an array (a data object)

I am using a third-party API, so after CURL I get an XML response which has elements that I want to store in a Data Object (e.g. User.Name, User.Title, User.Company).

Is there a built-in way to do this with Qcubed?

And, on the subject, an easier way to execute the CURL?

XForms support for QCodo

Hello,

I have made some new classes for Qcodo to handling with XForms in this framework.

Here can you find the source code of my work.

http://trac.qcu.be/projects/qcubed/ticket/260

If you are interesting in using XForms in Qcodo or generating simple XForms drafts from database, lets look on the ticket.

It is only the first release, but maybe it can be useful.

Plese contact me, if you are interested in it.

Ajax request gives me 2 xml responses

I have a project, which has run fine in development. Now I turned on friendly ajax message. After doing so, I get some weird behavior. In case of error in ajax call, my ajax response has 2 xml responses in a row. The first one is for the friendly ajax message (eg. alert('oops...')), the second one is something which might happen when there was no error - the usual xml with some controls changing etc.