Understanding Advanced JavaScript

This book is an exploration of popular advanced JavaScript concepts for those who already have a grasp on the basics. "Understanding Advanced JavaScript" is a comprehensive manual and how-to guide about all things JavaScript. Learn to design better APIs, use the latest tools and navigate the JavaScript MVC Jungle effortlessly.

Options

$4.99

In this eBook, you will receive expert tips and techniques on avoiding coding tripwires and improving your programming methodologies. Need to know how your JavaScript performs? Find out about unit testing and user and network-related analyses. Master JavaScript with industry leaders who explain how to make fine-tuning, streamlining and testing your JavaScript code easy.

TABLE OF CONTENTS

Analysing Network Characteristics Using JavaScript And The DOM, Part 1

Introduction To JavaScript Unit Testing

Journey Through The JavaScript MVC Jungle

JavaScript Events And Responding To The User

JavaScript Profiling With The Chrome Developer Tools

Writing Fast, Memory-Efficient JavaScript

Designing Better JavaScript APIs

Technical Information

Formats: PDF, EPUB, Kindle (DRM-free)

Pages: 155

Language: English

Released: February 2013

Publisher: Smashing Media GmbH

ISBN: 978-3-943075-60-1

Excerpt From Chapter 3

Journey Through The JavaScript MVC Jungle — by Addy Osmani

When writing a Web application from scratch, it’s easy to feel like we can get by simply by relying on a DOM manipulation library (like jQuery) and a handful of utility plugins. The problem with this is that it doesn’t take long to get lost in a nested pile of jQuery callbacks and DOM elements without any real structure in place for our applications.

In short, we’re stuck with spaghetti code. Fortunately there are modern JavaScript frameworks that can assist with bringing structure and organization to our projects, improving how easily maintainable they are in the long-run.

Excerpt From Chapter 7

Designing Better JavaScript APIs — by Rodney Rehm

At some point or another, you will find yourself writing JavaScript code that exceeds the couple of lines from a jQuery plugin. Your code will do a whole lot of things; it will (ideally) be used by many people who will approach your code differently. They have different needs, knowledge and expectations.

This chapter covers the most important things that you will need to consider before and while writing your own utilities and libraries. We’ll focus on how to make your code accessible to other developers. A couple of topics will be touching upon jQuery for demonstration, yet this chapter is neither about jQuery nor about writing plugins for it.

Today, too many websites are still inaccessible. In our new book Inclusive Design Patterns, we explore how to craft flexible front-end design patterns and make future-proof and accessible interfaces without extra effort. Hardcover, 312 pages. Get the book →

Meet SmashingConf San Francisco 2017, featuring front-end ingredients, UX recipes and nothing but practical beats from the hidden corners of the web. Only practical, real-life techniques and recipes you can learn from. Get your ticket now!