JavaScript for PHP Developers 1st Edition by Stoyan Stefanov – Ebook PDF Instant Download/Delivery: 9781449370329 ,1449370322
Full download JavaScript for PHP Developers 1st Edition after payment
Product details:
ISBN 10: 1449370322
ISBN 13: 9781449370329
Author: Stoyan Stefanov
JavaScript for PHP Developers 1st Edition Table of contents:
Chapter 1. Introduction
Scope of This Book
The Language
Learning Environment
Browsers
JavaScriptCore
Node.js and Rhino
Longer Examples
Let’s Get Started
Chapter 2. JavaScript Syntax
Variables
What Does $ Do in JavaScript?
Values
typeof Introspection
null and undefined
Arrays
Associative Arrays
Conditions
Ternary Operator
Strict Comparison
switch
try-catch
while and for Loops
for-in Loops
Miscellaneous Operators
in
String Concatenation
Type Casting
void
Comma Operator
Chapter 3. Functions
Default Parameters
Any Number of Arguments
arguments.length Trick
Return Values
Functions Are Objects
A Different Syntax
Scope
Hoisting
Hoisting Functions
Closures
Closures in PHP
Scope Chain
The Scope Chain in the WebKit Console
Retaining the Scope
Retaining References, Not Values
Closures in a Loop
Exercise: onclick Loop
Immediate Functions
Initialization
Privacy
Passing and Returning Functions
Callbacks Are Not Strings
Chapter 4. Object-Oriented Programming
Constructors and Classes
Returning Objects
Enforcing Constructors
Prototypes
Object Literals
Accessing Properties
Confusing Dots
Methods in Object Literals
Fancy Arrays
Own Properties
__proto__
this or prototype
Inheritance
Inheritance via the Prototype
Inheritance via Copying Properties
Beget Object
“Classical” extend()
Borrowing Methods
Conclusion
Chapter 5. The Built-In API
The Global Object
Global Properties
Global Functions
Numbers
Encoding URLs
Built-In Constructors
Object
Array
RegExp
Function
String
Number
Boolean
Math
Error
Date
Constructors Review
Chapter 6. ECMAScript 5
Strict Mode
Property Attributes
New Object APIs
Object.create()
Object.getOwnPropertyDescriptor()
Object.defineProperty() and Object.defineProperties()
Restricting Object Mutations
Looping Alternatives
Object.getPrototypeOf()
Array Additions
Array.isArray()
indexOf() and lastIndexOf()
Walking the Array Elements
Filtering
Testing the Array Content
Map/Reduce
String Trimming
New in Date
Function.prototype.bind()
JSON
Shims
Chapter 7. JavaScript Patterns
Private Properties
Private Methods
Exposing Private Objects
Returning Private Arrays
Deep Copy via JSON
Revealing Pattern
Constants
Namespaces
Modules
CommonJS Modules
Defining a CommonJS Module
Using a CommonJS Module
Using an Agnostic Module
AMD
Design Patterns
Singleton
Factory
Decorator
Documentation and Testing
Manual
Documenting Your Code
Unit Testing
JSLint
Linting This Book
Index
People also search for JavaScript for PHP Developers 1st Edition:
javascript vs php for web development
javascript developer salary philippines
javascript required for web development
javascript vs php for backend
Tags:
Stoyan Stefanov,JavaScript,PHP Developers