Archives

Archives / 2005 / June
  • Does anyone really know what they are missing until they try it?

    A few of my friends were recently talking about their favorite fruits when another friend walked up and said he avoided all fruits.  His rationale was that fruits were bad for you, and don't taste good anyhow, so we would all do well to stop eating these fruits.  Of course we told him he was very wrong and that fruits are not only very tasty, but also very healthy and part of a balanced diet.  It turns out that this fellow had a bad experience once a very long time ago with some fruit that caused him to get a little sick.  Now he is convinced, without a doubt, that all fruit must therefore be very bad for you, not to mention that all fruits taste bad.  I thought it would be easy to point out all the scientific evidence that claims to prove fruit is actually very healthy for you, but his personal "proof" was that he was very healthy without fruit, so even if it wasn't unhealthy it also wasn't of any value.

    Now if you knew this fellow you would get a good laugh since he's extremely overweight and out of shape from eating lots of junk, but so far he hasn't had to go to the doctor or hospital with any major problems -- but we know its probably just matter of time.  So we next tried to encourage him to just try some fruits for himself, since this would prove quite well how tasty they really are, and then given time he would also come to realize that they were quite good for him too -- but he's convinced he knows far better.  Its easy to just leave him be, but we also really believe this fellow is in very bad shape, even if he doesn't realize it himself -- so what should we do?  We can't make him try some fruit, but I suppose we can continue to give him evidence fruit is healthy, and wouldn't we be very poor friends if we let him continue in his unhealthy ways, especially since he has a family to care for.

    P.S.  The subject of this story was changed to protect the innocent -- the real story was about o/R Mappers and business objects.

  • Craig Shoemaker's Polymorphic Podcast

    Check out Craig Shoemaker's Polymorphic Podcast.  He's had a lot of really good shows, including several about O/R Mapping.  Yours truly is featured on his most recent one -- and while I sound better this time, I'm also facing reality that I just sound terrible no matter what.  That's hard to accept since I used to do a lot of singing, but I guess speaking somehow isn't the same.  :)

  • The Data Mapping Application Block

    Lenny Fenster has released a preview version of the Data Mapping Application Block.  It uses the Enterprise Library, although a modified Data Access Application Block.  My understanding is that this will be rolled into the Enterprise Library sometime.  I'd heard rumors of this being worked on for quite some time, so it was no surprise.  I suppose you could think of it as the Enterprise Library's O/R Mapper -- kind of.

    What do I mean by "kind of"?  There are no objects here, unless you like typed datasets, and you're required to use stored procs, which is great if it were just an option.  But if you like to use your own objects and/or want to avoid the bloat of datasets and/or enjoy the flexibility and maintainability of runtime generated dynamic sql, then you won't find what you're looking for in the Data Mapping Application Block.

    Of couse, if you follow all of Microsoft's "guidance", and are already using the Enterprise Library, then this is probably exactly what you have been dreaming about.