http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-2.xsd
Annotation Think in JavaScript Make object-oriented programming accessible and understandable to web developers Apply design patterns to solve JavaScript coding problems Learn coding patterns that unleash the unique power of the language Write better and more maintainable JavaScript code Type in and play around with examples that can be used in your own scripts.
Cover; Copyright; Credits; About the Authors; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1:Object-oriented JavaScript; A bit of history; Browser wars and renaissance; The present; The future; ECMAScript 5; Object-oriented programming; Objects; Classes; Encapsulation; Aggregation; Inheritance; Polymorphism; OOP summary; Setting up your training environment; WebKit's Web Inspector; JavaScriptCore on a Mac; More consoles; Summary; Chapter 2:Primitive Data Types, Arrays, Loops, and Conditions; Variables; Variables are case sensitive; Operators; Primitive data types.
Finding out the value type -- the typeof operatorNumbers; Octal and hexadecimal numbers; Exponent literals; Infinity; NaN; Strings; String conversions; Special strings; Booleans; Logical operators; Operator precedence; Lazy evaluation; Comparison; Undefined and null; Primitive data types recap; Arrays; Adding/updating array elements; Deleting elements; Arrays of arrays; Conditions and loops; The if condition; The else clause; Code blocks; Checking if a variable exists; Alternative if syntax; Switch; Loops; While loops; Do-while loops; For loops; For-in loops; Comments; Summary; Exercises.
Chapter 3:FunctionsWhat is a function?; Calling a function; Parameters; Predefined functions; parseInt(); parseFloat(); isNaN(); isFinite(); eval(); Scope of variables; Variable hoisting; Functions are data; Anonymous functions; Callback functions; Callback examples; Immediate functions; Inner (private) functions; Functions that return functions; Function, rewrite thyself!; Closures; Scope chain; Breaking the chain with a closure; Closure #1; Closure #2; A definition and closure #3; Closures in a loop; Getter/setter; Iterator; Summary; Exercises; Chapter 4:Objects; From arrays to objects.
Elements, properties, methods, and membersHashes and associative arrays; Accessing an object's properties; Calling an object's methods; Altering properties/methods; Using the this value; Constructor functions; The global object; The constructor property; The instanceof operator; Functions that return objects; Passing objects; Comparing objects; Objects in the WebKit console; console.log; Built-in objects; Object; Array; A few array methods; Function; Properties of function objects; Methods of function objects; The arguments object revisited; Inferring object types; Boolean; Number; String.
A few methods of string objectsMath; Date; Methods to work with date objects; RegExp; Properties of RegExp objects; Methods of RegExp objects; String methods that accept regular expressions as arguments; search() and match(); replace(); Replace callbacks; split(); Passing a string when a regexp is expected; Error objects; Summary; Exercises; Chapter 5:Prototype; The prototype property; Adding methods and properties using the prototype; Using the prototype's methods and properties; Own properties versus prototype properties; Overwriting a prototype's property with an own property.
Plný text je dostupný pouze z IP adres počítačů Univerzity Tomáše Bati ve Zlíně nebo vzdáleným přístupem pro zaměstnance a studenty
Object-oriented programming (Computer science)