Thursday, April 8, 2010

WPF requires Data Structure

I’ve been working recently with some legacy architecture which is heavy xml based. There are several remotely distributed servers. Whole business model is exchanged in means of xml streams. No data structures. Now Go and visualize it in WPF UI. Nothing to bind to.

What I end up doing over and over again is creating Data Structures internally from xml streams(AltovaXML helps). This way UI can bind to something.

WPF loves Data Structure.

My selfish preferences: Create Classes for Data. Rely on them. Pass them in interfaces. Please no text/xml streams.


Post a Comment