Ray's playground

 
上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 56 下一页

2010年7月12日

Regular Expressions(Chapter 7 of JavaScript: The Good Parts)

摘要: A regular expressionis the specification of the syntax of a simple language. Regular expressions are used with methods to search, replace, and extract information from strings. The methods that work w... 阅读全文

posted @ 2010-07-12 20:48 Ray Z 阅读(177) 评论(0) 推荐(0) 编辑

2010年7月11日

LINQ Queries(Chapter 8 of C# 4.0 in a nutshell)

摘要: Query and fluent syntax each have advantages.  Query syntax is simpler for queries that involve any of the following:  • A let clause for introducing a new variable alongside the range variable ... 阅读全文

posted @ 2010-07-11 22:37 Ray Z 阅读(222) 评论(0) 推荐(0) 编辑

Spring and POJO-based remote services(Chapter 8 of Spring In Action)

摘要: Working with remote services is typically a tedious chore. But Spring providesremoting support that makes working with remote services as simple as workingwith any regular JavaBean.  On the client sid... 阅读全文

posted @ 2010-07-11 21:23 Ray Z 阅读(193) 评论(0) 推荐(0) 编辑

Ruby and Its World(Chapter 15 of Programming Ruby)

摘要: RubyGems is a standardized packaging and installation framework for Ruby libraries andapplications. RubyGems makes it easy to locate, install, upgrade, and uninstall Ruby packages.  Rake was initially... 阅读全文

posted @ 2010-07-11 20:54 Ray Z 阅读(141) 评论(0) 推荐(0) 编辑

Arrays(Chapter 6 of JavaScript: The Good Parts)

摘要: codeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1varis_array=function(value){2returnvalue&&3typeofvalue==='object'&&4typeofvalue.l... 阅读全文

posted @ 2010-07-11 20:19 Ray Z 阅读(161) 评论(0) 推荐(0) 编辑

2010年7月10日

Inheritance(Chapter 5 of JavaScript: The Good Parts)

摘要: codeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1varMammal=function(name){2this.name=name;3};45Mammal.prototype.get_name=function(){6returnthis.na... 阅读全文

posted @ 2010-07-10 11:46 Ray Z 阅读(171) 评论(0) 推荐(0) 编辑

2010年7月9日

Functions part2(Chapter 4 of JavaScript: The Good Parts)

摘要: ModuleCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1varserial_maker=function(){2varprefix='';3varseq=0;45return{6set_prefix:function(p){7prefix=Str... 阅读全文

posted @ 2010-07-09 22:42 Ray Z 阅读(182) 评论(0) 推荐(0) 编辑

2010年7月8日

Functions part1(Chapter 4 of JavaScript: The Good Parts)

摘要: There are four patterns of invocation in JavaScript: the method invocation pattern, the function invocation pattern, the constructor invocation pattern, and the apply invocation pattern. The patterns ... 阅读全文

posted @ 2010-07-08 22:40 Ray Z 阅读(311) 评论(0) 推荐(0) 编辑

Objects(Chapter 3 of JavaScript: The Good Parts)

摘要: The undefined value is produced if an attempt is made to retrieve a nonexistent member:  Attempting to retrieve values from undefined will throw a TypeError exception. This can be guarded against with... 阅读全文

posted @ 2010-07-08 12:47 Ray Z 阅读(210) 评论(0) 推荐(0) 编辑

2010年7月7日

Grammar(Chapter 2 of JavaScript: The Good Parts)

摘要: JavaScript has a single number type. Internally, it is represented as 64-bit floating point, the same as Java's double.  A block is a set of statements wrapped in curly braces. Unlike many other langu... 阅读全文

posted @ 2010-07-07 22:01 Ray Z 阅读(151) 评论(0) 推荐(0) 编辑

上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 56 下一页

导航