Crockford的JavaScript,The Good Parts(书评)。 [英] Crockford's JavaScript, The Good Parts (a book review).

查看:38
本文介绍了Crockford的JavaScript,The Good Parts(书评)。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Crockford'的JavaScript,The Good Parts(书评)。

这可能是世界上最短的书评(对于其中一个
世界的

缩短书籍。)


我喜欢Douglas Crockford(因为我也是一个螃蟹老人;加上他

_is_

聪明又好)..但是,他怎么能写一本关于

JavaScript

的好部分的书而不是提到解决CSS& DOM?奇怪的。就像

怎么玩

的东西,但没有解决JS的真实用途。

用什么

Crockford谈到我们在

网页上(即在浏览器中的互联网上)实际上没有足够的_use_

javascript。


这是一个弱点吗?是。该死的。 CSS可能不完全实现

实现

并且DOM在浏览器中没有完全标准化,但没有

这是

一个难以逾越的问题_and_它** _是_ ** JavaScript是什么

约。


幸运的是,我读过大约20本优秀的JavaScript书籍(而且相反



Crockford那里有很好的书)以及使它们变好的原因非常好

操纵CSS和DOM的例子。 />

Crockford''s JavaScript, The Good Parts (a book review).
This shall perhaps be the world''s shortest book review (for one of the
world''s
shortests books).

I like Douglas Crockford (because I am a crabby old man too; plus he
_is_
smart and good).. But, how can he write a book on the good parts of
JavaScript
and not mention functions that address CSS & DOM? Weird. It''s like
how to play
with things but not address the real things JS is made to play with.
With what
Crockford talks about we don''t have enough to actually _use_
javascript on the
web (i.e on the Internet in a browser).

Is this a weakness? Yes. Damned right. CSS may not be fully
implemented
and the DOM is not fully standardized across browsers, but NONE of
this is
an insurmountable problem _and_ it **_IS_** what JavaScript is all
about.

Fortunately, I have read about 20 good JavaScript books (and contrary
to
Crockford there ARE good books) and what made them good was excellent
examples of manipulating CSS and the DOM.

推荐答案

8月18日,3:47 * pm,lorlarz< lorl ... @ gmail.comwrote:
On Aug 18, 3:47*pm, lorlarz <lorl...@gmail.comwrote:

Crockford'JavaScript,The Good Parts(书评)。

这可能是世界上最短的书评(对于其中一个

世界'

缩短书籍。)


我喜欢Douglas Crockford(因为我也是一个螃蟹老人;加上他/>
_is_

聪明又好)..但是,他怎么能写一本关于g的书呢? ood partsofJavaScript

而不提及解决CSS& DOM? *奇怪的。 *就像

怎么玩

有东西但没有解决JS的真实用途。

随着什么

Crockford谈到我们实际上没有足够的东西* _use_javascript在

网页上(即在浏览器的互联网上)。


这是一个弱点吗? *是。 *该死的。 * CSS可能不完全

实现

并且DOM在浏览器中没有完全标准化,但没有

这是

一个难以逾越的问题_and_它** _ _ _ what whatJavaScriptis all

about。


幸运的是,我读过大约20本goodJavaScriptbooks(相反



Crockford那里有好书)和使它们变好的原因非常好

操纵CSS和DOM的例子。
Crockford''sJavaScript,The Good Parts(a book review).
This shall perhaps be the world''s shortest book review (for one of the
world''s
shortests books).

I like Douglas Crockford (because I am a crabby old man too; plus he
_is_
smart and good).. But, how can he write a book onthe good partsofJavaScript
and not mention functions that address CSS & DOM? *Weird. *It''s like
how to play
with things but not address the real things JS is made to play with.
With what
Crockford talks about we don''t have enough to actually *_use_javascripton the
web (i.e on the Internet in a browser).

Is this a weakness? *Yes. *Damned right. *CSS may not be fully
implemented
and the DOM is not fully standardized across browsers, but NONE of
this is
an insurmountable problem _and_ it **_IS_** whatJavaScriptis all
about.

Fortunately, I have read about 20 goodJavaScriptbooks (and contrary
to
Crockford there ARE good books) and what made them good was excellent
examples of manipulating CSS and the DOM.



P.S.其他相当近期的书籍我发现有充足的理由享受

(很好的例子可以成为优秀的书籍):


由Harmes创建的Pro JavaScript Design Patterns& Dias(Apress,2008)

jibe in Action by Bibeault& Kayz(Manning,2008)

Adams等人的JavaScript艺术与科学(Sitepoint,2008)

Wenz的JavaScript短语手册(Sams,2007)

Resig的JavaScript技术(Apress,2006)

简单来自Yank和Adams的JavaScript(Sitepoint,2007)

CSS,DHTML,& Teax的Ajax(第4版)(Peachpit,2007)

由Flanagan撰写的JavaScript,权威指南(第5版)(O?Reilly,

2006)(I还阅读并完成了早期的第4版,2002年)

