JavaScript Enlightenment

JavaScript Enlightenment

Author: Cody Lindley

Publisher: "O'Reilly Media, Inc."

Published: 2013

Total Pages: 167

ISBN-13: 1449342884

DOWNLOAD EBOOK

"From library user to JavaScript developer"--Cover.


DOM Enlightenment

DOM Enlightenment

Author: Cody Lindley

Publisher: "O'Reilly Media, Inc."

Published: 2013-02-08

Total Pages: 181

ISBN-13: 1449344518

DOWNLOAD EBOOK

With DOM Enlightenment, you’ll learn how to manipulate HTML more efficiently by scripting the Document Object Model (DOM) without a DOM library. Using code examples in cookbook style, author Cody Lindley (jQuery Cookbook) walks you through modern DOM concepts to demonstrate how various node objects work. Over the past decade, developers have buried the DOM under frameworks that simplify its use. This book brings these tools back into focus, using concepts and code native to modern browsers. If you have JavaScript experience, you’ll understand the role jQuery plays in DOM scripting, and learn how to use the DOM directly in applications for mobile devices and specific browsers that require low overhead. Understand JavaScript node objects and their relationship to the DOM Learn the properties and methods of document, element, text, and DocumentFragment objects Delve into element node selecting, geometry, and inline styles Add CSS style sheets to an HTML document and use CSSStyleRule objects Set up DOM events by using different code patterns Learn the author’s vision for dom.js, a jQuery-inspired DOM Library for modern browsers


Effective JavaScript

Effective JavaScript

Author: David Herman

Publisher: Addison-Wesley

Published: 2012-11-26

Total Pages: 231

ISBN-13: 0132902257

DOWNLOAD EBOOK

“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


The Principles of Object-Oriented JavaScript

The Principles of Object-Oriented JavaScript

Author: Nicholas C. Zakas

Publisher: No Starch Press

Published: 2014-02-14

Total Pages: 122

ISBN-13: 1593275765

DOWNLOAD EBOOK

If you've used a more traditional object-oriented language, such as C++ or Java, JavaScript probably doesn't seem object-oriented at all. It has no concept of classes, and you don't even need to define any objects in order to write code. But don't be fooled—JavaScript is an incredibly powerful and expressive object-oriented language that puts many design decisions right into your hands. In The Principles of Object-Oriented JavaScript, Nicholas C. Zakas thoroughly explores JavaScript's object-oriented nature, revealing the language's unique implementation of inheritance and other key characteristics. You'll learn: –The difference between primitive and reference values –What makes JavaScript functions so unique –The various ways to create objects –How to define your own constructors –How to work with and understand prototypes –Inheritance patterns for types and objects The Principles of Object-Oriented JavaScript will leave even experienced developers with a deeper understanding of JavaScript. Unlock the secrets behind how objects work in JavaScript so you can write clearer, more flexible, and more efficient code.


The Enlightenment of the Greengage Tree

The Enlightenment of the Greengage Tree

Author: Shokoofeh Azar

Publisher: Europa Editions

Published: 2020-01-07

Total Pages: 202

ISBN-13: 1609455665

DOWNLOAD EBOOK

A grieving family flees Tehran after the Islamic Revolution in this novel of “magical realism with a Persian twist” translated from Farsi (The Guardian, UK). When their home in Tehran is burned to the ground by zealots, killing their thirteen-year-old daughter Bahar, a once-prominent family flees to a small village. There, they hope to preserve both their intellectual freedom and their lives. But they soon find themselves caught up in the post-revolutionary chaos that sweeps across their ancient land and its people. Bahar’s mother, after a tragic loss, will embark on a long, eventful journey in search of meaning in a world swept up in the post-revolutionary madness. The Enlightenment of the Greengage Tree speaks of the power of imagination when confronted with cruelty, and of our human need to make sense of trauma through the ritual of storytelling itself. Through her unforgettable characters, Iranian novelist Shokoofeh Azar weaves a timely and timeless story that juxtaposes the beauty of an ancient, vibrant culture with the brutality of an oppressive political regime. “[Azar’s] book is a great journey. It moves places and it moves us as readers, in an emotional and intellectual sense.” —Robert Wood, The Los Angeles Review of Books


