web系统开发技术简介
合集下载
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
基于Web的应用系统开发
15
XHTML
• Describes the general form and layout of documents
• An XHTML document is a mix of content and controls
– Controls are tags and their attributes – Tags标签 often delimit 划界content and specify 说明
“Non-linear reading and writing” ——Ted Nelson
A page of text
A page of text
A page of text
A page of text
Leabharlann Baidu
A page of text
A page of text
A page of text
A page of text
基于Web的应用系统开发
11
The WWW
• Allows a user anywhere on the Internet to search for and retrieve documents
• 1989 WWW proposal by group led by Tim Berners-Lee at CERN
• The purpose of an applet is to provide processing 处理capability and interactivity 交互型的 for HTML documents through widgets窗体小部件
基于Web的应用系统开发
20
PHP
• A server-side scripting language • An alternative to CGI • Similar to JavaScript • Great for form processing and database
something about how the content should be arranged in the document – Attributes属性 provide additional information about the content of a tag
基于Web的应用系统开发
基于Web的应用系统开发
9
The Internet Origins 起源
• ARPA Networking Project (ARPANET) - late 1960s and early 1970s
– Wide area network to share computing facilities工具 – “Internetworking” – Network reliability – For ARPA-funded research organizations
基于Web的应用系统开发
19
Java Applets
• Relatively small Java programs whose execution is triggered by a browser
• Executed by the client
• Browser must provide JVM support
基于Web的应用系统开发
22
.Net
• Full-fledged OO programming language • Second largest player in Web applications • From Microsoft
基于Web的应用系统开发
23
Summary
• Course Content • Practical matters • Introduction to infrastructure
HTTP HTML data
Client MS Internet Explorer Mozilla Firefox
基于Web的应用系统开发
14
Web Programmer’s Toolbox
• XHTML • CSS • XML • JavaScript • Java Applets • PHP • Java • .Net
基于Web的应用系统开发 1.简介
孙文俊、王延青 wjsun@hit.edu.cn 哈工大管理学院 2009年2月23日星期一
教材和课件
• 课件下载:
http://tpm.hit.edu.cn/wps/
• 教材:
《Web程序设计》(2005年第3版), (美)Robert W. Sebesta著, 李政仪译, 清华大学出版社
– Computer communications – Internet – WWW
• Introduction to the web programmer’s toolbox
– XHTML – CSS – XML – JavaScript – Java Applets – PHP – Java – .Net
• Late 1990 prototype implemented on NeXT
• 1991 WWW released to the rest of the world
• Documents in the form of hypertext
基于Web的应用系统开发
12
Hypertext(超文本)
– Commerce on the Internet was almost unknown
• The WWW is now the major conduit to the Internet and the major vehicle for e-commerce, but this is not what it was designed for!
access through the Web
基于Web的应用系统开发
21
Java
• Full-fledged OO programming language • Biggest player in the web application
industry • Backed by Sun, IBM, Oracle, BEA etc.
• National Science Foundation internet (NSFnet) - 1986
– Initially最初 connected five supercomputer centers – By early 1990s it was the network for all – Became the Internet backbone
基于Web的应用系统开发
8
Computer Communications
• Early computers (1950s and early 1960s) were isolated(孤立的)
• Remote access and peripherals(外围)
– Connected to a central computer via dedicated lines or telephone system(通过专用的线连接到中央的电 脑或者电话系统)
– Share resources
• From the late 1960’s onwards computers were connected to other computers
– Via dedicated lines or telephone system
– Share information
16
CSS
• A language for defining style sheets表 that was developed for HTML
• Provide the means to control and change presentation介绍 of HTML documents
• Style sheets allow you to impose利用 a standard style on a whole document, or even a whole collection of documents
• Only related to Java through syntax语法 • Dynamically动态的 typed and not object-
oriented非面向对象的
• Provides a way to access elements of HTML documents and dynamically change them
基于Web的应用系统开发
2
课程目标
• 对Internet 和 WWW 的基本了解 • 获得Web技术的知识与实践经验 • 对相关名词术语的介绍 • 熟练掌握如何构建和设计良好且有一定功
能的Web应用
基于Web的应用系统开发
3
课程内容
• 基础
• 网络编程
– 网络基础: LANs 和 长 程通讯
– TCP/IP 协议 – 客户/服务器 范式,
A page of text
A page of text
A page of text
A page of text
A page of text A page of text
A page of text A page of text
基于Web的应用系统开发
13
World Wide Web
HTTP Server Apache MS IIS
• www是internet上的一种服务 • Before the WWW
– The Internet was used by scientists, researchers, large (usually governmental) organizations, and amateur enthusiasts
HTTP, URLs, MIME
– XHTML – CSS – JavaScript – Java Applets – Java
– XML
• 网络应用设计
基于Web的应用系统开发
4
成绩构成
• 作业 - 25% • 考试 - 75%
– 2小时笔试
基于Web的应用系统开发
5
视频
• 互联网的历史(History Of the Internet,8 分钟)
• Warriors of the Net 从微观层面对Internet 和WWW的三维动画介绍(12分钟)
基于Web的应用系统开发
7
Enabling Infrastructure
• Networks and Communications • The Internet • The World Wide Web
基于Web的应用系统开发
24
面向对象编程 Introducing Alice
• In 1990’s ban on commercial use of the Internet was lifted leading to an explosive growth of “e-commerce”
基于Web的应用系统开发
10
The Internet and the WWW
• The WWW is one service running over the Internet - it is not synonymous!同义的
基于Web的应用系统开发
17
XML
• A meta-mark-up language • Used to create a new mark-up language
for a particular purpose or area
• Because the tags are designed for a specific area, they can be meaningful
• No presentation details • A simple and universal way of
representing data of any textual kind
基于Web的应用系统开发
18
JavaScript
• A client-side HTML-embedded scripting language