JavaScript Anthology 101基本技巧,?作者:Edwards和Adams

(Sitepoint,2006)

由Goodman和Morrison编写的JavaScript圣经(第5版)(Wiley,2004)和

早期版本。


如果你不喜欢这些书,你一定要疯了。很好的例子

制作好书。


和老人我仍然不后悔读过:

Bradenbaugh的JavaScript应用手册(O?Reilly,1999)(

oldie,当时很棒;仍然有用)

P.S. OTHER rather recent books I found plenty of reason to enjoy
(good examples make good books):

Pro JavaScript Design Patterns by Harmes & Dias (Apress,2008)
jQuery in Action by Bibeault & Kayz (Manning, 2008)
The Art and Science of JavaScript by Adams et al (Sitepoint, 2008)
JavaScript Phrasebook by Wenz (Sams, 2007)
Pro JavaScript Techniques by Resig (Apress, 2006)
Simply JavaScript by Yank and Adams (Sitepoint, 2007)
CSS, DHTML, & Ajax (4th ed.) by Teague (Peachpit, 2007)
JavaScript, the Definitive Guide (5th ed.) by Flanagan (O?Reilly,
2006) (I also read and worked through the earlier 4th ed., 2002)
The JavaScript Anthology 101 Essential Tips, ? by Edwards and Adams
(Sitepoint, 2006)
JavaScript Bible (5th ed.) by Goodman and Morrison (Wiley, 2004) and
earlier editions.

If you don''t like any of those books, you must be nuts. Good examples
make good books.

and an oldie I still do not regret having read:
JavaScript Application Cookbook by Bradenbaugh (O?Reilly, 1999) (an
oldie, great in its day; still helpful)


lorlarz< lo *****@gmail.com写的:
lorlarz <lo*****@gmail.comwrites:

Crockford的JavaScript,The Good Parts(书评)。

这个或许应该是世界上最短的书评(对于

世界'

短期书籍之一)。


我喜欢道格拉斯·克罗克福德(因为我也是一个螃蟹老人;再加上他/她好b $ b聪明又好)但是,他怎么能写一本书呢?好的部分

JavaScript

而不提及解决CSS& DOM?奇怪的。就像

怎么玩

的东西,但没有解决JS的真实用途。

用什么

Crockford谈到我们在

网页上(即在浏览器中的互联网上)实际上没有足够的_use_

javascript。


这是一个弱点吗?是。该死的。 CSS可能不完全实现

实现

并且DOM在浏览器中没有完全标准化,但没有

这是

一个难以逾越的问题_并_ ** _是_ **什么是JavaScript所有

左右。
Crockford''s JavaScript, The Good Parts (a book review).
This shall perhaps be the world''s shortest book review (for one of the
world''s
shortests books).

I like Douglas Crockford (because I am a crabby old man too; plus he
_is_
smart and good).. But, how can he write a book on the good parts of
JavaScript
and not mention functions that address CSS & DOM? Weird. It''s like
how to play
with things but not address the real things JS is made to play with.
With what
Crockford talks about we don''t have enough to actually _use_
javascript on the
web (i.e on the Internet in a browser).

Is this a weakness? Yes. Damned right. CSS may not be fully
implemented
and the DOM is not fully standardized across browsers, but NONE of
this is
an insurmountable problem _and_ it **_IS_** what JavaScript is all
about.



好​​你的帖子提醒我拿到这本书。无论如何,Crockford就像我所知道的那样,在javascript / ecmascript中以人们实际的*代码*

的伪劣方式厌倦了,并打算写一个书籍教学

编码员如何有效地使用*语言*。


语言本身不包括任何CSS,DOM,BOM或其他,

并且至少有一个相当流行的实现,根本没有b $ b地址CSS等。请参阅:actionscript。


事情并没有像90年代那样糟糕,但在整个DOM / CSS / BOM中,b $ b包仍然是不合理的将大量的兼容性废话交给

处理,并将所有内容写入一本关于良好的编码

做法的书中。可能会稀释好的部分,这可能会使他们成为脚注。


-

Joost Diepenmaat |博客: http://joost.zeekat.nl/ |工作: http://zeekat.nl/

Good that your post reminded me to get the book. Anyway, Crockford as
far as I can tell, is fed up with the shoddy way people actualy *code*
in javascript/ecmascript, and has set out to write a book to teach
coders how to make effective use of the *language*.

The language itself does NOT include any CSS, DOM, BOM or whatever,
and there is at least one fairly popular implementation that doesn''t
address CSS etc at all. See: actionscript.

Things are not as bad as back in the 90s, but in the whole DOM/CSS/BOM
bag there is still an unreasonably large lump of compatibility crap to
deal with, and putting all that into a book about "good coding
practices" would dilute the good bits probably to the point of making
them footnotes.

--
Joost Diepenmaat | blog: http://joost.zeekat.nl/ | work: http://zeekat.nl/

