01 Jul 2006

Create Unlimited Subdomains with HTTP Modules

1 Comment ASP.NET

Brendan Tompkins has explained how to create unlimited sub domains through HTTP modules.

URL: Create Unlimited Subdomains with HTTP Modules

01 Jul 2006

Building 3-tiered application with ASP.NET 2.0

No Comments ASP.NET

I have found series of some great “step by step” tutorials on different aspects of developing 3-tier application using ASP.NET 2.0.

URL: Working with Data in ASP.NET 2.0

Must visit for all beginner developers!

01 Jul 2006

Have frequent micro-breaks at work!

No Comments RSI, Utilities

One of the major contributors of repetitive stress injuries in developers is having limited micro-break while programming. No, I am not talking about those long one hour break you take at work, but its while break for smaller duration (usually 5 minutes.) after say every 30 minutes of work. These frequent micro-breaks in your working habit gives proper time to heal from wear and tear because of contraction occurred through using keyboard and mouse. These breaks are very important to give adequate relaxation to muscles that involved in computing. There is no hard and fast rule for length of break one should take, as it varies depending from person to person. Usually 5 minutes break is enough for every 30 minutes but this figure can vary depending upon the nature of work he involved in. You can decrease or increase the micro-break duration based on your conformability and work load. But the bottom-line is that you should take proper and regular breaks at work.

Well, deciding on taking regular and consistent break and being firm of that are two different things; and I know it’s very difficult to stick on that and you do want someone who will remind you regularly to take these breaks. And this is where those break reminder utilities comes handy.

You can find lot of utilities readily available in internet (just google break reminder download) but I will recommend Workrave. Its free and its open source application.

Workrave is a program that assists in the recovery and prevention of Repetitive Strain Injury (RSI). The program frequently alerts you to take micro-pauses, rest breaks and restricts you to your daily limit. Its available for both OS, Windows and Linux.

Micro-pause

WorkRave URL: http://www.workrave.org
Download URL: workrave-win32-1.8.3-installer.exe

Still not convinced of having regular breaks? Here is the great single page leaflet from WorkRave with explanation of why one needs regular micro-break while working.

Leaflet

Thanks Rob Caelers for creating this nice utility.

17 Jun 2006

Why product testing is important?

1 Comment Fun & Humorous, Programming

Here is another good reason of why product testing is always important. :)

Why product testing is important

Why product testing is important

Why product testing is important

Why product testing is important

Look like someone did last minute adjustment before delivery.

17 Jun 2006

Favlets – Must have tools for ASP.NET developers

No Comments ASP.NET, Web Development

Favlets are actually a small JavaScript code prefixed with “javascript:” which are store as URL in hyper link. Interesting thing about Favlets is that you can directly run this script from address bar of your browser and so you can save this script as URL and store it in your Favorites folder, and that’s why these Javascript code is called Favlets.

The beauty of Favlets is that it can access any part of page currently open in your browser. To elaborate that, it means that now you can get any element of existing open page in some variable and then you can use that variable to display its property or to modify its property.

How to install Favlets?
Well, it’s a simple as book marking this page to your favorites. Simply drag any Favlets link in your Link or Favorites folder. Now open any web page in browser and click the Favlets.

Here is the small tutorial on installing Favlets in your browser:
How to use favlets
Bookmarklets – Browser Power
About Bookmarklets

Here is the list of Favlets from my web development tool box:
Source: Slime
View Tables – Creates a thin blue border around every <table> element on the page, and a thin green one around table cells. Useful for figuring out old table layouts.

View Divs – Creates a thin red border around every <div> element on the page. Often useful to see how the browser is handling CSS.

Execute JavaScript Code – The ultimate favelet. Allows you to execute any JavaScript code that you want to.

Display Properties of Object – Displays all of the properties of a given object (for example, document.body, window.navigator, or document.getElementById(‘myelem’)). If there are too many properties to display on separate lines, they are displayed on a single line and separated with “|||.” Exact result is browser-dependant. Useful for debugging scripts.

Source: Favlets
Elements Inspector – Shows the properties of any HTML element on
mouseover. “ESC” key turns the favlet off.

Source: W3C
Validate This Page – This is the basic “Validate This Page” Favelet. It simply submits the URL for the currently viewed page to the Validator for processing. Results appear in the same window.

Source: Squarefree
Read Cookie for Site – Shows cookies stored by the page you’re viewing.

Some Other Links:
About Bookmarklets
Page Data bookmarklets
Blog Remote Posting Bookmarklet
Bookmarklets
Developer Bookmarklets
Bookmarklets
Bookmarklets and other useful things for IE’s Links bar