May 18, 2012

Use OPTION EXPLICIT. Period.

Use OPTION EXPLICIT

That just can’t be stressed enough. Use it for your own benefit. It seems like it is a pain to have to declare or DIM all of your variables, there is NOTHING worse than getting several hundred lines into a page with variables that you have setup as globals and then some that are inside [...]

Using Classic ASP Scripting

HTML Code Layout - Indent it!

Why use ASP scripting? Scripting languages provide a method to add functionality and interactivity to your web pages.Simple HTML pages can be given added functionality with the addition of small chunks of code. ASP, ASP.NET and PHP are the primary scripting languages. ASP is a server-side technology as opposed to Javascript or ECMAScript which are [...]

Test your HTML code while you are developing it

It is very painful to develope a KILLER HTML layout only to discover that it doesn’t work well at all in browser X. Do yourself a favor and test it as you go. After you’ve finished creating a new phase in your layout, test it in several other browsers. Older Netscape versions tend to do [...]

Avoid complex HTML table layouts

HTML Code Layout - Indent it!

Tables were the first way of really controlling layouts and are still a preferred method for many webmasters (me included). CSS has made great strides towards controlling positioning elements, but older browsers don’t handle many of the elements very well. Heck. Some of the NEWER browsers don’t handle some of the elements very well. But [...]

Indent your HTML Code and close your HTML tags

HTML Code Layout - Indent it!

Regardless of what speed optimization experts tell you! Speed optimization is a great thing, but by leaving out closing tags on the TABLE elements and NOT indenting, you are making the readability of the code diminish. Most of us realistically are NOT getting thousands of hits per day where speed optimization like this is really [...]