万本电子书0元读

万本电子书0元读

顶部广告

Web Developer's Reference Guide电子书

售       价:¥

0人正在读 | 0人评论 9.8

作       者:Joshua Johanan

出  版  社:Packt Publishing

出版时间:2016-03-28

字       数:3834.3万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
A one-stop guide to the essentials of web development including popular frameworks such as jQuery, Bootstrap, AngularJS, and Node.js About This Book Understand the essential elements of HTML, CSS, and JavaScript, including how and when to use them Walk through three of the best and most popular web development frameworks – jQuery, Bootstrap, and AngularJS References for any function you will need in your day-to-day web development Who This Book Is For This book is perfect for beginners but more advanced web developers will also benefit. Laid out so you can refer to as much or as little as you need to, with this book you can exhaustively explore essential concepts for modern web developers. What You Will Learn Explore detailed explanations of all the major HTML elements and attributes, illustrated with examples Take a deep dive into CSS properties and functions and master their usage Find clear, concise de*ions of JavaScript syntax and expressions Recognize various JavaScript design patterns and learn the basics of JavaScript object-orientated programming Implement the latest ECMAScript 6 for client-side *ing in your web applications Discover new ways to develop your website's front end quickly and easily using Bootstrap Write JavaScript extensibly using jQuery-JavaScript's feature-rich library Delve into the key Node.js modules used in JavaScript server-side programming Access AngularJS 's important modules, controllers, directives, and services quickly In Detail This comprehensive reference guide takes you through each topic in web development and highlights the most popular and important elements of each area. Starting with HTML, you will learn key elements and attributes and how they relate to each other. Next, you will explore CSS pseudo-classes and pseudo-elements, followed by CSS properties and functions. This will introduce you to many powerful and new selectors. You will then move on to JavaScript. This section will not just introduce functions, but will provide you with an entire reference for the language and paradigms. You will discover more about three of the most popular frameworks today—Bootstrap, which builds on CSS, jQuery which builds on JavaScript, and AngularJS, which also builds on JavaScript. Finally, you will take a walk-through Node.js, which is a server-side framework that allows you to write programs in JavaScript. Style and approach This book is an easy-to-follow, comprehensive reference guide. Each topic, function, or element is listed methodically along with parameters, return values, and de*ions. Examples are also included to help you put the concepts to use quickly in the real world.
目录展开

Parameter

Description

every()

Returns

Parameter

Description

foreach()

Returns

Parameter

Description

join()

Returns

Parameter

Description

pop()

Returns

Parameter

Description

push()

Returns

Parameter

Description

indexOf()

Returns

Parameter

Description

lastIndexOf()

Returns

Parameter

Description

reverse()

Returns

Parameter

Description

shift()

Returns

Parameter

Description

unshift()

Returns

Parameter

Description

slice()

Returns

Parameter

Description

splice()

Returns

Parameter

Description

sort()

Returns

Parameter

Description

toString()

Returns

Parameter

Description

ECMA5 Array methods

array.prototype.map()

Returns

Parameters

Description

array.prototype.filter()

Returns

Parameters

Description

array.prototype.reduce()

Returns

Parameters

Description

array.prototype.forEach()

Returns

Parameter

Description

array.prototype.indexOf()

Returns

Parameter

Description

array.prototype.lastIndexOf()

Returns

Parameter

Description

array.prototype.every()

Returns

Parameter

Description

array.prototype.some()

Returns

Parameters

Description

array.prototype.reduceRight()

Returns

Parameters

Description

10. JavaScript Object-Oriented Programming

Polymorphism

Encapsulation

Inheritance

Abstraction

Objects

Creating objects

Object literals

The new keyword

The object.create() method

Design patterns

Constructor pattern

Description

Simple constructors

Prototype constructors

Module pattern

Description

Object literal notation

The module pattern

The revealing module pattern

Description

The singleton pattern

Description

The observer pattern

Description

The mediator pattern

Description

The prototype pattern

Description

Command pattern

Description

The facade pattern

Description

The factory pattern

Description

The mixin pattern

Description

Property getter and setter

Description

Deleting properties

Description

Testing properties

Description

Enumerating properties

Description

Property attributes

Description

Object attributes

Serializing objects

Description

Objects methods

Description

Functions and methods

Invoking functions

Defining functions

Function arguments and parameters

Parameters and return values

Functions as namespace

Closure

Function properties

Methods

Function constructor

Classes and modules

Classes and prototypes

Constructors

Defining a class

Using a function

Using object literals

Classes in the ECMA5 script

Modules

Inheritance

Prototype chaining

Description

Constructor stealing

Description

Combination inheritance

Description

Prototypal inheritance

Description

Parasitic inheritance

Description

Parasitic combination inheritance

