Result of binding of the data
Denis Sosnovsky has written many clauses for XML-binding the given interfaces (API) and for generation of a code, and for display of a code. I to you would recommend to esteem his{its} excellent clauses{articles} on Castor and on structures of generation of a code if you want to promote further in this area (see. Resources for links).
As a whole the approach of generation of a code does not possess sufficient flexibility and convenience to be useful in typical Ajax-applications. On the other hand the structures based on display, can serve well enough to you if you can adapt strategy of display for manufacture XML from your objects.
All interfaces of XML-binding possess one main lack of technics{technical equipment} of serialization manually: attachment of model and a kind. Because of restriction by the unique performance XML for each type of object, on a network pass the big excessive volumes of the data. More serious problem is the impossibility of support of a code of the client of the specialized performance when the situation demands it{him}, and, probably, without results passes time in attempt to find universal performance of the circuit of the given objects.
In traditional development of Web-applications of system of patterns of pages are used for clear split of a kind of generation from algorithm of the controller and the data of model. It is a method which can help and at job with Ajax-scripts.

|