Geek Noise
Rants, rambles, news and notes by Peter Provost
24

Random Software Architecture Thought

Monday, 24 February 2003 12:26 by Peter Provost

I found this posted at News from the Forest:

I've decided (and this is not an original thought) that I want what I call a DataSet Tier. This tier will be constructed of all my domain objects. Depending on the method called it will load up Domain Objects and create a DataSet for them. The tier will accept DataRows containing updated data. Or it will simple accept primary keys. Then I load the object and do whatever is needed.

Then everyone is happy. Web Tier gets to work with their DataSets. I get to work with my objects.

This is an interesting idea, but I don't understand why he's doing it. The Web Tier works quite happily with "regular objects" and collections, so why do this? I like to use the Typed Collection Generator to produce collections of my objects and I regularly use them with the Web Tier. Since the DataBinder object uses reflection to work, you don't have to use DataSets.

Just my 2 cents. (Why did they take the cents symbol off the keyboard?)

 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:   Technology
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed