Javascript asynchronous programming: Design fast-response network applications

Source: Internet
Author: User
Original Title: async javascript: build more responsive apps with less Code: (US) Bonham (Burnham, T .) translator: Xu qingsong series name: Turing Program Design Series Press: People's post and telecommunications Press ISBN: 9787115316578 Release Date: May 2013 published on: 32 Open page: 1 release: 1-1 category: more about computers, JavaScript asynchronous programming: designing fast-response network applications, computer books, JavaScript asynchronous programming: design a fast-Response Network Application describes basic asynchronous processing techniques, including pubsub, event mode, promises, and so on. These techniques can better cope with the complexity of large web applications, deliver fast response code. Understanding the Asynchronous JavaScript mode allows readers to write javascript programs with a more reasonable structure, better performance, and more convenient maintenance. Javascript asynchronous programming: designing fast-response network applications is suitable for JavaScript developers. Javascript is a single-threaded programming language. How do you deal with the world of multimedia, multitasking, and multi-core? Experienced JavaScript programmers are also inevitably grayed out by the complicated callbacks on the network. So you should definitely look at JavaScript asynchronous programming. Javascript asynchronous programming: designing a responsive network application starts from the most basic and important JavaScript event model and vividly replay various asynchronous application scenarios, it presents various Asynchronous Design Patterns and asynchronous programming class libraries currently in use, from pubsub to promise objects, from Asynchronous workflow control class libraries to worker multithreading technology, until the asynchronous loading technology of browser scripts. This book provides a smooth description, from problem introduction to initial solutions, to case extension and advanced solutions, all the way to the next step. With one volume in hand, you can confidently cope with the complexity of large web applications and deliver JavaScript code that responds quickly! Directory JavaScript asynchronous programming: design a fast-Response Network Application Chapter 1 deep understanding of JavaScript event 1st event scheduling 11.1.1 now or in the future running 21.1.2 thread blocking 31.1.3 queue 11.1 asynchronous function type 51.2.1 asynchronous I/O function 51.2.2 asynchronous timing function 71.3 compiling of asynchronous functions 101.3.1 when the function is called asynchronous 101.3.2 or asynchronous functions 111.3.3 cache-Type Asynchronous functions 121.3.4 asynchronous recursion and callback storage 141.3.5 return value and callback mashups 151.4 asynchronous error handling errors thrown in callback 181.4.1 uncaptured Exception Handling 201.4.3 throw or not throw 231.5 nested callback solution nesting 24.1.6 Summary 26 Chapter 26 Distributed Event 2nd pubsub mode 282.1.1 eventemitter object 302.1.2 play with your own pubsub 312.1.3 synchronizations 322.2 event model 342.2.1 model event propagation 352.2.2 event loop and nested changes 362.3 jquery custom events 382.4 summary 41 chapter 3rd promise object and deferred object 433.1 promise Brief History 453.2 generate promise object 463.2.1 generate pure promise object 483.2.2 promise object in jquery API 503.3 pass data 523.4 progress notification to callback 533.5 merge promise object 553.6 Pipeline Connection future 583.7 jquery and promises /A comparison 623.8 use the promise object instead of the callback function 633.9 summary 65 chapter 4th async. JS workflow control 674.1 asynchronous workflow order 684.2 asynchronous data collection method 704.2.1 async. JS function syntax 714.2.2 async. JS error handling technology 734.3 async. JS task organization technology 754.3.1 asynchronous function sequence running 754.3.2 asynchronous function parallel running 774.4 asynchronous Workflow Dynamic queuing technology 784.4.1 in-depth understanding of queue 784.4.2 task columns 804.4.3 completion event processing 814.4.4 queue advanced callback method 824.5 minimalistic step workflow control 834.6 summary 84 chapter 5th multithreading technology for worker objects 875.1 limitations of webpage worker objects 895.1.1 web-based worker objects 905.1.2 web-based worker browsers 915.2 cluster-based node worker 925.2.1 node-based worker interaction interface 945.2.2 node-based worker object limitations 955.3 summary 96 Chapter 6 asynchronous Script Loading 6th limitations and supplements 976.1 (SCRIPT) tag re-identification 996.2.1 blocking script where to choose 996.2.2 script delay running 1016.2.3 script full parallelization 1026.3 programmable Script Loading 1056.3.1 direct loading script 1056.3.2 yepnope conditional loading limit 6.3.3 require. JS/AMD smart loading 1086.4 summary 111 appendix JavaScript editing tool 113 index 118 Book Information Source: China Interactive publishing network

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.