For the record I am not a coding guru, like Scott Mitchell or Stephen Walther, or Jeffery Zeldman or any of those other guys. I am however a hands on master. I can get the job done "NOW"
I work everyday in an industry that is heavily saturated and still come out ahead every time. Because I deliver the goods one way or the other.
I've been guilty of writing spaghetti code, using too many session variables and not enough stored procedures.
Skillwise, I'm capable enough to read some documentation and get out of it what i need. CSS,ASP and server-side vbscript are my primary specialties, outside of that I am pretty good with a handful of graphics apps and development tools(Mostly MX)
I understand the bare minimum of javascript and use it only as a client-side form validation tool. I have no intention of writing any of this ASP.NET in any language outside of VB, so all you C# users out there, either need to get good at changing from VB to C# (which is generally , not too complicated) or read a different article.
I do not intend to rewrite this article over and over, so you'll see as I learn from my mistakes in real-time. If one method becomes more efficient that another you won't see me changing it on all previous sections of the article. This is an evolution of someone who knows very little about ASP.NET, but has a strong understanding of Classic ASP. If this sounds like you, you'll appreciate this article. If not, you'll think it's a waste of time.This site currently consists of a very simple file structure and few databases which is why I think it is a perfect project for learning ASP.NET step by step while attempting to achieve all the same results.
Currently almost every page is called from the default.asp page which looks like this:
The open page consists of all the meta info, calling the style sheet and top half of the graphical layout.
The open page also has an include statement for the leftBAR.asp which constitutes all the navigation at the left hand side of the page.
The xml.asp page is really the heart of organizing this website. Using the XMLHTTP Object I develop page upon page without the need of going through a lot of trouble to add it to the site.
Here is the xml.asp code - -it may come in handy for you.
In essence what this means is that
The xml.asp file picks up the content of that page and returns it in between open.asp and close.asp.
Of course, a large concern is how ASP.NET will handle the current CSS that we apply to this site. This will need to be addressed as we move along
Here's the gameplan -
Start with the big picture get the fundamentals of the site sorted out and drill down to each single page.
Also - I dont want to rely on any GUI/IDE (i.e., Dreamweaver, VS.NET, etc.) to make any changes, so all coding will happen in my favorite coding tool, Textpad
JOOC, what do you use to enable the content negociation in IIS?