---
title: "General web site design"
author: "jellyfish"
date: "2010-01-22T23:38:10Z"
tags: []
categories: ["互联网"]
slug: "general-web-site-design"
draft: false
lastmod: "2010-02-04T05:47:23Z"
id: 577803
url: "https://jellyfish.iteye.com/blog/577803"
---

Here are the considerations of general web site design:

 

1\. Color theme: There is a color theory, namely using "compatible" colors.  For example, [http://www.hypergurl.com/colormatch.php](http://www.hypergurl.com/colormatch.php).

 

2\. master layout: fonts, icons(and address bar icon), menus, content, ads

 

3\. authentication/authorization, SSL for login page

 

4\. credit card charging, using SSL as well.

 

5\. ad hookup, search engine friendly.

 

6\. database schema design and preventing sql injection attacks

 

7\. interactive charting

 

 

Technical details:

1\. ADO:

[http://www.devarticles.com/c/a/ADO.NET/Data-Access-in-.NET-using-C-sharp-Part-1/](http://www.devarticles.com/c/a/ADO.NET/Data-Access-in-.NET-using-C-sharp-Part-1/)

[http://dotnetperls.com/odbcconnection-example](http://dotnetperls.com/odbcconnection-example)

 

2\. Login module:

[http://weblogs.asp.net/scottgu/archive/2005/10/18/427754.aspx](http://weblogs.asp.net/scottgu/archive/2005/10/18/427754.aspx)

[http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx](http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx)

[http://scottonwriting.net/sowblog/posts/7763.aspx](http://scottonwriting.net/sowblog/posts/7763.aspx) for CAPTCHA

[http://www.codeproject.com/KB/custom-controls/CaptchaControl.aspx](http://www.codeproject.com/KB/custom-controls/CaptchaControl.aspx) for CAPTCHA

[http://www.asp.net/downloads/sandbox/table-profile-provider-samples/](http://www.asp.net/downloads/sandbox/table-profile-provider-samples/) for customized table based profile

[http://www.4guysfromrolla.com/articles/120705-1.aspx](http://www.4guysfromrolla.com/articles/120705-1.aspx) a long explanation

[http://weblogs.asp.net/scottgu/archive/2006/02/24/ASP.NET-2.0-Membership\_2C00\_-Roles\_2C00\_-Forms-Authentication\_2C00\_-and-Security-Resources-.aspx](http://weblogs.asp.net/scottgu/archive/2006/02/24/ASP.NET-2.0-Membership_2C00_-Roles_2C00_-Forms-Authentication_2C00_-and-Security-Resources-.aspx) a resource for login related topics

 

3\. SSL setup:

These two seems the easiest way:

[http://www.apijunkie.com/APIJunkie/blog/post/2008/02/How-to-easily-redirect-from-http-to-https-in-ASPNET.aspx](http://www.apijunkie.com/APIJunkie/blog/post/2008/02/How-to-easily-redirect-from-http-to-https-in-ASPNET.aspx)

[http://www.apijunkie.com/APIJunkie/blog/post/2008/03/From-HTTP-to-HTTPS-and-back-(continued-discussion).aspx](http://www.apijunkie.com/APIJunkie/blog/post/2008/03/From-HTTP-to-HTTPS-and-back-%28continued-discussion%29.aspx)

The second one has a link to convert vb code to c#.

 

[http://www.codeproject.com/KB/web-security/WebPageSecurity\_v2.aspx](http://www.codeproject.com/KB/web-security/WebPageSecurity_v2.aspx)

[http://tonesnotes.com/blog/2004/05/aspnet\_forms\_authentication\_wi.html](http://tonesnotes.com/blog/2004/05/aspnet_forms_authentication_wi.html)

[http://www.leastprivilege.com/PartiallySSLSecuredWebAppsWithASPNET.aspx](http://www.leastprivilege.com/PartiallySSLSecuredWebAppsWithASPNET.aspx)

[http://ondotnet.com/pub/a/dotnet/2003/01/20/formsauthp2.html](http://ondotnet.com/pub/a/dotnet/2003/01/20/formsauthp2.html)

[http://omni-foundation.net/blog/blog1.php/2008/10/31/visual-studio-development-server-and-htt](http://omni-foundation.net/blog/blog1.php/2008/10/31/visual-studio-development-server-and-htt)

[http://www.wilcob.com/download/index.html](http://www.wilcob.com/download/index.html) replacement of Cassini

[http://stackoverflow.com/questions/60113/https-with-visual-studios-built-in-asp-net-develpment-server](http://stackoverflow.com/questions/60113/https-with-visual-studios-built-in-asp-net-develpment-server)

 

4\. setup visual studio and IIS:

[http://learn.iis.net/page.aspx/387/using-visual-studio-2008-with-iis-70/](http://learn.iis.net/page.aspx/387/using-visual-studio-2008-with-iis-70/)