Web设计与编程导论复习资料(未完成版)
(1)Web Basics and Overview (web基础与概述)(5’)
Network:
? What is computer network?
A computer network is a high-speed communications medium connecting many, possibly dissimilar ,computers or hosts.(一个计算机网络是一个高速的通信媒介,连接了许多不同的计算机或主机
? Networ k Addresses
An address to a host computer is like a phone number to a telephone. Every host on the internet has a unique network address that identifies the host for communication purposes(主计算机的通信地址就像电话号码一样。每一个连接电脑的主机都有独一无二的网络通信地址以此来识别通讯目的)
Internet:互联网(internet),是由一些使用公用语言互相通信的计算机连接而成的全球网络,即广域网、局域网及单机按照一定的通讯协议组成的国际计算机网络。互联网是一种公用信息的载体,这种大众传媒比以往的任何一种通讯媒体都要快
Domain Name System:域名系统(Domain Name System缩写DNS,Domain Name被译为域名)是因特网的一项核心服务,它作为可以将域名和IP地址相互映射的一个分布式数据库,能够使人更方便的访问互联网,而不用去记住能够被机器直接读取的IP数串。Web:web本意是蜘蛛网和网的意思。现广泛译作网络、互联网等技术领域。表现为三种形式,即超文本(hypertext)、超媒体(hypermedia)、超文本传输协议(HTTP)等。
What Is Web 2.0
The bursting of the dot-com bubble in the fall of 2001 marked a turning point for the web. Many people concluded that the web was overhyped, when in fact bubbles and consequent shakeouts appear to be a common feature of all technological revolutions. Shakeouts typically mark the point at which an ascendant technology is ready to take its place at center stage. The pretenders are given the bum's rush, the real success stories show their strength, and there begins to be an understanding of what separates one from the other.
(2)Creating Web Pages: XHTML (15’)
HTML
HTML 是用来描述网页的一种语言。HTML 指的是超文本标记语言(Hyper Text Markup Language)。HTML 不是一种编程语言,而是一种标记语言(markup language)。标记语言是一套标记标签(markup tag)。HTML 使用标记标签来描述网页
Elements and Entities
XHTML
XHTML 是更严格更纯净的HTML 代码。
XHTML 是什么?
XHTML 指可扩展超文本标签语言(EXtensible HyperText Markup Language)。XHTML 的目标是取代HTML。XHTML 与HTML 4.01 几乎是相同的。XHTML 是更严格更纯净的HTML 版本。XHTML 是作为一种XML 应用被重新定义的HTML。XHTML 是一个W3C 标准。
Text Fonts文本字体,
Color颜色,
Lists列表,
Hyperlinks超链接,
Images图像
(3)Advanced XHTML (15’)
Character Encoding(字符编码), Tables(表格), Frames看(框架), Page Checking and Validation (页面检查和确认)
(4)Design Basics(10’)
Design and Perception(设计和洞察力), Elements of Design(设计基础), Emphasis (重点), Focal Point and Hierarchy(焦点和层次)
(5)Information Architecture, Page Layout, and Ty pography (5’)
Layout(布局), Website Architectures(网页架构), Information Architecture(信息架构), Client Identity(客户端身份). Organizational Framework(组织结构). Typography Basics(排印基础). Families of Type(家族类型?). Choosing Type. (选择类型)Spacing Type.(间隔类型)Layout Grids(布局网格)
(6)Controlling Page Style: Cascading Style Sheets (15’)
CSS, A Navigation Bar(导航条), Setting Margin(设置边缘), Border(边框), and Padding, Borders, Positioning(定位), Background Images(背景图片), List and Other Style Properties(列表和其他样式属性), Styled Buttons(样式按钮), CSS and Page Layout(css和页面布局)
(7)Color and Graphics (10’)
Color Theory in Print(印刷中的色彩理论). Meaning of Color(色彩的意义). Color and Readability(颜色和可读性). Color on Computers(计算机中的色彩). What is Gamma. Color Models and Color Encoding(色彩模型和色彩编码). Color Palettes.(调色板)Image Encoding Formats(图像编码格式). We Samples Color Critique.(采集颜色评论)Color Application(色彩应用)
(8)Forms and Form Processing (5’)
What is a Form?. A Historical Note. Form Basics(表格基础). Text Input(文本输入). User Selections(用户选择). Submit Buttons(提交按钮). File Uploading (文件上传). Other input Elements.(其他输入元素)Tabbing Order(移动顺序). Form Layout(窗体布局. HTTP Basics(超文本传输协议基础). HTTP Message(超文本传输协议消息)Format(格式). CGI Overview(CGI概述). Outline of a CGI Program(CGI程序轮廓). Getting Started with CGI Programming(CGI程序入门指南). Deploying CGI Programs(CGI程序展开). CGI Example: Club Membership (会员俱乐部). CGI Environment Variables(CGI环境变量). Data Received on the Server-Side(服务器端接收数据). Content Length.(内容长度)
(9)Client-Side Scripting客户端脚本语言: JavaScript (5’)
Getting Started(入门指南). Embedding Javascript in a Web Page.(在网页中植入JA V A) A Brief History of Javascript(JA V A史略). Rollovers.(图像翻转)Preloading Images(预加载图像). Active Navigation Bars(活动导航条). Matching Patterns.(匹配模式)Patterns(模式). Javascript Objects.(JA V A对象)Windows (窗口). Creating User Interactions(创造用户交流). A Conversion Calculator(计算机转换). Form Checking(形式校验). Menu Actions(菜单活动). Events and Event Objects.(事件和事件对象)Scrolling Text(滚动文本). Testing and Debugging(测试和调试). For More Information.(取得进一步咨询)
(10)Document Object Model and Dynamic HTML (5’)
What is DOM?. A Demonstration(一个示范). DOM History and Architecture. (DOM历史和体系结构)Browser Support of DOM(DOM中的浏览器支持). DOM API Overview(DOM应用程序界面概述). Getting Started with DOM.(DOM 入门指南)The DOM Node Interface(节点界面). DOM Tree Depth-First Traversal. The DOM HTMLElement Interface. HTMLElement Fields and Methods. A Guided Form. Fade-in Headlines. The DOM HTMLDocument Interface. Generating New Content. A Smart Form. Reordering Rows in Tables. A Tic-Tac-Toe Game. Windows and Frames. A Code Experimenter(一个编码实验者). DHTML Access to Web Services.
(11)XM L (5’)
What is XML?
XML 指可扩展标记语言(EXtensible Markup Language)XML 是一种标记语言,很类似HTML,XML 的设计宗旨是传输数据,而非显示数据XML 标签没有被预定义。您需要自行定义标签。XML被设计为具有自我描述性。XML 是W3C 的推荐标准
How can XML be Used?
XML 应用于web 开发的许多方面,常用于简化数据的存储和共享。XML 把数据从HTML 分离,XML 简化数据共享,XML 简化数据传输,XML 简化平台的变更,XML 使您的数据更有用,XML 用于创建新的Internet 语言
XML Syntax Rules
所有XML 元素都须有关闭标签,XML 标签对大小写敏感,XML 必须正确地嵌套,XML 文档必须有根元素,XML 的属性值须加引号实体引用,XML 中的注释,在XML 中编写注释的语法与HTML 的语法很相似,XML 以LF 存储换行,在XML 中,空格会被保留XML Encoding,
XML 文档可以包含非ASCII 字符,比如法语。为了避免错误,需要规定XML 编码,或者将XML 文档存为Unicode。
XML Elements,
XML 元素指的是从(且包括)开始标签直到(且包括)结束标签的部分。元素可包含其他元素、文本或者两者的混合物。元素也可以拥有属性。
XML Attributes,
XML 元素可以在开始标签中包含属性,类似HTML。属性(Attribute) 提供关于元素的额外(附加)信息。从HTML,你会回忆起这个:。"src" 属性提供有关 元素的额外信息。
在HTML 中(以及在XML 中),属性提供有关元素的额外信息:
属性通常提供不属于数据组成部分的信息。在下面的例子中,文件类型与数据无关,但是对需要处理这个元素的软件来说却很重要:
XML Namespaces
XML 命名空间提供避免元素命名冲突的方法。
(12)RssAndAjax (5’)
What Is a Cookie?
Cookie,有时也用其复数形式Cookies,指某些网站为了辨别用户身份、进行session跟踪而储存在用户本地终端上的数据(通常经过加密)。定义于RFC2109(已废弃),最新取代的规范是RFC2965。
Xml and rss, Ajax
-精品- 《基于WEB 程序设计》 期末考试试卷 考生注意:1.本试卷共有六道大题,满分100分。 2.考试时间90分钟。 3.卷面整洁,字迹工整。 4.填写内容不得超出密封线。 总分 题号 一 二 三 四 五 六 核分人 题分 10 10 20 10 30 20 复查人 得分 得分 评卷人 一、HTML 代码分析(每小题5分,共10分) (5分)
row 1, cell 1 | row 1, cell 2 | row 2, cell 1 2 > < 3 >row 2, cell 2 | 4 > 5 > 得分 评卷人 二、数据库基础代码分析 (每小题5分,共10分) (5分) INSERT INTO article ( title, writer, content ) VALUES (‘实验’, ‘学生’, ‘插入数据’); 2.解释代码:请解释下述代码的含义。(5分) DELETE * FROM article WHERE 编号=1; 得分 评卷人 三、标准控件代码分析(每小题10分,共20分) (10分) ButtonEx.aspx : <%@ Page Language="VB" AutoEventWireup="false" CodeFile=" ButtonEx.vb " Inherits="_Default" %>