This page contains an overview of how this site was created.
Technologies employed
- ASP.NET 2.0
- Master Pages
- Site maps
- Url Mapping
- Xml data binding — Each recipe, presentation, and sample are stored in individual
Xml files. All recommended readings are stored in a common Xml file.
- CSS 2.1
- As allowed by both Mozilla/FireFox & IE 6.0
- No use of Quirks mode in IE 6.0
- XHTML 1.1
pageContent.master — Master Page
Master Page for pages that contain informational content on various topics.
In other words pages in the Recommended Reading, Cookbook, Presentations, and Samples section of this site.
|
File |
Description |
|
Cookbook/default.aspx |
Displays the site map for the Cookbook section. |
|
Cookbook/recipe.aspx |
Displays a single recipe in the Cookbook section based on a query string. |
|
Presentations/default.aspx |
Displays the site map for the Presentations section. |
|
Presentations/presentation.aspx |
Displays a single presentation in the Presentations section based on a query string. |
|
Reading/default.aspx |
Displays the site map for the Recommended Reading section. |
|
Reading/reading.aspx |
Displays a category of recommended readings in the Recommended Reading section based on a query string. |
|
Samples/default.aspx |
Displays the site map for the Samples section. |
|
Samples/sample.aspx |
Displays a single sample in the Samples section based on a query string. |
|
sitemap.aspx |
Displays the site map for the entire site. |
sectionContent.master — Master Page
Master Page for pages that include a picture in the left margin.
|
File |
Description |
|
default.aspx |
Displays the home page for this site. |
|
about.aspx |
Displays information on T.S. Bradley. |
|
aboutMe.aspx |
Displays information about Jay B. Harlow. |
|
aboutSite.aspx |
Dispalys information about how the T.S. Bradley website was designed & implemented. |
entryForm.master — Master Page
Master Page for pages that include data entry forms.
|
File |
Description |
|
contactUs.aspx |
Displays the Contact Us data entry form. |
|
feedback.aspx |
Displays the Feedback data entry form. |
|
error.aspx |
Error page used for unhandled exceptions. |
|
notFound.aspx |
Error page used for 404 not found errors. |
*.sitemap — Site Map files
The navigation for the site is stored in 5 site map files.
The site map files are used to display table of contents for the site & individual
sections as well as the navigation bar at the top of each page.
|
File |
Description |
|
web.sitemap |
The overall navigation for the site, includes references to the site maps for the
4 major sections. |
|
Cookbook/cookbook.sitemap |
The navigation for the Cookbook section of the site. |
|
Presentations/presentations.sitemap |
The navigation for the Presentations section of the site. |
|
Reading/readings.sitemap |
The navigation for the Readings section of the site. |
|
Samples/samples.sitemap |
The navigation for the Samples section of the site. |
Include — User Controls
The /Include folder contains the following controls:
|
File |
Description |
|
header.ascx |
Used to display the common page header & navigation at the top of each page.
Each Master Page has an instance of this control. |
|
footer.ascx |
Used to display the common page footer at the bottom of each page. Each Master Page
has an instance of this control. |
|
lineitem.ascx |
Used to conditionally show one of detail lines on the Presentations (presentation.aspx),
Readings (reading.aspx), and Samples (sample.aspx) pages. |
The Header & Footer could have been embedded directly into the master pages,
however with three master pages its easier to contain the logic in user controls.
Server Controls
The follow custom server controls were created for this site:
|
Control |
Description |
|
FeedbackLink |
Displays the Feedback button in the footer, including information on the page being displayed. |
|
HoverButton |
Displays a Hover button based on JavaScript & CSS |
|
LastModified |
Displays the Last Modified date for a “page”, where either the last modified for page
itself is used or the last modified of the underlying Xml file. |
|
SampleCode |
Used to display & format sample code, conditionally including a copy button
on browsers that support “copy” from JavaScript. |