Ví dụ, thiết kế các tiêu đề, bố cục, và định dạng của một trang (trình bày). Trên trang đó, đặt một điều khiển được cấu hình để nhận được và hiển thị thông tin (chẳng hạn như danh sách các cầu thủ cho đội bóng). | Site Design General Guidelines for Site Design Prior to designing any web site you benefit from reviewing the principles of a good site design. In this book you should keep in mind three general concepts Endeavor to separate the presentation from the information. For example design the title layout and format of a page the presentation . On that page put a control that is configured to get and display information such as the list of players for the team . By dividing these goals you are able to make updates to each without impacting the other. For example when a new player is added to the team you enter the information about the player into the site s database and the page automatically displays the new list of players on the team without you having to modify the presentation layer. Strive for a consistent look and feel throughout the site. By keeping the same colors logo and arrangement on the screen you develop a sense of presence. The loyal followers immediately feel at home with the team colors. Return visitors will be able to use the same set of learned behaviors for using the site. Make the site as easy to navigate as possible. First a menu bar on all pages provides easy jumps form one part of the site to another. Use tools to indicate where the currently viewed page is located in the site. Standard Files for Applications uses two files common to every site to hold configuration information and code that applies to the entire site. These are the and files respectively. contains configuration settings for a site for example for specifying a standard customized error page to display to end users if anything on the site breaks. contains code that handles events raised by any page on the entire site for example code that is run each time a user first accesses the site the start of a session . Holds Settings for the Entire Site stores values that apply .