JavaScript Writing Async Programs in JavaScript PrefaceThere is no doubt that JavaScript, despite its history, has become to be one of the most popular programming languages today. JavaScript, due to its asynchronous nature, can present some challenges for those
JavaScript Data Modeling with GunDB In this article I'll walk you through modeling Social Library, a social app forbook enthusiasts, using GunDB. This fictitious app helps readers create favoritelists from the books they like, leave reviews and follow
JavaScript GunDB: a Graph Database in JavaScript Part 1: Gun Basics Recently I've been playing around with GunDB and I wanted to share with you what I've learned so far. GunDB, a.k.a Gun, a.k.a Gun.js,
JavaScript JavaScript Frameworks, Performance Comparison In this article we are going to look at the most well-known JavaScript frameworks and UI libraries and compare their performance with each other.
JavaScript JavaScript Generators I recently added a new chapter to my Asyc JavaScript book, you can check it out at asyncjsbook.com. Below is an excerpt from the book.Generators Generators are special functions that generate
JavaScript Introduction to Anime.js Video Course The goal of this course is to teach you the fundamentals of JavaScript animation with Anime.js.
JavaScript Timeline and Keyframe Animations with Anime.js Video course availableIn this article we are going to learn the basics of Anime.js and explore how to create animations with keyframes and timelines. Anime.js is a very lightweight JavaScript animation
Ruby Getting Started with Ruby for JavaScript Developers Recently I have been brushing on some of the languages that I used to work with. After working with JavaScript for a while, I thought it might be interesting to make a guide
Golang Getting started with Go for JavaScript Developers Recently I have been learning Go and wanted to write this guide to help other JavaScript/Node developers who want to learn Go save some headache. Basically in this article we are going
JavaScript Learn Asynchronous JavaScript in 2018 The following is an excerpt from the newest book that I have been working on "Asynchronous JavaScript". You can read it online for free at asyncjsbook.com If you are new
JavaScript Getting started with Async/Await Project Files Click here to download the project files. TL;DR The async/await function is part of the ES2017 specification. The purpose of async/await functions is to simplify the behavior of
JavaScript Getting Started with Babel 6 Project Files You can click here to download the project files. Set up First, it is a good idea to uninstall the babel-cli if installed globally: npm uninstall --global babel-cli Also make sure
DevOps Deploying a Static Site with Git and Linode VPS Project Files You can click here to download the project files. TL;DR For the short version, scroll to the bottom. Step-by-step If you have not set up a server with Linode, you
JavaScript Auto-load Angular Modules, Directives, Services, Controllers with Webpack! When working on an Angular project, sometimes you just want to automatically load all the directives or all the services in a bunch of directories. Webpack allows you to create custom context to
JavaScript Running Asynchronous JavaScript Code in Sequence with Async Waterfall - Part 2 Project Files Click here to download the project files. Make sure to run npm install before running node main.js In the previous article we learned about the basics of async.waterfall. If
JavaScript Running Asynchronous JavaScript Code in Sequence with Async Waterfall - Part 1 Project Files Click here to download the project files. Make sure to run npm install before running node main.js Async is a JavaScript library that allows you to control the flow of
JavaScript Hello RxJS 5 In this post we are going to take a look at a very simple example for RxJS 5. First download the starter project that has a server and Webpack setup: https://github.com/
JavaScript The Double Equals Operator in JavaScript After reading this article, you will know all you need to know about coercion and double equals in JavaScript. The double equals (loose equality) operator is an interesting operator. Many avoid it because
JavaScript Filter an array with a simple curried function TL;DR ... const activeUsers = (input) => { const is = field => item => ( item[field] ) return input.filter(is('isActive')) } The is function is a curried function that checks if a given value of
JavaScript Memoization in JavaScript There are many places where you can take advantage of memoization to save computation space and time. One example is computing the n-th term of a fibonacci sequence. Below we are saving or
Sass SASS Mixins with Default Parameters Using Maps Creating mixins with default parameters is very easy in SASS using maps. Let's say we have a mixin called button size that takes a configuration map called $in: @mixin button-size($in) {} And let's
JavaScript Hello World Mocha Install Mocha globally: npm install –g mocha Then create the package.json file in your project directory: npm init And install should. Should is an assertion library that you need to match evaluations
CSS CSS Rant My Rant on Writing CSS for large scale applications A note on descendent selectors: You should not totally avoid them. It would be a little bit impractical if you didn't use them. BUT,
Gulp Handling errors when working with SASS, Watch, Plumber and Gulp When working with Gulp, you need to return streams as one of the days to set up task dependencies. Something like this: gulp.task('sass', function() { return gulp.src("sass/main.scss&
DevOps Enable gzip on Apache Make sure the deflate module is enabled: sudo a2enmod deflate then add the following to your vhoste file: AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/