舉報

會員
Mastering JavaScript Promises
最新章節:
Index
Thisbookisforallthesoftwareandwebengineerswantingtoapplythepromisesparadigmtotheirnextprojectandgetthebestoutcomefromit.Thisbookalsoactsasareferencefortheengineerswhoarealreadyusingpromisesintheirprojectsandwanttoimprovetheircurrentknowledgetoreachthenextlevel.Togetthemostbenefitfromthisbook,youshouldknowbasicprogrammingconcepts,haveafamiliaritywithJavaScript,andagoodunderstandingofHTML.
目錄(143章)
倒序
- 封面
- 版權信息
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- Chapter 1. Promises.js
- The fall and rise of JavaScript
- Google's contributions to JavaScript
- Where Promises.js came in?
- What is a promise?
- Why do we need promise in JS?
- Software prerequisites
- Future promise and delay
- States of a promise
- How do we keep Promises.js in this book?
- Browser compatibility
- Summary
- Chapter 2. The JavaScript Asynchronous Model
- Programming models
- Learning the JavaScript asynchronous model
- The mechanism of a callback function in JavaScript
- The events
- The publisher/subscriber
- The promises object
- Summing up – the asynchronous programing model
- Summary
- Chapter 3. The Promise Paradigm
- Callback revisited
- Promise
- Deferred
- How do promise and deferred relate to each other?
- Standard behaviors of the Promise API
- Interactive promises
- The states and return values of a promise
- Common sequencing patterns
- Decoupling events and applications logic
- What promises prescribed not to do
- Promises and exceptions
- Best practices to handle exceptions in promise
- Considerations while choosing a promise
- Summary
- Chapter 4. Implementing Promises
- How to implement promises
- Implementations in Java
- Say hello to JDeferred
- Mechanics of JDeferred
- Ultimate JDeferred
- Summary
- Chapter 5. Promises in WinRT
- An introduction to WinRT
- The evolution of WinRT
- A little detail about WinJS
- WinJS – its purpose and a distribution history
- HTML5 CSS3 and JavaScript
- WT with HTML5 CSS3 and JavaScript
- The need for integrating promise with WT
- Problems when using asynchronous programming
- Jumpstarting promises
- Writing a function that returns a promise
- Error handling
- Chaining promises using the then() and done() functions
- Summary
- Chapter 6. Promises in Node.js
- The V8 engine – the mechanics
- The V8 engine in Google Chrome
- The evolution of Node.js
- A brief introduction to Node.js
- Download and install Node.js
- Node Package Manager – NPM
- Choice of environment
- Setting up the environment for Node.js
- A simple node server
- Things we learned so far
- Node.js with the Q library
- Moving ahead with Q
- Propagation in Q
- Chaining and nesting promises
- Sequences in Q
- Combination in Q
- How to handle errors in Q in Node.js
- Making progress with promises
- Getting to the end of a chain of promises
- Callback-based promises versus Q-based promises
- Q.Promise() – another way to create promises
- Static methods of Q
- Promise as a proxy
- Familiarizing Node.js – the Q way
- Unbinds and its solution
- Q support for tracing stacks
- Making promise-based actions
- Object handling promises
- View revisited
- Aborting a promise
- Q utilities for Node.js
- Summary
- Chapter 7. Promises in Angular.js
- The evolution of Angular.js
- The structure of the Angular.js document
- Getting started with Angular.js
- Creating your first Angular.js file
- How to use Angular.js on your local machine
- What would be your preference for the server?
- Key elements of Angular.js
- Implementing promises in Angular.js
- The schematics of using promises in Angular.js
- Promise as a handle for callback
- Blindly passing arguments and nested promises
- Deferred objects or composed promises
- Dealing with the nested calls
- Concurrency in Angular.js
- The combination of success and error
- The safe approach
- Route your promise
- Summary
- Chapter 8. Promises in jQuery
- From where it started?
- Behind the scenes – how does jQuery work?
- Is your document ready to submit?
- How to use jQuery
- The syntax
- Caching in jQuery
- A sample example
- JavaScript before and after jQuery
- The solution – introducing promises in jQuery
- Deferred in jQuery
- $.Deferred().promise() in jQuery
- Projecting a promise in jQuery
- Joining promises with $.when
- Your own $.Deferred process
- The advent of promises in jQuery
- Summary
- Chapter 9. JavaScript – The Future Is Now
- ECMAScript 6 (ECMA 262)
- harmony:generators
- The MEAN stack
- Real-time communication in JavaScript
- Internet of Things
- Computer animation and in 3D graphics
- NoSQL databases
- Summary
- Index 更新時間:2021-07-16 13:47:09
推薦閱讀
- scikit-learn Cookbook
- Mastering Ext JS(Second Edition)
- Python程序設計教程(第2版)
- Kali Linux Web Penetration Testing Cookbook
- Mobile Application Development:JavaScript Frameworks
- Java EE框架整合開發入門到實戰:Spring+Spring MVC+MyBatis(微課版)
- C#編程入門指南(上下冊)
- Twilio Best Practices
- CouchDB and PHP Web Development Beginner’s Guide
- Java軟件開發基礎
- Redis Essentials
- Scala編程實戰(原書第2版)
- Learning Probabilistic Graphical Models in R
- Mastering Web Application Development with AngularJS
- ExtJS Web應用程序開發指南第2版
- Go語言底層原理剖析
- Go語言從入門到精通
- Android高級開發實戰:UI、NDK與安全
- Node.js實戰:分布式系統中的后端服務開發
- C++從零開始學(視頻教學版)(第2版)
- Learning PowerShell DSC(Second Edition)
- C語言從入門到精通(第4版)
- 數據預處理從入門到實戰:基于SQL、R、Python
- Learning ArcGIS Geodatabases
- Game Development with SlimDX
- Data Analysis with R
- Infusionsoft Cookbook
- 計算機應用基礎教程
- JavaScript for .NET Developers
- Blueprints Visual Scripting for Unreal Engine