Secrets of the JavaScript Ninja

Author: John Resig
Publisher: Manning Publications
ISBN: 1617292850
Release Date: 2016-03
Genre: Computers

More than ever, the web is a universal platform for all types of applications, and JavaScript is the language of the web. For anyone serious about web development, it's not enough to be a decent JavaScript coder. They need to be ninja-stealthy, efficient, and ready for anything. Secrets of the JavaScript Ninja, Second Edition dives below the surface and helps readers understand the deceptively-complex world of JavaScript and browser-based application development. It skips the basics, and dives into core JavaScript concepts such as functions, closures, objects, prototypes, promises, and so on. With examples, illustrations, and insightful explanations, readers will benefit from the collective wisdom of seasoned experts John Resig, Bear Bibeault, and Josip Maras. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

Secrets of the JavaScript Ninja

Author: John Resig
Publisher: Manning Publications
ISBN: 193398869X
Release Date: 2013
Genre: Computers

In Secrets of the JavaScript Ninja, JavaScript expert John Resig reveals the inside know-how of the elite JavaScript programmers. Written to be accessible to JavaScript developers with intermediate-level skills. This book takes readers on a journey towards mastering modern JavaScript development in three phases: design, construction, and maintenance. It first establishes a base of strong, advanced JavaScript knowledge. The book then teaches readers how to construct a JavaScript library. It examines all the numerous tasks JavaScript libraries have to tackle and provides practical solutions and development strategies. It then presents the various maintenance techniques required to keep their code running well into the future. With Secrets of the JavaScript Ninja readers will gain the knowledge and Ninja-like skills to build their own JavaScript libraries, or to understand how to use any modern JavaScript library available. What's inside: Introduction Testing and debugging Functions Closures Function prototypes Timers Regular expressions With statements Code evaluation Strategies for cross-browser code CSS Selector Engine DOM modification Attributes and CSS Events Ajax Animation Performance

Pro JavaScript Techniques

Author: John Paxton
Publisher: Apress
ISBN: 9781430263920
Release Date: 2015-07-10
Genre: Computers

