The Little Book of Javascript
By Karl Agius
()
About this ebook
Read more from Karl Agius
Managing Visitor Experiences in Nature-based Tourism Rating: 0 out of 5 stars0 ratingsIslandscapes and Tourism: An Anthology Rating: 0 out of 5 stars0 ratings
Related to The Little Book of Javascript
Related ebooks
JavaScript Interview Questions You'll Most Likely Be Asked: Job Interview Questions Series Rating: 0 out of 5 stars0 ratingsIntermediate Load Runner With Oracle/Apex Concepts. Rating: 0 out of 5 stars0 ratingsLearn Angular: Build a Todo App Rating: 0 out of 5 stars0 ratingsUnleashing the Power of TypeScript Rating: 0 out of 5 stars0 ratingsJava: Tips and Tricks to Programming Code with Java: Java Computer Programming, #2 Rating: 0 out of 5 stars0 ratingsCrystal Clear Java: 1St Edition Rating: 0 out of 5 stars0 ratingsJavaScript: Best Practices to Programming Code with JavaScript: JavaScript Computer Programming, #3 Rating: 0 out of 5 stars0 ratingsJava with TDD from the Beginning Rating: 0 out of 5 stars0 ratingsAlfresco 3 Cookbook Rating: 0 out of 5 stars0 ratingsEmber.js in Action Rating: 0 out of 5 stars0 ratingsBeginning DotNetNuke Skinning and Design Rating: 0 out of 5 stars0 ratingsRESTful A Complete Guide - 2020 Edition Rating: 0 out of 5 stars0 ratingsInstant Play Framework Starter Rating: 0 out of 5 stars0 ratingsPractical Git: Confident Git Through Practice Rating: 0 out of 5 stars0 ratingsChaos Engineering A Clear and Concise Reference Rating: 0 out of 5 stars0 ratingsJSTL: Practical Guide for JSP Programmers Rating: 3 out of 5 stars3/5Mastering Apache Cassandra - Second Edition Rating: 0 out of 5 stars0 ratingsUltimate Typescript Handbook: Build, scale and maintain Modern Web Applications with Typescript Rating: 0 out of 5 stars0 ratingsLearning Continuous Integration with TeamCity Rating: 0 out of 5 stars0 ratingsUNIX Programming: UNIX Processes, Memory Management, Process Communication, Networking, and Shell Scripting Rating: 0 out of 5 stars0 ratingsDrupal Multimedia Rating: 4 out of 5 stars4/5Developing Web Applications with Apache, MySQL, memcached, and Perl Rating: 0 out of 5 stars0 ratingsSoftware architecture A Complete Guide - 2019 Edition Rating: 0 out of 5 stars0 ratingsNoSQL Databases A Complete Guide - 2020 Edition Rating: 0 out of 5 stars0 ratingsGetting Started with Grunt: The JavaScript Task Runner Rating: 3 out of 5 stars3/5Spark SQL A Complete Guide Rating: 0 out of 5 stars0 ratingsMastering Ninject for Dependency Injection Rating: 0 out of 5 stars0 ratingsGitHub A Complete Guide - 2020 Edition Rating: 0 out of 5 stars0 ratingsProgressive web app A Clear and Concise Reference Rating: 0 out of 5 stars0 ratingsPhpStorm Cookbook Rating: 0 out of 5 stars0 ratings
Computers For You
Mastering ChatGPT: 21 Prompts Templates for Effortless Writing Rating: 5 out of 5 stars5/5Procreate for Beginners: Introduction to Procreate for Drawing and Illustrating on the iPad Rating: 0 out of 5 stars0 ratingsElon Musk Rating: 4 out of 5 stars4/5The Mega Box: The Ultimate Guide to the Best Free Resources on the Internet Rating: 4 out of 5 stars4/5ChatGPT Ultimate User Guide - How to Make Money Online Faster and More Precise Using AI Technology Rating: 0 out of 5 stars0 ratingsThe ChatGPT Millionaire Handbook: Make Money Online With the Power of AI Technology Rating: 0 out of 5 stars0 ratingsThe Best Hacking Tricks for Beginners Rating: 4 out of 5 stars4/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5Deep Search: How to Explore the Internet More Effectively Rating: 5 out of 5 stars5/5How to Create Cpn Numbers the Right way: A Step by Step Guide to Creating cpn Numbers Legally Rating: 4 out of 5 stars4/5Grokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5Everybody Lies: Big Data, New Data, and What the Internet Can Tell Us About Who We Really Are Rating: 4 out of 5 stars4/5Practical Lock Picking: A Physical Penetration Tester's Training Guide Rating: 5 out of 5 stars5/5People Skills for Analytical Thinkers Rating: 5 out of 5 stars5/5Slenderman: Online Obsession, Mental Illness, and the Violent Crime of Two Midwestern Girls Rating: 4 out of 5 stars4/5CompTIA Security+ Practice Questions Rating: 2 out of 5 stars2/5The Designer's Web Handbook: What You Need to Know to Create for the Web Rating: 0 out of 5 stars0 ratingsLearning the Chess Openings Rating: 5 out of 5 stars5/5The Professional Voiceover Handbook: Voiceover training, #1 Rating: 5 out of 5 stars5/5Web Designer's Idea Book, Volume 4: Inspiration from the Best Web Design Trends, Themes and Styles Rating: 4 out of 5 stars4/5CompTIA IT Fundamentals (ITF+) Study Guide: Exam FC0-U61 Rating: 0 out of 5 stars0 ratingsRemote/WebCam Notarization : Basic Understanding Rating: 3 out of 5 stars3/5Ultimate Guide to Mastering Command Blocks!: Minecraft Keys to Unlocking Secret Commands Rating: 5 out of 5 stars5/5101 Awesome Builds: Minecraft® Secrets from the World's Greatest Crafters Rating: 4 out of 5 stars4/5
Reviews for The Little Book of Javascript
0 ratings0 reviews
Book preview
The Little Book of Javascript - Karl Agius
The Little Book of JavaScript
Copyright © 2014 by Karl Agius
All rights reserved. This book or any portion thereof may not be reproduced or used in any manner whatsoever without the express written permission of the publisher except for the use of brief quotations in a book review or scholarly journal.
First Printing: 2014
ISBN 978-1-312-52049-3
www.karlagius.com
About this book
It has been almost two decades since I first taught myself JavaScript, mostly by reading through the source on any internet page which struck me as interesting. The language, and the industry’s attitude to it, has changed significantly in this span of time.
From a ‘toy’ language used to open annoying popups and changing the colour of things, JavaScript is now being used to build substantial, even mission critical applications. With Node.js, it is even finding its way onto the server side, which can only be described as an excellent thing.
JavaScript skills are valuable, and given the direction that the industry is headed in, one can assume that they’re going to become more so in time. However, there seems to be a knowledge gap which I often encounter when working with new developers who have only been exposed to JavaScript through the filter of a framework. A gap which sometimes leaves them stuck or confused as they are missing some concepts which the framework designers reasonably assumed they would know.
The frameworks and tools available today are fantastic in terms of getting things done. Speaking for myself, I don’t think I’ve written any non-trivial applications without using a framework in ages, and I am certainly not advocating getting rid of them. On the contrary, I believe that understanding what goes on beneath the frameworks helps coders get more power out of them.
This book is for average developers who already have some knowledge of coding, but little experience in using raw JavaScript. Old hands – anyone who’s been exposed to the language before jQuery and other frameworks burst onto the scene – will most likely know most of the things described here inside out.
For everyone else, I hope that the information presented here will prove useful in your projects.
Some basics
To begin with, we are going to go over some very basic concepts. Chances are that you’ve already used most of them at some point, perhaps without even knowing it. Or maybe you’re aware of them but not in depth.
Either way we’re going to take a closer look at them, because while they look simple, there’s the scope for them to cause all kinds of shenanigans by stopping your scripts from working (bad) or making your scripts work almost,