Open Access. Powered by Scholars. Published by Universities.®

Physical Sciences and Mathematics Commons

Open Access. Powered by Scholars. Published by Universities.®

Computer Sciences

Konstantin Läufer

2012

Data binding

Articles 1 - 1 of 1

Full-Text Articles in Physical Sciences and Mathematics

Taming Xml: Objects First, Then Markup, Matt Bone, Peter Nabicht, Konstantin Läufer, George K. Thiruvathukal Jan 2012

Taming Xml: Objects First, Then Markup, Matt Bone, Peter Nabicht, Konstantin Läufer, George K. Thiruvathukal

Konstantin Läufer

Processing markup in object-oriented languages often requires the programmer to focus on the objects generating the markup rather than the more pertinent domain objects. The BetterXML framework aims to improve this situation by allowing the programmer to develop a domain-specific object model as usual and later bind this model to preexisting or newly generated markup. To this end, the framework provides two types of object trees, XElement and NaturalXML, for representing XML documents. XElement goes beyond DOM-like automatic parsing of XML by supporting the custom mapping of elements to domain objects; NaturalXML allows the mapping of existing domain objects to …