Alexis Smirnov
Thinking about software




Monday, May 05, 2003
 

Clemens and Roy are having a conversation about when it is appropriate to to expose DataSets out to other layers of your system. As Clemens puts it, “Ideally, you don't expose the DataSet and hide that fact that you use it.”

 

Let’s see if I understand…

To put it more generally, you don’t want to leak the programming model from one layer to the next. The absolute lowest common denominator between layers is of course InfoSet (XML InfoSet, really) and that’s what you want your layers to exchange. But looking at the issue from a practical standpoint, I wonder if it is such a big sin to extend InfoSet with metadata understandable only to a particular programming model. By doing so, you make it easier to cross layers that share the programming model. For example, what’s wrong with making an interface return InfoSet that is enriched with some special metadata understandable by, say, DataSet?


    


Subscribe to "Alexis Smirnov" in Radio UserLand. Click to see the XML version of this web page. Click here to send an email to the editor of this weblog.
Site Statistics
© Copyright 2003 Alexis Smirnov.


Last update: 6/4/2003; 9:59:37 AM.

May 2003
Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Apr   Jun

Aug 2002