Explorations of an Engineer
  • Home
Sign in Subscribe

JavaScript

A collection of 3 posts
Angular

Angular Directives with Coffeescript Class Controllers

The first time you try to set up a directive using a Coffeescript class, you might end up with something like this: class MyControllerName @$inject: ['my', 'services', 'here'] constructor: (@my, @services, @here) -> # constructor code angular.module('mymodule').controller 'MyControllerName', MyControllerName angular.module('mymodule').directive 'myDirective', -> return { restrict: 'AE'
Jun 16, 2016 1 min read
JavaScript

The Asynchronous Nature of JavaScript

JavaScript is a quirky language that has the ability to frustrate you to no end if you don't know about certain features. This is going to be the first of many posts about JavaScript tips and quirks, and will be focused on the asynchronous nature of JavaScript. First let's look
Mar 15, 2016 2 min read
JavaScript

The Node.js Event Loop

The Node.js event loop is one of the most confusing parts about learning how to craft a well designed server in Node. The first thing you need to understand is that Node.js is a single threaded process. This means that it can only handle one task at a
Mar 15, 2016 4 min read
Page 1 of 1
Explorations of an Engineer © 2023
Powered by Ghost