Thursday, August 19, 2010

Being lazy

I just read a new concept in a magazine that accessing the database is costly. I didn’t knew! Anyway, It’s true that data access can be penalized if you move too much data to-fro between clients and servers.


The main thing is that you can call the database whenever you think it is necessary. Here, I would like to put some pressure on necessary, call data when you think it is DAMN necessary. (Hey, Have you noticed necessary in the last three lines! ok, keep reading) It’s like, instantiate all the things like , UI, Controls and whatever there, but wait in the matter of the data transfer from THE DataBase. It is important that you call your data form DB only when it is requested by user explicitly, that way, your bandwidth and your client’s bandwidth and your money will be saved. ( I could’ve put your and your client’s BW…. but who cares)


Anyway, this Microsoft thing looks like “Lazy<T>”. ‘T’, here is something, or better, ‘anything’.


you can create it and let it … you know what, read it from :


http://msdn.microsoft.com/en-us/magazine/ff898407.aspx


Source: http://coscientech.blogspot.com/2010/08/being-lazy.html


Digg Google Bookmarks reddit Mixx StumbleUpon Technorati Yahoo! Buzz DesignFloat Delicious BlinkList Furl

0 nhận xét: on "Being lazy"

Post a Comment