Exclusively for you!! Trial version of Google Apps, Apply Coupon-CNHPGX6T6QRWGV!!
What is an API and What good is it?
Jan04

What is an API and What good is it?

Welcome to CodeSpread! Did you anytime hear these questions? What is an API? Why it is required? How to make it? People have googled, few were satisfied and others came out perplexed. So why not we also try! We searched for the same on Google again and enlisted some definitions from top 10 results available across the web. We will also add our own spices to explore more. Wikipedia says “An application programming interface (API) specifies how some software components should interact with each other.” Howstuffworks.com says “An application-programming interface (API) is a set of programming instructions and standards for accessing a Web-based software application.” One answer from stackoverflow.com, “An application programming interface (API) is a particular set of rules (‘code’) and specifications that software programs can follow to communicate with each other. It serves as an interface between different software programs and facilitates their interaction, similar to the way the user interface facilitates interaction between humans and computers.” Let’s see one real-world example so that a layman can easily understand the concept of API.   Think of two conditions, one when there is no remote control available to change the settings of TV and other is when the remote control is available. Obviously remote control condition is much favored as only few clicks are required for any setting change. Here, remote control acts as an API where the settings of TV can be changed without directly interacting with TV knobs. While sitting on a sofa few feet away from TV, you can control your TV. Life is easy!! Few lines for our tech persons also.   We have two applications having their own independent implementations. Now if they need to access information from each other or one way flow then they need to expose their logic but hide the implementations, so for that, they need to create API for their application. An API is nothing but an interface which has only definitions but no implementation logic exposed. Each programming language has their own syntax to do it but the idea remains the same. What good is API? Answer is simple use. Also, one question, did we talk anywhere about creating a proxy? J Where we are using API? Yo may recall, we are using Google analytics to know the daily visits, facebook API to know the number of likes, twitter API to know the tweets, and so on. Any more...

Read More
Interview : a question mark?
Oct28

Interview : a question mark?

I like going for interviews for two simple reasons: I found that this is the simplest way to remain updated with the latest knowledge. If we look at the IT trend, daily new software are getting launched and technologies are getting updated.It is a bit difficult to predict which technology is going to be considered as the next hot skill. Although blogs,tech news, forum discussions keeps us updated about new arrivals and their positives and negatives but an interview can only indicate what is the latest skill, companies or organizations are expecting from the candidate. It definitely tells us where we stand. I can recall few questions which simply put a question mark on my knowledge. They are basic questions but got neglected during the preparation. These questions were asked during .Net,c# interview. Write 15 control names which you have used in your project. I was able to recall some 12-13 control although i have used many more controls. HTML generated for controls like Timer, dropdownlist etc. Message codes like 404,301,200. Abstract class can be written same as Interface with all methods as abstract then what is the difference. If given a choice, which project you will create ‘website’ or ‘webapplication’ and why? Why we are still worried about memory consumption, when garbage collection is there? Write few examples from your project where you have applied OOP? These questions are not difficult but requires some basic attention during the development. What...

Read More