Async Rundown

So, I learned a lot of things the hard way in the past couple of weeks. As usual the hardest part was the things I needed to unlearn, or had formed an opinion about that was simply wrong. In my case I had continually thought that I could easily produce objects mapped to my database in an Asynchronous or partially Asynchronous world. And it turns out that relationships will break it all the time. The thing that got in the way of my learning here was that we have a way around it in the code at work.

Having not been involved in that part of the code, I at first thought nothing of it. Now I realize that they invested a ton of effort into developing a framework that will load the entities on the server side based on a flag passed in. I was working primarily on the server side in the past so while I saw this flag it never appeared to do anything. This was because on the server side lazy loading works, so the relationships are populated regardless.

I may scrap everything and start yet again, this time with a new framework of my own.

Slightly off topic, and yet slightly on topic. I was thinking lately about upgrading my phone. But my plan doesn't permit me to get the new phone rates for about another 6 months. At first I was a little peeved by this, but when I checked the Telus web site today they were already advertising 2 upcoming Windows Phone 7 devices. So, the correct solution may be to buy a cheap android phone outright and then use the new phone rates 6 months down the road to get a WP7 device. I downloaded the Development kit for it today, and sure enough it is Silverlight-esque, so I was able to toy with a few templates and bend them to my will. I only did some very minor things, but still exciting.

Comments

Popular Posts