Thursday, 12 April 2012

Validation - Client or Server Side

Whenever data is transferred from a client to the server, it is extremely important to validate the data so as to ensure the secure and successful completion of the process. The question lies with whether the validation has to be done in the server alone or in both server and client side. Which one will be the better and efficient choice. Obviously validation in the client side alone is not at all an option because it can be easily bypassed.

Wednesday, 11 April 2012

Basics of Photography - Histogram

Digital cameras from simple point-and-shoot cameras to professional DSLRs comes with an option to display histogram on the LCD screen. Ever wondered what this graph indicates and how can it be useful in photography? If your answer is yes then go on. You can get your photography skills improved.

Tuesday, 10 April 2012

Common HTTP Status Codes

When a browser sends a request to a server, the server responds with a corresponding HTTP Status Code. This status code can be used to identify the status of the request. You might have seen error messages like 403 forbidden which means you don't have the required authority to view the page or 404 page not found error. A list of commonly seen HTTP status codes and their meaning are listed here.

Saturday, 7 April 2012

MySQL tips for Better Performance

MySQL is one of the most popular database management system preferred by web developers around the world. The ease with which queries can be written and the seamless integration with various web scripting languages is the primary reason for this popularity. Most of the web programmers would have a hands on experience with MySQL. Complex database operations can be written quite efficiently with this open source database management system. This is true for low traffic web applications. But what happens when the traffic goes up? Will your applications perform well at high demands?

Friday, 6 April 2012

Password Strength Indication Using JavaScript

It is a good practice to indicate the strength of the passwords that the users of your website choose so that they can make a secure choice. You can make a password strength indication for your website using JavaScript. A simple JavaScript function to accomplish this is discussed below. It gives a visual indication of the strength using a progress bar and also a textual description.

Progress Bar Using JavaScript

A simple progress bar can be created using JavaScript and HTML which shows graphically the percentage of work completed along with numeric indication. A user defined JavaScript function prog_bar is used here.

On - Screen Number Pad Using JavaScript

It would be quite interesting if you provide an option to enter numbers using an on-screen number pad in your website. Since most of the new mobile devices doesn't  come with a separate number pad, it is difficult to enter numbers fast. So providing an on-screen number pad would be a good alternative.
Here I have described a simple on-screen number pad developed using CSS, HTML and JavaScript.

Monday, 31 October 2011

Count Number Of Characters in a Textarea Using JavaScript

Ever wanted to create a cool textarea or a text box that counts the number of characters in it just as in Twitter or some other sites. It is much easier to built one for your own site than you might have expected. With a simple javascript function, you can count the number of characters as you type and display it.
If you have a basic understanding in HTML and JavaScript, you could make one in a couple of minutes.
Here is a simple version of the complete code along with the required HTML tags.

Tuesday, 26 July 2011

Time Travel - A Simple Paradox

A highly complex machine.. fitted with seemingly ultra modern gadgets.. get into it, set a desired date and time and press a large green button.. BHOOM.. you time travelled to wherever you like.. past, present or future.. simple..!
This is what science fiction movies has shown us for long.

Tuesday, 19 July 2011

Official Google Blog: g.co, the official URL shortcut for Google website...

Official Google Blog: g.co, the official URL shortcut for Google website...: "In the world of URLs, bigger is not always better. In 2009, we helped shrink up long, unwieldy URLs by launching our public URL shortener, ..."

Saturday, 16 July 2011

Vedic Mathematics - Squares

Mathematics can be fun for those who like it and nasty for those who hate it. In any case, a good knowledge in mathematics is always an added advantage.
Vedic Mathematics provides methods for making calculations easier. It provides techniques for mental calculations. I have already described the techniques for Easy Multiplication in an earlier post.
To read it, please click the following link : Easy Multiplication
Here, an easy method to find the square of any two digit number mentally is described.

Friday, 15 July 2011

Google Maps with a Humour Sense

Google along with its serious work finds time for some humour.
Maps from Google provide accurate turn by turn driving directions to your destination. What happens when you request directions for an inter continental travel. Well you can't drive across oceans. Then how will Google respond.?

Tuesday, 12 July 2011

Care your Laptops for an Extended Life

Caring your Laptop is not a difficult task but this complex machine requires some serious attention.
Nowadays from students to businessman, most of them own a laptop. Most of them buy one without knowing the fact that they are investing a huge amount on something that is meant to last only for 3 to 4 years. Yes, it is true that most laptops are expected to work smoothly for only about 3 to 4 years. After that there are increased chances of some parts failing which amounts to a costly replacement. If unfortunate enough, you may have the entire machine dead.

Saturday, 9 July 2011

Light Emitting Diode - Future source of Lighting

Light Emitting Diode abbreviated as LED is a break through in the category of light sources which is set to be the hero of future lighting. This semiconductor device can produce high luminous output with a low power consumption and hence can be termed as a Eco-friendly device.

Tuesday, 5 July 2011

Vedic Mathematics - Easy Multiplication

Mathematics as always is a challenging yet interesting subject. Moreover quick and accurate calculations is the key to success in most competitive exams. Multiplication is one of the most common operation and when done using conventional method is a time consuming process. Mental multiplication is an impossible task for ordinary heads when dealing with large numbers. With a few secrets from Vedic mathematics all these statements can be rewritten. Mental multiplication will no longer be a challenge with the techniques discussed below.