Eloquent JavaScript, 3rd Edition

Eloquent JavaScript, 3rd Edition

Author: Marijn Haverbeke

Publisher: No Starch Press

Published: 2018-12-04

Total Pages: 474

ISBN-13: 1593279507

DOWNLOAD EBOOK

Completely revised and updated, this best-selling introduction to programming in JavaScript focuses on writing real applications. JavaScript lies at the heart of almost every modern web application, from social apps like Twitter to browser-based game frameworks like Phaser and Babylon. Though simple for beginners to pick up and play with, JavaScript is a flexible, complex language that you can use to build full-scale applications. This much anticipated and thoroughly revised third edition of Eloquent JavaScript dives deep into the JavaScript language to show you how to write beautiful, effective code. It has been updated to reflect the current state of Java¬Script and web browsers and includes brand-new material on features like class notation, arrow functions, iterators, async functions, template strings, and block scope. A host of new exercises have also been added to test your skills and keep you on track. As with previous editions, Haverbeke continues to teach through extensive examples and immerses you in code from the start, while exercises and full-chapter projects give you hands-on experience with writing your own programs. You start by learning the basic structure of the JavaScript language as well as control structures, functions, and data structures to help you write basic programs. Then you'll learn about error handling and bug fixing, modularity, and asynchronous programming before moving on to web browsers and how JavaScript is used to program them. As you build projects such as an artificial life simulation, a simple programming language, and a paint program, you'll learn how to: - Understand the essential elements of programming, including syntax, control, and data - Organize and clarify your code with object-oriented and functional programming techniques - Script the browser and make basic web applications - Use the DOM effectively to interact with browsers - Harness Node.js to build servers and utilities Isn't it time you became fluent in the language of the Web? * All source code is available online in an inter¬active sandbox, where you can edit the code, run it, and see its output instantly.


Secrets of the JavaScript Ninja

Secrets of the JavaScript Ninja

Author: John Resig

Publisher: Manning

Published: 2013-01-17

Total Pages: 0

ISBN-13: 9781933988696

DOWNLOAD EBOOK

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 youcome at it sideways or sneak up from behind. You need tomaster 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 toJavaScript enlightenment. This unique book starts with keyconcepts, like the relationships between functions, objects, andclosures, taught from the master's perspective. You'll grow fromapprentice to ninja as you soak up fresh insights on the techniquesyou use every day and discover features and capabilities you neverknew about. When you reach the final chapters, you'll be ready tocode brilliant JavaScript applications and maybe even write yourown libraries and frameworks. You don't have to be a ninja to read this book—just be willing tobecome 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 creatorof the jQuery library. Bear Bibeault is a web developer and coauthorof Ajax in Practice, Prototype and Scriptaculous in Action, and jQueryin 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


A Death on Diamond Mountain

A Death on Diamond Mountain

Author: Scott Carney

Publisher: Penguin

Published: 2015-03-17

Total Pages: 307

ISBN-13: 069818629X

DOWNLOAD EBOOK

An investigative reporter explores an infamous case where an obsessive and unorthodox search for enlightenment went terribly wrong. When thirty-eight-year-old Ian Thorson died from dehydration and dysentery on a remote Arizona mountaintop in 2012, The New York Times reported the story under the headline: "Mysterious Buddhist Retreat in the Desert Ends in a Grisly Death." Scott Carney, a journalist and anthropologist who lived in India for six years, was struck by how Thorson’s death echoed other incidents that reflected the little-talked-about connection between intensive meditation and mental instability. Using these tragedies as a springboard, Carney explores how those who go to extremes to achieve divine revelations—and undertake it in illusory ways—can tangle with madness. He also delves into the unorthodox interpretation of Tibetan Buddhism that attracted Thorson and the bizarre teachings of its chief evangelists: Thorson’s wife, Lama Christie McNally, and her previous husband, Geshe Michael Roach, the supreme spiritual leader of Diamond Mountain University, where Thorson died. Carney unravels how the cultlike practices of McNally and Roach and the questionable circumstances surrounding Thorson’s death illuminate a uniquely American tendency to mix and match eastern religious traditions like LEGO pieces in a quest to reach an enlightened, perfected state, no matter the cost. Aided by Thorson’s private papers, along with cutting-edge neurological research that reveals the profound impact of intensive meditation on the brain and stories of miracles and black magic, sexualized rituals, and tantric rites from former Diamond Mountain acolytes, A Death on Diamond Mountain is a gripping work of investigative journalism that reveals how the path to enlightenment can be riddled with danger.