Description

Subclasses

Built-in objects

Global objects

Description

Date object

getTime()

Parameters

Returns

Description

getMilliseconds()

Parameters

Returns

Description

getMinutes()

Parameters

Returns

Description

getHours()

Parameters

Returns

Description

getDate()

Parameters

Returns

Description

getDay()

Parameters

Returns

Description

getMonth()

Parameters

Returns

Description

getFullYear()

Parameters

Returns

Description

Set date methods

Math object

min()

Parameters

Returns

Description

max()

Parameters

Returns

Description

random()

Parameters

Returns

Description

round()

Parameters

Returns

Description

ceil()

Parameters

Returns

Description

floor()

Parameters

Returns

Description

The RegExp object

Parameters

Returns

Description

Defining a regular expression

RegExp constructor

Literal syntax

String object

Match(pattern)

Parameters

Returns

Description

Replace(pattern)

Parameters

Returns

Description

Split(pattern)

Parameters

Returns

Description

search(pattern)

Parameters

Returns

Description

Array objects

.Pop()

Parameters

Returns

Description

.Push()

Parameters

Returns

Description

.ToString()

Parameters

Returns

Description

.ValueOf()

Parameters

Returns

Description

.Join()

Parameters

Returns

Description

.Splice()

Parameters

Returns

Description

.sort()

Parameters

Returns

Description

.reverse()

Parameters

Returns

Description

.slice()

Parameters

Returns

Description

.concat()

Parameters

Returns

Description

11. Extending JavaScript and ECMAScript 6

Compatibility and goals

JavaScript subset and extensions

JavaScript subsets

Secure subsets

ADsafe

Dojox

Caja

FBJS

Microsoft's web sandbox

JavaScript extensions

Const

Let

Destructuring assignment

For each

Iterator

Generators

Array

Generator expression

Scoped variables and constants

Shorthand functions

Multiple catch clauses

The try clause

The catch clause

The finally clause

E4X – ECMAScript for XML

ECMAScript 6 features

Arrow functions

Classes

Enhanced object literals

Property initializer shorthand

Method initializer shorthand

Template strings

Basics

Multiline strings

Destructuring assignment

Array destructuring

Object destructuring

Extended parameter handling

Default parameter

Rest parameter

Spread operator

Bindings

Iterators and the for...of operator

Generators

Better Unicode support

Modules

Module loaders

Loader methods

Collections

Sets

Maps

Map.prototype.clear()

Returns

Parameter

Description

Map.prototype.delete()

Returns

Parameter

Description

Map.prototype.entries()

Returns

Parameter

Description

Map.prototype.forEach()

Returns

Parameter

Description

Map.prototype.get()

Returns

Parameter

Description

Map.prototype.has()

Returns

Parameter

Description

Map.prototype.keys()

Returns

Parameter

Description

Map.prototype.set()

Returns

Parameter

Description

Map.prototype.values()

Returns

Parameter

Description

WeakMap

WeakMap.prototype.clear()

Returns

Parameters

Description

WeakMap.prototype.delete()

Returns

Parameters

Description

WeakMap.prototype.get()

Returns

Parameters

Description

WeakMap.prototype.has()

Returns

Parameters

Description

WeakMap.prototype.set()

Returns

Parameters

Description

Weakset

WeakSet.prototype.add(someValue)

Returns

Parameter

Description

WeakSet.prototype.delete(someValue)

Returns

Parameter

Description

WeakSet.prototype.has(someValue)

Returns

Parameter

Description

Proxies

Symbols

Subclassable built-ins

Promises

Promise.All()

Returns

Parameter

Description

Promise.prototype.catch()

Returns

Parameter

Description

Promise.resolve(value)

Returns

Parameter

Description

Using the then method

Chaining

Promise.reject(value)

Returns

Parameter

Description

Promise.race(value)

Returns

Parameter

Description

Core math library APIs

Binary and octal literals

Reflect API

Reflect.get(target, prop, [receiver])

Returns

Parameter

Description

Reflect.set(target, prop, value, [receiver])

Returns

Parameter

Description

Reflect.has(target, prop)

Returns

Parameter

Description

Reflect.apply(target, receiver, args)

Returns

Parameter

Description

Reflect.construct(target, args)

Returns

Parameter

Description

Reflect.getOwnPropertyDescriptor(target, prop)

Returns

Parameter

Description

Reflect.defineProperty(target, prop, desc)

Returns

Parameter

Description

Reflect.getPrototypeOf(target)

Returns

Parameter

Description

Reflect.setPrototypeOf(target, newProto)

Returns

Parameter

Description

Reflect.deleteProperty(target, prop)

Returns

Parameter

Description

Reflect.enumerate(target)

Returns

Parameter

