XML-Driven Flex UI
Wednesday, May 25th, 2005I saw a recent post from Ted over at PowerSDK about dynamically generating a Flex UI from an XML document. This has actually been a moderately requested capability from some customers. For the most part, customers request the functionality because they make heavy usage of server-side business logic. This breaches the debate about how much logic should go into a Flex application on the client, and what the nature of that logic should be, which is a topic I’ll gracefully skirt for now.
One of my customers who made this request back in the Flex 1.0 days (like it was such a long time ago) already had an XML DTD they used for their applications. The business tier would generate the XML and the client would parse and build the UI as appropriate to the display mechanism. In this fashion, they could generically describe their application user interfaces that might ultimately end up running on anything from the browser to a WAP-enabled device.
It was a natural next step to have Flex perform the same processing.
(more…)