eBooks-it.org Logo
eBooks-IT.org Inner Image

Async JavaScript

Build More Responsive Apps with Less Code

Async JavaScript Image

Book Details:

Publisher:Pragmatic Bookshelf
Series: Pragmatic Bookshelf
Author:Trevor Burnham
Edition:1
ISBN-10:1937785270
ISBN-13:9781937785277
Pages:104
Published:Dec 05 2012
Posted:Nov 19 2014
Language:English
Book format:PDF
Book size:3.43 MB

Book Description:

With the advent of HTML5, front-end MVC, and Node.js, JavaScript is ubiquitous--and still messy. This book will give you a solid foundation for managing async tasks without losing your sanity in a tangle of callbacks. It's a fast-paced guide to the most essential techniques for dealing with async behavior, including PubSub, evented models, and Promises. With these tricks up your sleeve, you'll be better prepared to manage the complexity of large web apps and deliver responsive code. With Async JavaScript, you'll develop a deeper understanding of the JavaScript language. You'll start with a ground-up primer on the JavaScript event model--key to avoiding many of the most common mistakes JavaScripters make. From there you'll see tools and design patterns for turning that conceptual understanding into practical code. The concepts in the book are illustrated with runnable examples drawn from both the browser and the Node.js server framework, incorporating complementary libraries including jQuery, Backbone.js, and Async.js. You'll learn how to create dynamic web pages and highly concurrent servers by mastering the art of distributing events to where they need to be handled, rather than nesting callbacks within callbacks within callbacks.Async JavaScript will get you up and running with real web development quickly. By the time you've finished the Promises chapter, you'll be parallelizing Ajax requests or running animations in sequence. By the end of the book, you'll even know how to leverage Web Workers and AMD for JavaScript applications with cutting-edge performance. Most importantly, you'll have the knowledge you need to write async code with confidence.What You Need: Basic knowledge of JavaScript is recommended. If you feel that you're not up to speed, see the "Resources for Learning JavaScript" section in the preface.

Download Link:

Related Books:

You Don't Know JS

Async & Performance
You Don't Know JS Image
No matter how much experience you have with JavaScript, odds are you don';t fully understand the language. As part of the "You Don';t Know JS" series, this concise yet in-depth guide focuses on new asynchronous features and performance techniques-including Promises, generators, and Web Workers-that let you create sophisticated single-page web applications and escape callback hell in the process.Like other books in this series, You Don';t Know JS: Async Performance dives into trickier parts of the language that many JavaScript programmers simply avoid. Armed with this knowledge, you can become a true JavaScript master.With this book you will:Explore old and new JavaScript methods for handling asynchronous programmingUnderstand how callbacks...

Object-Oriented JavaScript

Create scalable, reusable high-quality JavaScript applications and libraries
Object-Oriented JavaScript Image
Create scalable and reusable high-quality JavaScript applications and libraries using the concepts of object-oriented programming. This book is for the beginning to intermediate web developer who wants to solve web development problems with smart JavaScript. It does not assume any prior knowledge of JavaScript programming; however even if you already know some JavaScript, there will be plenty for you to learn here....

JavaScript Testing with Jasmine

JavaScript Behavior-Driven Development
JavaScript Testing with Jasmine Image
Get a concise introduction to Jasmine, the popular behavior-driven testing framework for JavaScript. This practical guide shows you how to write unit tests with Jasmine that automatically check for bugs in your application. Learn how to write specifications for individual components, and then use those specs to test the code you write. Throughout the book, author Evan Hahn focuses primarily on methods for testing browser-based JavaScript applications, but you'll also discover how to use Jasmine with CoffeeScript, Node.js, Ruby on Rails, and Ruby without Rails. You won't find a more in-depth source for Jasmine anywhere. Get an overview of both test-driven and behavior-driven development Write useful specs by determining what you need to testand what y...



2007 - 2021 © eBooks-IT.org