8月18日下午4:26 *,Joost Diepenmaat< jo ... @ zeekat.nlwrote:
On Aug 18, 4:26*pm, Joost Diepenmaat <jo...@zeekat.nlwrote:

lorlarz< lorl ... @ gmail.comwrites:
lorlarz <lorl...@gmail.comwrites:

Crockford的JavaScript,The Good Parts(书评)。

这可能是世界'最短的书评(对于

世界'

缩短书籍之一)。
Crockford''s JavaScript, The Good Parts (a book review).
This shall perhaps be the world''s shortest book review (for one of the
world''s
shortests books).


我喜欢道格拉斯·克罗克福德(因为我也是一个螃蟹老人;还有他

_is_

聪明又好)..但是,他怎么能写一本关于

JavaScript

的好部分的书,而不是提及解决CSS& DOM? *奇怪的。 *就像

怎么玩

有东西但没有解决JS的真实用途。

随着什么

Crockford谈到我们在

网页上没有足够的实际价值*(例如在浏览器的互联网上)* _use_

javascript )。
I like Douglas Crockford (because I am a crabby old man too; plus he
_is_
smart and good).. But, how can he write a book on the good parts of
JavaScript
and not mention functions that address CSS & DOM? *Weird. *It''s like
how to play
with things but not address the real things JS is made to play with.
With what
Crockford talks about we don''t have enough to actually *_use_
javascript on the
web (i.e on the Internet in a browser).


这是一个弱点吗? *是。 *该死的。 * CSS可能不完全

实现

并且DOM在浏览器中没有完全标准化,但没有

这是

一个难以逾越的问题_and_它** _是_ ** JavaScript是什么

左右。
Is this a weakness? *Yes. *Damned right. *CSS may not be fully
implemented
and the DOM is not fully standardized across browsers, but NONE of
this is
an insurmountable problem _and_ it **_IS_** what JavaScript is all
about.



好​​你的帖子提醒我拿到这本书。无论如何,Crockford就像我所知道的那样,在javascript / ecmascript中以人们实际的*代码*

的伪劣方式厌倦了,并打算写一个书籍教学

编码员如何有效地使用*语言*。


语言本身不包括任何CSS,DOM,BOM或其他,

并且至少有一个相当流行的实现,根本没有b $ b地址CSS等。请参阅:actionscript。


事情并没有像90年代那样糟糕,但在整个DOM / CSS / BOM中,b $ b包仍然是不合理的将大量的兼容性废话交给

处理,并将所有内容写入一本关于良好的编码

做法的书中。可能会稀释好的部分,这可能会使他们成为脚注。


-

Joost Diepenmaat |博客:HTTP://joost.zeekat.nl/ |工作: http://zeekat.nl/- 隐藏引用的文字 -


- 显示引用的文字 -


Good that your post reminded me to get the book. Anyway, Crockford as
far as I can tell, is fed up with the shoddy way people actualy *code*
in javascript/ecmascript, and has set out to write a book to teach
coders how to make effective use of the *language*.

The language itself does NOT include any CSS, DOM, BOM or whatever,
and there is at least one fairly popular implementation that doesn''t
address CSS etc at all. See: actionscript.

Things are not as bad as back in the 90s, but in the whole DOM/CSS/BOM
bag there is still an unreasonably large lump of compatibility crap to
deal with, and putting all that into a book about "good coding
practices" would dilute the good bits probably to the point of making
them footnotes.

--
Joost Diepenmaat | blog:http://joost.zeekat.nl/| work:http://zeekat.nl/- Hide quoted text -

- Show quoted text -



嘿。你真的很荒谬。许多JavaScript

函数

用于寻址和修改DOM并解决改变CSS



_javascript_功能。并且,它们允许大量的

通信

即JavaScript。示例:


GetElementById(字符串是元素ID);

createElement(字符串是元素类型);

[元素to appendTo] .appendChild(表示新元素的变量);

document.getElementById(elementName).value = variable或string;

document.getElementById(elementName)style.display =" none" ;;

document.getElementById(elementName).innerHTML =" hi";


没有这样的东西,实际上没有javascript程序

浏览器中的任何东西

。没有这些功能的任何事情,除非你

对警报很满意。真。变得真实。

Hey. You really are being ridiculous. The many many JavaScript
functions
for addressing and altering the DOM and addressing an altering CSS
are
_javascript_ functions. AND, they are what allow much of the
communication
that is JavaScript in action. Examples:

GetElementById(string which is element id);
createElement(string which is element type);
[element to appendTo].appendChild(variable representing new element);
document.getElementById(elementName).value = variable or string;
document.getElementById(elementName)style.display = "none";
document.getElementById(elementName).innerHTML = "hi";

Without such stuff there is NO javascript program that actually does
anything
in the browsers. NOTHING HAPPENS WITHOUT SUCH FUNCTIONS, unless you
are
happy with alerts. Really. Get real.


这篇关于Crockford的JavaScript,The Good Parts(书评)。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