scroll()

Parameters

Returns

Description

Effects and animations

animate()

Parameters

Returns

Description

stop()

Parameters

Returns

Description

Hide, show, and toggle

hide()

Parameters

Returns

Description

show()

Parameters

Returns

Description

toggle()

Parameters

Returns

Description

Fade

fadeIn()

Parameters

Returns

Description

fadeOut()

Parameters

Returns

Description

fadeToggle()

Parameters

Returns

Description

fadeTo()

Parameters

Returns

Description

Sliding

slideDown()

Parameters

Returns

Description

slideUp()

Parameters

Returns

Description

slideToggle()

Parameters

Returns

Description

Callback

callbacks.add()

Parameters

Returns

Description

callbacks.fire()

Parameters

Returns

Description

callbacks.remove()

Parameters

Returns

Description

callbacks.disable()

Parameters

Returns

Description

Chaining

jQuery and the document object model

jQuery traversing

Ancestors

parent()

Parameters

Returns

Description

parents():

Parameters

Returns

Description

parentsUntil():

Parameters

Returns

Description

Descendants

children()

Parameters

Returns

Description

find()

Parameters

Returns

Description

Siblings

siblings()

Parameters

Returns

Description

next()

Parameters

Returns

Description

nextAll()

Parameters

Returns

Description

nextUntil()

Parameters

Returns

Description

prev()

Parameters

Returns

Description

prevAll()

Parameters

Returns

Description

prevUntil()

Parameters

Returns

Description

Filtering

first()

Parameters

Returns

Description

last()

Parameters

Returns

Description

eq()

Parameters

Returns

Description

filter()

Parameters

Returns

Description

Using AJAX in jQuery

The jQuery Ajax load

Parameters

Returns

Description

jQuery Ajax Get

Parameters

Returns

Description

jQuery Ajax Post

Parameters

Returns

Description

Miscellaneous jQuery functions

noConflict()

Parameters

Returns

Description

param()

Parameters

Returns

Description

index()

Parameters

Returns

Description

each()

Parameters

Returns

Description

data()

Parameters

Returns

Description

removeData()

Parameters

Returns

Description

jQuery plugins

jQuery resources

15. AngularJS – Google's In-Demand Framework

Modules (ngApp)

module

Parameters

Return value

Description

config

Parameters

Return value

Description

run

Parameters

Return value

Description

Routing (ngRoute)

ngView

Parameters

Return value

Description

$routeProvider

Parameters

Return value

Description

$route

Properties

Events

Description

$routeParams

Dependency injection

Dependency injection in Angular

injector

Parameters

Return value

Description

$injector

Methods

Description

Controllers

ngController

Parameters

Description

$scope

Data binding and templates

Event binding

Scope

Digest cycle

$digest

Description

$watch

Parameters

Return value

Description

$apply

Parameters

Return value

Description

Hierarchies

Services

Factory

Parameters

Return value

Description

Service

Parameters

Return value

Description

Provider

Parameters

Return value

Description

Value

Parameters

Return value

Description

Constant

Parameters

Return value

Description

$http

Parameters

Return value

Description

Convenience methods

GET

Description

POST

Description

jsonp

Notable services

Promises

$q

Return value

Description

Expressions

Expressions in JavaScript

Context

Directives

Normalization

Scope

@ binding

= binding

& binding

Modifying DOM

Event binding

Directive definition object

Controller vs link

Key directives

ngApp

Parameters

Description

ngModel

Parameters

Description

ngDisabled

Parameters

Description

ngChecked

Parameters

Description

ngClass

Parameters

Description

ngClassOdd and ngClassEvent

Parameters

Description

ngRepeat

Parameters

Description

ngShow and ngHide

Parameters

Description

ngSwitch

Parameters

Description

ngClick

Parameters

Description

ngDblclick

Parameters

Description

ngMousedown, ngMouseup, ngMouseover, ngMouseenter, and ngMouseleave

Parameters

Description

ngMousemove

Parameters

Description

ngKeydown, ngKeyup, and ngKeypress

Parameters

Description

ngSubmit

Parameters

Description

ngFocus and ngBlur

Parameters

Description

ngCopy, ngCut, and ngPaste

Parameters

Description

Globals

Extend

Parameters

Return value

Description

noop

Parameters

Return value

Description

isUndefined

Parameters

Return value

Description

Copy

Parameters

Return value

Description

Bind

Parameters

Return value

Description

Forms

ngModel

CSS classes

Validation

Custom validators

Testing

Unit testing with Jasmine and Karma

Jasmine

Karma

ngMock

Module

Parameters

Description

Inject

Parameters

Description

$httpBackend

Parameters

Return value

Description

Unit testing controllers

Unit testing directives

Unit testing services

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部