??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲 国产 日韩 综合一区,www.爱久久,国产精品永久免费在线http://www.aygfsteel.com/zhao963038125/梦想遥不可及zh-cnTue, 17 Jun 2025 08:03:03 GMTTue, 17 Jun 2025 08:03:03 GMT60- 动态网|?/title>http://www.aygfsteel.com/zhao963038125/archive/2012/08/19/385760.htmlmr.zhaomr.zhaoSun, 19 Aug 2012 03:03:00 GMThttp://www.aygfsteel.com/zhao963038125/archive/2012/08/19/385760.htmlhttp://www.aygfsteel.com/zhao963038125/comments/385760.htmlhttp://www.aygfsteel.com/zhao963038125/archive/2012/08/19/385760.html#Feedback0http://www.aygfsteel.com/zhao963038125/comments/commentRss/385760.htmlhttp://www.aygfsteel.com/zhao963038125/services/trackbacks/385760.html1.CGIQCommon Gateway Interface(公用|关接口)Q?br /> 工作原理Q?br /> 1.览器通过HTML表单或超链接h指上一个CGI应用E序的URL?
2.服务器收发到h?
3.服务器执行指定所CGI应用E序?
4.CGI应用E序执行所需要的操作Q通常是基于浏览者输入的内容?
5.CGI应用E序把结果格式化为网l服务器和浏览器能够理解的文(通常是HTML|页Q?
6.|络服务器把l果q回到浏览器中?br /> 2.php:
PHP 是一U?HTML 内嵌式的语言Q是一U在服务器端执行的嵌入HTML文?a target="_blank">脚本语言.
Ҏ(gu):
1、开攄源代码:
所有的PHP源代码事实上都可以得到?
2、PHP是免费的?/span>
和其它技术相比,PHP本n免费?
3、php的快h?/span>
E序开发快Q运行快Q技术本w学?fn)快。嵌入于HTMLQ因为PHP可以被嵌入于HTML语言Q它相对于其他语a?a target="_blank">~辑单,实用性强Q更适合初学者?
4、跨q_性强Q?/span>
׃PHP是运行在服务器端?a target="_blank">脚本Q可以运行在UNIX?a target="_blank">LINUX?a target="_blank">WINDOWS下?
5、效率高Q?/span>
PHP消耗相当少?a target="_blank">pȝ资源?
6、图像处理:
用PHP动态创建图?
7、面向对象:
在php4,php5 中,面向对象斚w都有了很大的改进Q现在php完全可以用来开发大型商业程序?
8、专业专注:
PHP支持脚本语言ZQ同?a target="_blank">cC语言?br />3.ASPQActive Server Page 动态服务器面Q:
ASP?a target="_blank">微Y公司开发的代替CGI脚本E序的一U应用,它可以与数据?/font>和其它程序进行交互,是一U简单、方便的~程工具?br />
4.JSPQJava Server PagesQ:
JSP技术?a target="_blank">Java~程语言~写cXML的tags和scriptletsQ来装产生动?a target="_blank">|页的处理逻辑。网还能通过tags和scriptlets讉K存在于服务端的资源的应用逻辑。JSP网逻辑?a target="_blank">|页设计和显C分,支持可重用的Zlg的设计,使基于Web?a target="_blank">应用E序的开发变得迅速和Ҏ(gu)?
Web服务?/font>在遇到访问JSP|页的请求时Q首先执行其中的E序D?/font>Q然后将执行l果q同JSP文g中的HTML代码一赯回给客户。插入的JavaE序D可以操?a target="_blank">数据?/font>、重新定向网늭Q以实现建立动态网?/font>所需要的功能?
JSP?a target="_blank">JavaServlet一P是在服务器端执行的,通常q回l?a target="_blank">客户?/font>的就是一个HTML文本Q因此客L(fng)只要?a target="_blank">览?/font>p览?

]]> - JSl承http://www.aygfsteel.com/zhao963038125/archive/2012/08/13/385416.htmlmr.zhaomr.zhaoMon, 13 Aug 2012 11:29:00 GMThttp://www.aygfsteel.com/zhao963038125/archive/2012/08/13/385416.htmlhttp://www.aygfsteel.com/zhao963038125/comments/385416.htmlhttp://www.aygfsteel.com/zhao963038125/archive/2012/08/13/385416.html#Feedback0http://www.aygfsteel.com/zhao963038125/comments/commentRss/385416.htmlhttp://www.aygfsteel.com/zhao963038125/services/trackbacks/385416.htmljsl承?U实现方式:
1、承第一U方式:对象冒充
function Parent(username){
this.username = username;
this.hello = function(){
alert(this.username);
}
}
function Child(username,password){
//通过以下3行实现将Parent的属性和Ҏ(gu)q加到Child中,从而实现?
//W一步:this.method是作Z个(f)时的属性,q且指向Parent所指向的对象,
//W二步:执行this.methodҎ(gu)Q即执行Parent所指向的对象函?
//W三步:销毁this.method属性,x时Child已l拥有了Parent的所有属性和Ҏ(gu)
this.method = Parent;
this.method(username);//最关键的一?
delete this.method;
this.password = password;
this.world = function(){
alert(this.password);
}
}
var parent = new Parent("zhangsan");
var child = new Child("lisi","123456");
parent.hello();
child.hello();
child.world();
2、承第二种方式Qcall()Ҏ(gu)方式
callҎ(gu)是FunctioncM的方?
callҎ(gu)的第一个参数的D值给c?x?中出现的this
callҎ(gu)的第二个参数开始依ơ赋值给c?x?所接受的参?
function test(str){
alert(this.name + " " + str);
}
var object = new Object();
object.name = "zhangsan";
test.call(object,"langsin");//此时Q第一个参数值o(j)bject传递给了testc?x?中出现的thisQ而第二个参数"langsin"则赋值给了testc?x?的str
function Parent(username){
this.username = username;
this.hello = function(){
alert(this.username);
}
}
function Child(username,password){
Parent.call(this,username);
this.password = password;
this.world = function(){
alert(this.password);
}
}
var parent = new Parent("zhangsan");
var child = new Child("lisi","123456");
parent.hello();
child.hello();
child.world();
3、承的W三U方式:apply()Ҏ(gu)方式
applyҎ(gu)接受2个参敎ͼ
A、第一个参CcallҎ(gu)的第一个参CP卌值给c?x?中出现的this
B、第二个参数为数l类型,q个数组中的每个元素依次赋值给c?x?所接受的参?
function Parent(username){
this.username = username;
this.hello = function(){
alert(this.username);
}
}
function Child(username,password){
Parent.apply(this,new Array(username));
this.password = password;
this.world = function(){
alert(this.password);
}
}
var parent = new Parent("zhangsan");
var child = new Child("lisi","123456");
parent.hello();
child.hello();
child.world();
4、承的W四U方式:原型链方式,卛_c通过prototype所有在父类中通过prototypeq加的属性和Ҏ(gu)都追加到ChildQ从而实Cl承
function Person(){
}
Person.prototype.hello = "hello";
Person.prototype.sayHello = function(){
alert(this.hello);
}
function Child(){
}
Child.prototype = new Person();//q行的作用是Q将Parent中将所有通过prototypeq加的属性和Ҏ(gu)都追加到ChildQ从而实Cl承
Child.prototype.world = "world";
Child.prototype.sayWorld = function(){
alert(this.world);
}
var c = new Child();
c.sayHello();
c.sayWorld();
5、承的W五U方式:混合方式
混合了call方式、原型链方式
function Parent(hello){
this.hello = hello;
}
Parent.prototype.sayHello = function(){
alert(this.hello);
}
function Child(hello,world){
Parent.call(this,hello);//父cȝ属性承过?
this.world = world;//新增一些属?
}
Child.prototype = new Parent();//父cȝҎ(gu)l承q来
Child.prototype.sayWorld = function(){//新增一些方?
alert(this.world);
}
var c = new Child("zhangsan","lisi");
c.sayHello();
c.sayWorld();

]]> - 使用javascript转换首字母大?/title>http://www.aygfsteel.com/zhao963038125/archive/2012/08/12/385312.htmlmr.zhaomr.zhaoSun, 12 Aug 2012 04:49:00 GMThttp://www.aygfsteel.com/zhao963038125/archive/2012/08/12/385312.htmlhttp://www.aygfsteel.com/zhao963038125/comments/385312.htmlhttp://www.aygfsteel.com/zhao963038125/archive/2012/08/12/385312.html#Feedback0http://www.aygfsteel.com/zhao963038125/comments/commentRss/385312.htmlhttp://www.aygfsteel.com/zhao963038125/services/trackbacks/385312.html 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <title>MyHtml.html</title>
5
6 <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
7 <meta http-equiv="description" content="this is my page">
8 <meta http-equiv="content-type" content="text/html; charset=gbk">
9 <script type="text/javascript">
10 function zhuanHuan(){
11 var dc=document.getElementById("zimu").value;
12 var temp;
13 var temp1 = dc.charAt(0).toUpperCase();
14 for(var i=1;i<dc.length;i++){
15 temp=dc.charAt(i);
16 if(temp==" "&&i<dc.length-1){
17 temp=" "+dc.charAt(i+1).toUpperCase();
18 temp1=temp1+temp;
19 i++;
20 }
21 else{
22 temp1 = temp1 + temp;
23 }
24 }
25 document.getElementById("zimuhou").value=temp1;
26 }
27 </script>
28 </head>
29
30 <body>
31 <div>
32 <span>误入单?</span>
33 <input type="text" id="zimu"/>
34 <input type="button" value="转换首字母大? onclick="zhuanHuan()"/>
35 <input type="text" id="zimuhou" />
36 </div>
37 </body>
38 </html>
]]>
վ֩ģ壺
|
|
|
|
|
|
¡|
ʯ|
罭|
|
Ȫ|
ұ|
Դ|
ʡ|
|
|
̶|
ӱʡ|
|
|
|
Ϫ|
ָ|
Ž|
|
ǡ|
|
|
ֶ|
DZ|
Ӽ|
̩|
ȫ|
|
|
ന|
|
Ƥ|
|
ɶ|
|