| ||||
|
Home Single Page Web Sites RAD Applications Message Board Index.asp code |
Introduction It is a commonly accepted practice to begin every web site with index.htm or default.htm. Why? Because that the way it was always done. Heck, I used to do it too. But then the client would the decide that a counter or something else was needed. Arrgh! Anyway to make a long story short, I eventually decided to begin my sites with index.asp or default.asp. That way no matter what the client wanted to add or change, I had the flexibility to incorporate the change without major changes to the site. And since the starting page was an ASP page, I also soon discovered that I now had the ability to program a web site. This example site illustrates the power of programming a web site as opposed to the traditional building of a site. As you go through this site note that the page doesn't change, only the query strings. Three techniques are illustrated here to demonstrate the power, flexibility, and scalability of programming a site. Incorporated herein are two previous articles "Single Page Web Sites" and "Rapid Application Development", along with a simple show/hide method to pack a lot on a single page. What I have here just scratches the surface. I gave three different looks to show that you can have multiple web "sites" on a single page. I also used a query string to change the background color of a table cell on index.asp to illustrate that you can format the structure and properties of the layout table itself. When you break out of the traditional mold and start programming web sites, a whole new world of possibilities opens up. Have fun and let your only limit be your own imagination! Down load the zip and install this example site on your development machine. Then you'll have a ready reference when needed. You know, the times when you think "Now how did he do that?". Less ... Scaling single page sites
Using query strings to "compress/decompress" a page
Using query strings to
simulate a "normal" web site Using query strings and form
values to run a application on a single page site
Recommended Reference:
| |||