Dave Burke : Freelance .NET Web Developer specializing in Online Communities

Dataset approach to a Smart Client app

After a lot of deliberation and investigation (and pressure to start cranking out a working Smart Client app), I am trusting my initial hands in this data architecture contest to Custom DataSets passed from a Web Service and stored as serialized files on the client, using IObserver and an ISubject class to coordinate the hand-offs between the Presentation and WebServices Layers.  Much more detail to share here; some business objects will be employed, quick CodeSmith gens can provide empty objects to spare me writing dt.Row[0]["field"] for User.Firstname instead, and I'll be set.  There is also definite room for VS2005 Iterators and Generics in the equation.  More on those as they happen.

Amazing discussion on the Amazing Sahil's blog on DataSets verses Business Objects.  48 comments at last count.  Definitely a Must Read (or for some of us, a Must Re-Read.) 

In short, think IssueVision for the basic approach using DataSet Muscle.  While much has changed since DevDays 2004, still good practices there to investigate and consider.

Comments (2) | Post RSS RSS comment feed

Posted on 6/15/2005 12:50:00 PM by Dave Burke
Categories: .NET
Tags:

Related posts

Comments (2) -

6/15/2005 7:58:16 PM Permalink

Thanks Dave. I don't know about Amazing Sahil, but I think Frans and I had a very good discussion there. Keith Rome put in some good comments too.

Overall, I feel datasets will get you there faster, but business objects will get you there in style. Now if you reinvent the wheel in business objects - you might even do a job worse than datasets, so why not just  go with datasets? Plus in .NET 2.0 datasets aren't as bad as they were in 1.1.

Anyway, like I said, this topic riles up a lot of strong comments Smile, but given your background, I am sure you took the right decision.

Sahil Malik |

6/15/2005 8:04:40 PM Permalink

Like I said, Sahil, I'll definitely be reading through your post again, as well as reviewing your latest "What is a Business Object" post.  I got a lot out of both.  You are GOOD, my friend.

daveburke |


Powered by BlogEngine.NET 2.0.0.36
Theme by Dave Burke