Frameworks and the Design Pattern

A design pattern is a way of doing things. It solves the trouble of reinventing the same old wheel and lets us know from the makers themselves as to how fid they do it. THe main thing about using a design pattern is saving of time in deciding a technique to go about designing the architecture of your application.

For example, the factory pattern which has been developed on the OOAD theory says that instead of returning a specific object return a generic object via a factory class which creates the object for you. After your receive the object you can typecast it to your desired object.

A Framework on the otherhand is made for reusablity. When an application goes into the coding phase people write routines to get things done. Now these routines are commonly used in most of the applications viz. fetching data from somewhere, making a remoting call, or parsing an XML file. Such routines when clubbed together and released as a library or an api form a framework. This helps developers worlwide to use the framework and code for the application. Using a framework helps these developers to concentrate more on the business logic enhancement rather than studying how to fetch data from somewhere.

For example, the DWR, DOJO or GWT framework helps AJAX developers from writing the boring routines of handling the remoting concepts in javascript with the use of XMLHttpRequest object and alsogive the facility of dynamic code generation of required remoting routines.

Somwhere on the net I found a short and sweet differentiation

Dessign Pattern is thinking,
Framework is half product.

Advertisements

XP Installation – The 34 minute hiccup

The post has been moved here.

Edit: The author has moved to http://techtracer.com
All further posts will be published at the new location.

Woes Resolved

Bryan Adam had sung “Here I am , THis is me and nowhere else on earth I’d rather be” and today I am feeling to sing it cause I have atlast managed to get my PC running Windows XP Professional Edition after a struggling effort aka endeavour for almost 2 months. I had written about my woes in my earlier post. Luckily while searching for the damned XP installation problem I came accross a post written by a kind hearted soul about how to get over it. I was reluctant enough to try it in the first place since I had already running half-happy with windows 2000 professional edition with SP4 and all my required applications in it. But as my mind was adamant to work in XP I decided that lets beat it!

After the humungous amount of effort I had put in to get my system running in the first place, be it the hundreds of formatting, running over to my friends place with my hard drive , calling the so-called engineers from customer care, to purchasing a new hard drive since the earlier one went down the drain for some meagre amount of bad-sectors(now I know why people hate them !!), I had given up all my hopes and had decided that the umpteeth solution would be to get a brand new motherboard coz some faulty hardware was the root to all wrinkles on my brow which no one in my knowledge had the idea to detect what the damn it was!!!

But this little post came for me as though a fortune cookie had saved my life.Rome was not built in a day and neither was my XP installation!! Who could have imagined that one delete
would make the entire XP installation a success. Phew! It was worth an adventure in itself.

GSM vs CDMA

For operating in these microwave frequencies they all need some access methods. And these methods are:

1. Frequency division multiple access (FDMA)
2.Time division multiple access (TDMA)
3.Code division multiple access (CDMA)

GSM is nothing but a global standard for TDMA. GSM is a widely spread standard and CDMA is a patented technology. That is you must pay a royalty for using CDMA! Also GSM covers the entire Europe , Asia except Korea, Africa and Middle East. So being a GSM user you have virtually an international roaming. You can eazily use a GSM phone in any of these countries while roaming. GSM users are almost 8 times in number than CDMA users worldwide. By being a GSM user you will be part of the largest mibile community. And coming to voice quality GSM is far better than CDMA. CDMA base stations consumes less power than GSM and also covers a large distance. That is the cell size in CDMA is larger compared to GSM.

Sourced from www.mouthshut.com

The Osborne Effect

It sometimes seems like we know only half the truth of what we are looking into the present. The present only shows the publicised version of what we dream because everyone likes to strike a chord of people’s expectation, be it at the cost of one of your competitors. Why I am showering these words is because of the sotry I heard today from one of my collegues. The story of Adam Osborne, a computer pioneer who was the first person to bring out what we call today the “Portable Computer“. But I dont think many people would be aware of this fact since we know only the big players like the Micorsoft’s, the Ibm’s. But what about crediting the one who made it possible to everyone’s realization. Had not Mr. Osborne made a mistake of pre- announcing his inventions beforme succumbing to a major downfall he would have been a pioneer till today. Such stories sometimes do make me realize that think not only twice but ahead of your competitors before making a step forward for a foolproof success. But again, it’s the same philospohy that the big one’s follow. Ain’t it?

 

Read about the Osborne Effect http://en.wikipedia.org/wiki/Adam_Osborne