Programming in CoffeeScript

Programming in CoffeeScript

Author: Mark Bates

Publisher: Addison-Wesley Professional

Published: 2012

Total Pages: 311

ISBN-13: 032182010X

DOWNLOAD EBOOK

Use CoffeeScript to Write Better JavaScript Code Than Ever Before! If you can do it in JavaScript, you can do it better in CoffeeScript. And, since CoffeeScript "compiles down" to JavaScript, your code will fit neatly into virtually any web environment. In Programming in CoffeeScript, Mark Bates shows web developers why CoffeeScript is so useful and how it avoids the problems that often make JavaScript code buggy and unmanageable. He guides you through every feature and technique you need to write quality CoffeeScript code and shows how to take advantage of CoffeeScript's increasingly robust toolset. Bates begins with the absolute basics of running and compiling CoffeeScript and then introduces syntax, control structures, functions, collections, and classes. Through same page code comparisons, you'll discover exactly how CoffeeScript improves on JavaScript. Next, you'll put it to work in building applications that are powerful, flexible, maintainable, concise, reliable, and secure. Bates shares valuable tips for better development, illuminating CoffeeScript's hidden gems and warning you about its remaining "rough edges." The book concludes with a start-to-finish application case study showing how to code back-ends and front-ends and integrate powerful frameworks and libraries. Coverage includes Understanding the right ways to compile and execute CoffeeScript Using CoffeeScript's clean syntax to focus on your code, not JavaScript's distractions Working with CoffeeScript's control structures, functions, and arguments Taking full advantage of CoffeeScript's implementation of collections and iterators Leveraging CoffeeScript's full class support to create complex data models Automating common application development tasks with Cake and Cakefiles Configuring Jasmine with CoffeeScript support, and using it to systematically test your code Writing Node.js server-side applications in CoffeeScript Using CoffeeScript to write jQuery and Backbone.js applications Integrating framework code to avoid "reinventing the wheel" Want a better way to create the JavaScript code your web applications need? CoffeeScript is the solution-and this book will help you master it!


The Enlightenment

The Enlightenment

Author: Ritchie Robertson

Publisher: HarperCollins

Published: 2021-02-23

Total Pages: 1008

ISBN-13: 0062410679

DOWNLOAD EBOOK

A magisterial history that recasts the Enlightenment as a period not solely consumed with rationale and reason, but rather as a pursuit of practical means to achieve greater human happiness. One of the formative periods of European and world history, the Enlightenment is the fountainhead of modern secular Western values: religious tolerance, freedom of thought, speech and the press, of rationality and evidence-based argument. Yet why, over three hundred years after it began, is the Enlightenment so profoundly misunderstood as controversial, the expression of soulless calculation? The answer may be that, to an extraordinary extent, we have accepted the account of the Enlightenment given by its conservative enemies: that enlightenment necessarily implied hostility to religion or support for an unfettered free market, or that this was “the best of all possible worlds”. Ritchie Robertson goes back into the “long eighteenth century,” from approximately 1680 to 1790, to reveal what this much-debated period was really about. Robertson returns to the era’s original texts to show that above all, the Enlightenment was really about increasing human happiness – in this world rather than the next – by promoting scientific inquiry and reasoned argument. In so doing Robertson chronicles the campaigns mounted by some Enlightened figures against evils like capital punishment, judicial torture, serfdom and witchcraft trials, featuring the experiences of major figures like Voltaire and Diderot alongside ordinary people who lived through this extraordinary moment. In answering the question 'What is Enlightenment?' in 1784, Kant famously urged men and women above all to “have the courage to use your own intellect”. Robertson shows how the thinkers of the Enlightenment did just that, seeking a well-rounded understanding of humanity in which reason was balanced with emotion and sensibility. Drawing on philosophy, theology, historiography and literature across the major western European languages, The Enlightenment is a master-class in big picture history about the foundational epoch of modern times.