Pro JavaScript Techniques is the ultimate JavaScript book for today's web developer. It provides everything you need to know about modern JavaScript, and teaches you what JavaScript can do for your web sites. This book doesn't waste any time looking at things you already know, but instead concentrates on fundamental, vital topics—what modern JavaScripting is (and isn't), and pitfalls to be wary of. You will learn about the 'this' keyword, as well as new object tools. You will be able to create reusable code with encapsulation, overloading and inheritance. The most recent techniques for debugging and testing are covered comprehensively, with information on Chrome developer tools, Jasmine, PhantomJS and Protractor. This update finishes with chapters on constructing single-page web applications that dominate the modern web. The book is filled with real-world examples and case studies, as well as numerous reusable functions and classes to save you time in your development. You will learn the practical skills needed to build professional, dynamic web applications. Pro JavaScript Techniques is an indispensable reference for any professional JavaScript web developer—enhance your JavaScript development today.

Secrets of the JavaScript Ninja

Author: John Resig
Publisher: Manning Publications; 1 edition (December 28, 2012)
ISBN:
Release Date: 2012-12-28
Genre: Computers

Summary Secrets of the Javascript Ninja takes you on a journey towards mastering modern JavaScript development in three phases: design, construction, and maintenance. Written for JavaScript developers with intermediate-level skills, this book will give you the knowledge you need to create a cross-browser JavaScript library from the ground up. About this Book You can't always attack software head-on. Sometimes you come at it sideways or sneak up from behind. You need to master an arsenal of tools and know every stealthy trick. You have to be a ninja. Secrets of the JavaScript Ninja leads you down the pathway to JavaScript enlightenment. This unique book starts with key concepts, like the relationships between functions, objects, and closures, taught from the master's perspective. You'll grow from apprentice to ninja as you soak up fresh insights on the techniques you use every day and discover features and capabilities you never knew about. When you reach the final chapters, you'll be ready to code brilliant JavaScript applications and maybe even write your own libraries and frameworks. You don't have to be a ninja to read this book—just be willing to become one. Are you ready? Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book. What's Inside Functions, objects, closures, regular expressions, and more Seeing applications and libraries from the right perspective Dealing with the complexities of cross-browser development Modern JavaScript design About the Authors John Resig is an acknowledged JavaScript authority and the creator of the jQuery library. Bear Bibeault is a web developer and coauthor of Ajax in Practice, Prototype and Scriptaculous in Action, and jQuery in Action from Manning. Table of Contents PART 1 PREPARING FOR TRAINING Enter the ninja Arming with testing and debugging PART 2 APPRENTICE TRAINING Functions are fundamental Wielding functions Closing in on closures Object-orientation with prototypes Wrangling regular expressions Taming threads and timers PART 3 NINJA TRAINING Ninja alchemy: runtime code evaluation With statements Developing cross-browser strategies Cutting through attributes, properties, and CSS PART 4 MASTER TRAINING Surviving events Manipulating the DOM CSS selector engines

Advanced Javascript

Author: Chuck Easttom
Publisher: Jones & Bartlett Learning
ISBN: 9781449633486
Release Date: 2010-10-22
Genre: Computers

Advanced JavaScript, Third Edition provides an in-depth examination of the most important features of JavaScript. Beginning with an overview of JavaScript, the book quickly moves into more advanced features needed for complex yet robust JavaScript scripts, such as objects, arrays, and date and time functions. Additionally, various features of JavaScript that are essential for modern web pages are discussed, including manipulating the status bar, creating dynamic calendars, and working with forms, images, and the Document Object Model. Numerous examples illustrate how to implement various techniques. Topics covered how to enhance your web pages with LED signs, banners, and images; implementing cookies to store and retrieve information; the structure of the Document Object Model and how it can be used to view, access, and change an HTML document; Security measures to protect private information while using the Internet.

Jquery in Action

Author: Bear Bibeault
Publisher: Manning Publications
ISBN: 1617292079
Release Date: 2015-05-01
Genre: Computers

Thanks to jQuery, almost no one remembers the bad old days when developers had to manually manage browser inconsistencies, CSS support, and DOM navigation, and every animation was a frustrating exercise in hand-coded JavaScript. jQuery beautifully manages these concerns, and more, through an elegant, instantly-intuitive library that's become a nearly-universal part of the web. And the latest version of jQuery adds even more features and components to make life as a web developer smooth and productive. jQuery in Action, Third Edition, is a fast-paced complete guide to jQuery, focused on the tasks faced in nearly any web dev project. Written for readers with minimal JavaScript experience, this revised edition adds new examples and exercises, along with the deep and practical coverage you expect from an "In Action" book. You'll learn how to traverse HTML documents, handle events, perform animations, write plugins, and even unit test your code. The unique lab pages anchor each concept with real-world code. Several new chapters teach you how to interact with other tools and frameworks to build modern single-page web applications. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

Effective JavaScript

Author: David Herman
Publisher: Addison-Wesley
ISBN: 9780132902250
Release Date: 2012-11-26
Genre: Computers

“It’s uncommon to have a programming language wonk who can speak in such comfortable and friendly language as David does. His walk through the syntax and semantics of JavaScript is both charming and hugely insightful; reminders of gotchas complement realistic use cases, paced at a comfortable curve. You’ll find when you finish the book that you’ve gained a strong and comprehensive sense of mastery.” —Paul Irish, developer advocate, Google Chrome “This is not a book for those looking for shortcuts; rather it is hard-won experience distilled into a guided tour. It’s one of the few books on JS that I’ll recommend without hesitation.” —Alex Russell, TC39 member, software engineer, Google In order to truly master JavaScript, you need to learn how to work effectively with the language’s flexible, expressive features and how to avoid its pitfalls. No matter how long you’ve been writing JavaScript code, Effective JavaScript will help deepen your understanding of this powerful language, so you can build more predictable, reliable, and maintainable programs. Author David Herman, with his years of experience on Ecma’s JavaScript standardization committee, illuminates the language’s inner workings as never before—helping you take full advantage of JavaScript’s expressiveness. Reflecting the latest versions of the JavaScript standard, the book offers well-proven techniques and best practices you’ll rely on for years to come. Effective JavaScript is organized around 68 proven approaches for writing better JavaScript, backed by concrete examples. You’ll learn how to choose the right programming style for each project, manage unanticipated problems, and work more successfully with every facet of JavaScript programming from data structures to concurrency. Key features include Better ways to use prototype-based object-oriented programming Subtleties and solutions for working with arrays and dictionary objects Precise and practical explanations of JavaScript’s functions and variable scoping semantics Useful JavaScript programming patterns and idioms, such as options objects and method chaining In-depth guidance on using JavaScript’s unique “run-to-completion” approach to concurrency

Functional JavaScript

Author: Michael Fogus
Publisher: "O'Reilly Media, Inc."
ISBN: 9781449360788
Release Date: 2013-06-03
Genre: Computers

How can you overcome JavaScript language oddities and unsafe features? With this book, you’ll learn how to create code that’s beautiful, safe, and simple to understand and test by using JavaScript’s functional programming support. Author Michael Fogus shows you how to apply functional-style concepts with Underscore.js, a JavaScript library that facilitates functional programming techniques. Sample code is available on GitHub at https://github.com/funjs/book-source. Fogus helps you think in a functional way to help you minimize complexity in the programs you build. If you’re a JavaScript programmer hoping to learn functional programming techniques, or a functional programmer looking to learn JavaScript, this book is the ideal introduction. Use applicative programming techniques with first-class functions Understand how and why you might leverage variable scoping and closures Delve into higher-order functions—and learn how they take other functions as arguments for maximum advantage Explore ways to compose new functions from existing functions Get around JavaScript’s limitations for using recursive functions Reduce, hide, or eliminate the footprint of state change in your programs Practice flow-based programming with chains and functional pipelines Discover how to code without using classes

Get Programming with JavaScript

Author: John Larsen
Publisher: Manning Publications
ISBN: 1617293105
Release Date: 2016-05-31
Genre: Computers

There are lots of reasons to learn how to program—to gain valuable skills that are versatile, useful, stimulating, rewarding, and in demand. JavaScript is one of the most widely-used languages and is the ideal first language to get started on the road to programming; it allows for the development of applications for all sorts of uses, devices, platforms, and operating systems. The only thing stopping many people is that they think it might be painful or they don't know where to start. Good news—learning to program with JavaScript can be fun! Get Programming with JavaScript is a hands-on introduction to programming for readers who have never programmed. It uses interactive code samples, carefully-paced explanations, supporting video tutorials, and a wide variety of examples. From the get-go, readers will be writing code by using a browser-based sandbox where they can experiment and test their code. Throughout the book, they'll be developing a text-based adventure game, learning how to combine simple elements to create large programs. Upon finishing the book, readers will not only know how to program, they'll be thinking like a programmer and ready to use their skills to create new applications. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

Mastering JavaScript

Author: Ved Antani
Publisher: Packt Publishing Ltd
ISBN: 9781785286285
Release Date: 2016-01-30
Genre: Computers

Explore and master modern JavaScript techniques in order to build large-scale web applications About This Book Write powerful code with the high-level functions that JavaScript offers Test and debug issues with JavaScript code using various modern mechanisms Offers an expert's eye on the latest ES6 features and how these advanced tasks fit together in JavaScript as a whole Who This Book Is For This book is ideal for web developers who are looking to master modern JavaScript concepts and design principles. You should already have an intermediate level of JavaScript knowledge before starting this book. What You Will Learn Get a run through of the basic JavaScript language constructs Get familiar with the Functions and Closures of JavaScript Explore Regular Expressions in JavaScript Code using the powerful object-oriented feature in JavaScript Test and debug your code using JavaScript strategies Master DOM manipulation, cross-browser strategies, and ES6 Understand the basic concurrency constructs in Javascript and best performance strategies Learn to build scalable server application in JavaScript using Node.js In Detail JavaScript is a high-level, dynamic, untyped, lightweight, and interpreted programming language. Along with HTML and CSS, it is one of the three essential technologies of World Wide Web content production, and is an open source and cross-platform technology. The majority of websites employ JavaScript, and it is well supported by all modern web browsers without plugins. However, the JavaScript landscape has changed dramatically in recent years, and you need to adapt to the new world of JavaScript that people now expect. Mastering modern JavaScript techniques and the toolchain are essential to develop web-scale applications. Mastering JavaScript will be your companion as you master JavaScript and build innovative web applications. To begin with, you will get familiarized with the language constructs and how to make code easy to organize. You will gain a concrete understanding of variable scoping, loops, and best practices on using types and data structures, as well as the coding style and recommended code organization patterns in JavaScript. The book will also teach you how to use arrays and objects as data structures. You will graduate from intermediate-level skills to advanced techniques as you come to understand crucial language concepts and design principles. You will learn about modern libraries and tools so you can write better code. By the end of the book, you will understand how reactive JavaScript is going to be the new paradigm. Style and approach This is a comprehensive guide with a clear focus on practical use cases and patterns. Each chapter consists of best practices, useful advice, and a bunch of easy-to-follow examples that will build up your skills as you advance through the book.

Professional Node js

Author: Pedro Teixeira
Publisher: John Wiley & Sons
ISBN: 9781118240564
Release Date: 2012-10-01
Genre: Computers

Learn to build fast and scalable software in JavaScript with Node.js Node.js is a powerful and popular new framework for writing scalable network programs using JavaScript. This no nonsense book begins with an overview of Node.js and then quickly dives into the code, core concepts, and APIs. In-depth coverage pares down the essentials to cover debugging, unit testing, and flow control so that you can start building and testing your own modules right away. Covers node and asynchronous programming main concepts Addresses the basics: modules, buffers, events, and timers Explores streams, file systems, networking, and automated unit testing Goes beyond the basics, and shares techniques and tools for debugging, unit testing, and flow control If you already know JavaScript and are curious about the power of Node.js, then this is the ideal book for you.

Understanding ECMAScript 6

Author: Nicholas C. Zakas
Publisher: No Starch Press
ISBN: 9781593277574
Release Date: 2016-12-16
Genre: Computers

ECMAScript 6 represents the biggest update to the core of JavaScript in the history of the language. In Understanding ECMAScript 6, expert developer Nicholas C. Zakas provides a complete guide to the object types, syntax, and other exciting changes that ECMAScript 6 brings to JavaScript. Every chapter is packed with example code that works in any JavaScript environment so you’ll be able to see new features in action. You’ll learn: *How ECMAScript 6 class syntax relates to more familiar JavaScript concepts *What makes iterators and generators useful *How arrow functions differ from regular functions *Ways to store data with sets, maps, and more *The power of inheritance *How to improve asynchronous programming with promises *How modules change the way you organize code Whether you’re a web developer or a Node.js developer, you’ll find Understanding ECMAScript 6 indispensable on your journey from ECMAScript 5 to ECMAScript 6.

Pro JavaScript Design Patterns

Author: Dustin Diaz
Publisher: Apress
ISBN: 1430204966
Release Date: 2008-03-11
Genre: Computers

With Pro JavaScript Design Patterns, you’ll start with the basics of object-oriented programming in JavaScript applicable to design patterns, including making JavaScript more expressive, inheritance, encapsulation, information hiding, and more. The book then details how to implement and take advantage of several design patterns in JavaScript. Each chapter is packed with real-world examples of how the design patterns are best used and expert advice on writing better code, as well as what to watch out for. Along the way you’ll discover how to create your own libraries and APIs for even more efficient coding.

Object Oriented JavaScript Second Edition

Author: Stoyan Stefanov
Publisher: Packt Publishing Ltd
ISBN: 9781849693134
Release Date: 2013-01-01
Genre: Computers

You will first be introduced to object-oriented programming, then to the basics of objects in JavaScript. This book takes a do-it-yourself approach when it comes to writing code, because the best way to really learn a programming language is by writing code. You are encouraged to type code into Firebug's console, see how it works and then tweak it and play around with it. There are practice questions at the end of each chapter to help you review what you have learned. For new to intermediate JavaScript developer who wants to prepare themselves for web development problems solved by smart JavaSc.

JavaScript The Good Parts

Author: Douglas Crockford
Publisher: "O'Reilly Media, Inc."
ISBN: 9780596554873
Release Date: 2008-05-08
Genre: Computers

Most programming languages contain good and bad parts, but JavaScript has more than its share of the bad, having been developed and released in a hurry before it could be refined. This authoritative book scrapes away these bad features to reveal a subset of JavaScript that's more reliable, readable, and maintainable than the language as a whole—a subset you can use to create truly extensible and efficient code. Considered the JavaScript expert by many people in the development community, author Douglas Crockford identifies the abundance of good ideas that make JavaScript an outstanding object-oriented programming language-ideas such as functions, loose typing, dynamic objects, and an expressive object literal notation. Unfortunately, these good ideas are mixed in with bad and downright awful ideas, like a programming model based on global variables. When Java applets failed, JavaScript became the language of the Web by default, making its popularity almost completely independent of its qualities as a programming language. In JavaScript: The Good Parts, Crockford finally digs through the steaming pile of good intentions and blunders to give you a detailed look at all the genuinely elegant parts of JavaScript, including: Syntax Objects Functions Inheritance Arrays Regular expressions Methods Style Beautiful features The real beauty? As you move ahead with the subset of JavaScript that this book presents, you'll also sidestep the need to unlearn all the bad parts. Of course, if you want to find out more about the bad parts and how to use them badly, simply consult any other JavaScript book. With JavaScript: The Good Parts, you'll discover a beautiful, elegant, lightweight and highly expressive language that lets you create effective code, whether you're managing object libraries or just trying to get Ajax to run fast. If you develop sites or applications for the Web, this book is an absolute must.