Client and Server side Dynamic Pages

1. 首先,这俩都是Dynamic Pages,就有另外一个Static Pages,顾名思义,html都是写好了的,不会随着调用的时间而改变。然而Dynamic是在服务器接收到请求后,处理得出的html文件,是动态变化的。


2. Client:

  1. A web author writes a set of instructions for creating HTML, and saves it within an .htm file. The author also writes a set of instructions in a different language. This might be contained within the .htm file, or within a separate file.

  2. Sometime later, a user types a page request into their browser, and the request is passed from the browser to the web server.

  3. The web server locates the .htm page, and may also have to locate a second file that contains the instructions.

  4. The web server sends both the newly created HTML stream and instructions back across the network to the browser.(服务器给回两个文件,一个html,一个instruction file)

  5. A module within the browser processes the instructions and returns it as HTML within the .htm page – only one page is returned, even if two were requested.  (然后browser再根据instruction来形成html)
  6. The HTML is then processed by the browser which displays the page

3. Server:

  1. A web author writes a set of instructions for creating HTML, and saves these instructions within a file

  2. Sometime later, a user types a page request into their browser, and the request is passed from the browser to the web server

  3. The web server locates the file of instructions

  4. The web server follows the instructions in order to create a stream of HTML

  5. The web server sends the newly created HTML stream back across the network to the browser (服务器只给回来一个file)

  6. The browser processes the HTML and displays the page

 
4. Client技术:


JavaScript,跟Java没关系,是根据LiveScript演进的,只是套用了Java的基本句法,使得方便流通。Microsoft还有一个JScript,从IE3.0到IE6.0。

VBScript,微软的,除了IE没支持的。。

ActiveX Controls

Java Applet

Curl


5. Server技术:

CGI, Common Gateway Interface (CGI)。不好学,大部分Unix用这个在服务器生成Script.

JSP, JavaServer Pages (JSP), Combine Java 和HTML XML来生成script。

ColdFusion,很多服务器平台都可用,IIS, Netscape Enterprise Server and Unix/Apache。与ASP区别是,ASP主要用编程语言写的,比如C# VB,CF主要是用HTML的tag写的。缺点不免费。

PHP,PHP HyperText Preprocessor,最大亮点是开源免费。

ASP.NET:

ASP – a server-side technology for creating dynamic web pages that only lets you use scripting languages
ASP.NET – a server-side technology for creating dynamic web pages that lets you use any fully-fledged programming language supported by .NET
VB.NET – our chosen programming language for writing code in ASP.NET

Reference: http://www.codeproject.com/Articles/1346/Beginning-ASP-NET-using-VB-NET


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值