Professional JavaScript for Web developers

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Прекрасная книга по современному JavaScript. В этой книге объясняется как программировать на JavaScript с использованием ООП, обработка ошибок, использование Ajax, XML, использование WebService etc. После прочтения у вас не должно возникнуть проблем с пониманием исходного кода библиотеки javascript prototype ;)

Author(s): Nicholas C. Zakas
Series: Wrox professional guides \ Programmer to Programmer
Publisher: Wrox/Wiley Pub
Year: 2005

Language: English
Commentary: 1146067566*Отл
Pages: 674
City: Hoboken, N.J

Cover......Page 1
Contents......Page 11
Introduction......Page 23
A Short History......Page 29
ECMAScript......Page 31
The Document Object Model (DOM)......Page 34
Summary......Page 37
Syntax......Page 39
Variables......Page 40
Primitive and Reference Values......Page 43
The typeof operator......Page 44
The Undefined type......Page 45
The Number type......Page 46
The String type......Page 48
Conversions......Page 49
Converting to a string......Page 50
Converting to a number......Page 51
Type Casting......Page 52
Reference Types......Page 53
The Object class......Page 54
The Number class......Page 55
The String class......Page 57
The instanceof operator......Page 60
Unary operators......Page 61
Bitwise operators......Page 65
Boolean operators......Page 71
Multiplicative operators......Page 74
Additive operators......Page 75
Relational operators......Page 77
Equality operators......Page 78
Assignment operators......Page 80
The if statement......Page 81
Iterative statements......Page 82
The break and continue statements......Page 84
The switch statement......Page 86
Functions......Page 87
No overloading......Page 89
The arguments object......Page 90
The Function class......Page 91
Closures......Page 93
Summary......Page 94
Object-Oriented Terminology......Page 95
Declaration and instantiation......Page 96
Early versus late binding......Page 97
Native objects......Page 98
Built-in objects......Page 109
Host objects......Page 115
Static is not static......Page 116
The this keyword......Page 117
Factory paradigm......Page 118
Constructor paradigm......Page 120
Prototype paradigm......Page 121
Hybrid constructor/prototype paradigm......Page 122
Dynamic prototype method......Page 123
Hybrid factory paradigm......Page 124
A practical example......Page 125
Creating a new method......Page 127
Redefining an existing method......Page 128
Very late binding......Page 129
Summary......Page 130
Inheritance in Action......Page 131
Implementing Inheritance......Page 132
Methods of inheritance......Page 133
A more practical example......Page 139
Alternative Inheritance Paradigms......Page 143
zInherit......Page 144
xbObjects......Page 148
Summary......Page 152
The