Design consideration

philprice

Centurion
Joined
Mar 21, 2003
Messages
116
Location
Hull, UK
Right,

I'm programming a distibuted application for PocketPC in .NET, i have to have two web services on two different servers (its part of the compo spec). I want to remove all the processing from the PocketPC device for obvious reasons.

What i want to do is populate a treeview with date, would it be better to return a set of TreeNodes across the network in a collection and add them to the TreeView.

Or

Return the data structure class across and let the pocketPC add them?

Or would it not make much difference?

Thanks in advance
 
It's not going to make any difference unless the data has the possibility of being displayed in an alternative fashion in the future, or in another application accessing the web service. For the sake of ease of upgradeability in the future, I'd advise you to return a broader data structure, instead of TreeView nodes.
 
Back
Top