看WEB 2.0实战书中的部分技术资料 引用 很随笔,很杂乱
2009-04-30 17:07
471 查看
看WEB 2.0实战书中的部分技术资料 引用 很随笔,很杂乱
var 不能用NULL赋值,因为编译器,不能由此推断var变量的类型。
as 运算符类似于强制转换操作;但是,如果转换不可行,as 会返回 null 而不是引发异常。更严格地说,这种形式的表达式
action Two interesting additions to the 2.0 C# language are the Action<> object, and anonymous methods. The Action<> object lets you specify an action to be performed on an object and the anonymous method lets you specify a method with no body (thus... the anonymity).
http://www.c-sharpcorner.com/UploadFile/rmcochran/anonymousMethods04022006141542PM/anonymousMethods.aspx
你的程序支持 IIS6 - Web Garden 吗?http://blog.joycode.com/lostinet/archive/2005/02/02/44017.aspx
SetupWidgets( wi => true );的解释如下:
SetupWidgets( wi => true );
This means, the following statement is always true for all widget instances:
widget.IsFirstLoad = isWidgetFirstLoad(instance);
But you can also specify expressions that return true or false based on a specific
condition:
SetupWidgets( wi => wi.ColumnNo == 1 );
关于$在JQUERY中的解释
$() 方法是在DOM中使用过于频繁的 document.getElementById() 方法的一个便利的简写,就像这个DOM方法一样,这个方法返回参数传入的id的那个元素。
比起DOM中的方法,这个更胜一筹。你可以传入多个id作为参数然后 $() 返回一个带有所有要求的元素的一个 Array 对象。
http://www.cnblogs.com/kaixin110/archive/2007/09/14/892474.html
http://www.cnblogs.com/gboxcc/archive/2009/02/09/use_jquery_from_zero.html
http://www.cnblogs.com/zhangziqiu/archive/2009/04/30/jQuery-Learn-1.html
http://www.cnblogs.com/anytao/archive/2009/04/30/anytao-mvc-04-actionlinktalk.html
==
其实美元符号"$"在脚本中JavaScript JS
这样解释最容易理解,也最简洁:
“从美元符号($)写起吧,不知从何时起$符号开始在js代码里流行开了,但$并不是js中的一个特殊的关键字,他其实是因为某个懒人(聪明的程序员都很懒^_^)的写了一段类似下面的代码而产生的:
function $(id)
{
return document.getElementById(id);
} ”
引用自:http://www.cnblogs.com/gboxcc/archive/2009/02/09/use_jquery_from_zero.html
var 不能用NULL赋值,因为编译器,不能由此推断var变量的类型。
as 运算符类似于强制转换操作;但是,如果转换不可行,as 会返回 null 而不是引发异常。更严格地说,这种形式的表达式
action Two interesting additions to the 2.0 C# language are the Action<> object, and anonymous methods. The Action<> object lets you specify an action to be performed on an object and the anonymous method lets you specify a method with no body (thus... the anonymity).
http://www.c-sharpcorner.com/UploadFile/rmcochran/anonymousMethods04022006141542PM/anonymousMethods.aspx
你的程序支持 IIS6 - Web Garden 吗?http://blog.joycode.com/lostinet/archive/2005/02/02/44017.aspx
SetupWidgets( wi => true );的解释如下:
SetupWidgets( wi => true );
This means, the following statement is always true for all widget instances:
widget.IsFirstLoad = isWidgetFirstLoad(instance);
But you can also specify expressions that return true or false based on a specific
condition:
SetupWidgets( wi => wi.ColumnNo == 1 );
关于$在JQUERY中的解释
$() 方法是在DOM中使用过于频繁的 document.getElementById() 方法的一个便利的简写,就像这个DOM方法一样,这个方法返回参数传入的id的那个元素。
比起DOM中的方法,这个更胜一筹。你可以传入多个id作为参数然后 $() 返回一个带有所有要求的元素的一个 Array 对象。
http://www.cnblogs.com/kaixin110/archive/2007/09/14/892474.html
http://www.cnblogs.com/gboxcc/archive/2009/02/09/use_jquery_from_zero.html
http://www.cnblogs.com/zhangziqiu/archive/2009/04/30/jQuery-Learn-1.html
http://www.cnblogs.com/anytao/archive/2009/04/30/anytao-mvc-04-actionlinktalk.html
==
其实美元符号"$"在脚本中JavaScript JS
这样解释最容易理解,也最简洁:
“从美元符号($)写起吧,不知从何时起$符号开始在js代码里流行开了,但$并不是js中的一个特殊的关键字,他其实是因为某个懒人(聪明的程序员都很懒^_^)的写了一段类似下面的代码而产生的:
function $(id)
{
return document.getElementById(id);
} ”
引用自:http://www.cnblogs.com/gboxcc/archive/2009/02/09/use_jquery_from_zero.html
相关文章推荐
- 看WEB 2.0实战书中的部分技术资料 引用 很随笔,很杂乱
- ASP.NET SignalR 与 LayIM2.0 配合轻松实现Web聊天室 实战系列
- 前后端分离之vue2.0+webpack2 实战项目 -- html模板拼接
- 《PHP Web 2.0开发实战》
- Rich Ajax 平台,第 1 部分: 简介-基于 Eclipse 开发模式的 Web 2.0
- Java WEB开发实战 之 第三部分:Servlet开发(1)【私塾在线原创】
- 《程序员2007增刊——实战Web2.0》精彩预览之“案例篇”
- Vue 2.0 实战之仿Eleme WebApp SPA(学习)
- ASP.NET SignalR 与 LayIM2.0 配合轻松实现Web聊天室 实战系列。开源啦!!!
- jBPM4工作流开发实战 之 第四部分 jBPM4和Web项目的结合
- 在 ServiceModel 客户端配置部分中,找不到引用协定“PmWs.PmWebServiceSoap”的默认终结点元素
- 《程序员2007增刊——实战Web2.0》精彩预览之“技术篇”
- PHP Web 2.0开发实战
- 在 ServiceModel 客户端配置部分中,找不到引用协定“WebServiceTest.WebServiceSoap”的默认终结点元素。这可能是因为未找到应用程序的配置文件,或者是因为客户端元素
- Selenium2.0 Webdriver 随笔
- ASP.NET 2.0应用程序添加ASP.NET AJAX 组件引用之web.config配置
- 《程序员2007增刊——实战Web2.0》精彩预览之“指导篇”
- Java WEB开发实战 之 第六部分:Taglib基本知识和基本开发
- PHP Web 2.0开发实战
- 全面提升 Web 2.0 应用程序的性能,第 1 部分: Web 2.0 应用的性能分析概述和新的挑战