Learn JavaScript with Eric Elliott

JavaScript 4 4 Comments

I just finished a book called “Programming JavaScript Applications” published by O’Reilly, and with your help, we’re going to create a series of courses to go along with it. The “Learn JavaScript with Eric Elliott” series is a collection of courses with one purpose: To give you the skills you need to land some of […]

Read More

I just finished a book called “Programming JavaScript Applications” published by O’Reilly, and with your help, we’re going to create a series of courses to go along with it. The “Learn JavaScript with Eric Elliott” series is a collection of courses with one purpose: To give you the skills you need to land some of […]

Read More

Stampit 1.0 Release Candidate

JavaScript 0 No Comments

Stampit 0.7.0 is here, and it marks the first (and hopefully only) candidate for the 1.0 release. I can’t recall if we’ve ever made any breaking changes, but as of 1.0, I guarantee there won’t be any breaking changes for a really long time (probably never). Stampit can be used standalone in browsers, with Node, […]

Read More

Stampit 0.7.0 is here, and it marks the first (and hopefully only) candidate for the 1.0 release. I can’t recall if we’ve ever made any breaking changes, but as of 1.0, I guarantee there won’t be any breaking changes for a really long time (probably never). Stampit can be used standalone in browsers, with Node, […]

Read More

Static Types are Overrated: Dynamic Duo – Loose Types and Object Extension

JavaScript | Video 4 4 Comments

Type correctness does not guarantee program correctness, but type annotations are still cool, and there are actually lots of great tools for analysis of JavaScript applications. In this talk, you’ll learn how you can gain a lot more confidence in the correctness of your JavaScript applications, and probably a thing or two about why JavaScript’s […]

Read More

Type correctness does not guarantee program correctness, but type annotations are still cool, and there are actually lots of great tools for analysis of JavaScript applications. In this talk, you’ll learn how you can gain a lot more confidence in the correctness of your JavaScript applications, and probably a thing or two about why JavaScript’s […]

Read More

Modular JavaScript With npm and Node Modules

JavaScript | Node | Video 0 No Comments

Eric Elliott – Modular JavaScript With npm and Node Modules from Eric Elliott on Vimeo. An introductory look at programming with Node style modules. * The principles of modular JavaScript programming * Node style modules * npm * Browserify

Read More

Eric Elliott – Modular JavaScript With npm and Node Modules from Eric Elliott on Vimeo. An introductory look at programming with Node style modules. * The principles of modular JavaScript programming * Node style modules * npm * Browserify

Read More

Fluent Conference Schedule

JavaScript 5 5 Comments

Here’s my schedule for Fluent Conference Wed: 3:00 pm Talk – Salon 8 Static Types are Overrated: The Dynamic Duo – Loose Types and Object Extension 4:00 pm Office hours – O’Reilly Booth Table A Come chat with me about JavaScript’s dynamic type system and prototypal OO. 6:00 pm Book signing – Salon 7 Hope […]

Read More

Here’s my schedule for Fluent Conference Wed: 3:00 pm Talk – Salon 8 Static Types are Overrated: The Dynamic Duo – Loose Types and Object Extension 4:00 pm Office hours – O’Reilly Booth Table A Come chat with me about JavaScript’s dynamic type system and prototypal OO. 6:00 pm Book signing – Salon 7 Hope […]

Read More

Prototypal Inheritance With Stamps

JavaScript 6 6 Comments

Stampit is one year old as of February 10, 2014. I wrote it to demonstrate prototypal inheritance with factories for the book, “Programming JavaScript Applications”. To celebrate its birthday (a little late), here is a free excerpt from the book: JavaScript’s object capabilities are really flexible, but Object.create() isn’t the easiest way to create a […]

Read More

Stampit is one year old as of February 10, 2014. I wrote it to demonstrate prototypal inheritance with factories for the book, “Programming JavaScript Applications”. To celebrate its birthday (a little late), here is a free excerpt from the book: JavaScript’s object capabilities are really flexible, but Object.create() isn’t the easiest way to create a […]

Read More

Static Types are Overrated: The Dynamic Duo – Loose Types and Object Extension

JavaScript 2 2 Comments

You’ve heard it a million times. People claim that JavaScript isn’t up to the task of building large scale applications because it’s missing static types. In other words, JavaScript doesn’t do any type definition or checking prior to runtime. Instead, types are inferred at runtime, and the type of any variable can change during runtime. […]

Read More

You’ve heard it a million times. People claim that JavaScript isn’t up to the task of building large scale applications because it’s missing static types. In other words, JavaScript doesn’t do any type definition or checking prior to runtime. Instead, types are inferred at runtime, and the type of any variable can change during runtime. […]

Read More

Announcing Credential v0.2.5 – Easy Password Hashing For Node

JavaScript | Node 0 No Comments

Credential is easy password hashing and verification in Node. Protects against brute force, rainbow tables, and timing attacks. Employs cryptographically secure, per password salts to prevent rainbow table attacks. Key stretching is used to make brute force attacks impractical. A constant time verification check prevents variable response time attacks. The latest version won’t throw if […]

Read More

Credential is easy password hashing and verification in Node. Protects against brute force, rainbow tables, and timing attacks. Employs cryptographically secure, per password salts to prevent rainbow table attacks. Key stretching is used to make brute force attacks impractical. A constant time verification check prevents variable response time attacks. The latest version won’t throw if […]

Read More

Everything’s Gone JavaScript

JavaScript 0 No Comments

“Everything that can be written in JavaScript will eventually be written in JavaScript”. – Atwood’s law JavaScript is now an integral part of several operating systems: Windows 8 Firefox OS Gnome (Linux) Chrome OS (Chromebooks) Tons of mobile apps are either just HTML web views, or use a lot of web views, so a lot […]

Read More

“Everything that can be written in JavaScript will eventually be written in JavaScript”. – Atwood’s law JavaScript is now an integral part of several operating systems: Windows 8 Firefox OS Gnome (Linux) Chrome OS (Chromebooks) Tons of mobile apps are either just HTML web views, or use a lot of web views, so a lot […]

Read More

JavaScript String .contains()

JavaScript 2 2 Comments

String.prototype.contains() is a simple way of checking to see if a string contains another string. It’s one of the String extras in the upcoming ECMAScript 6 specification. Lucky for us, it’s easily polyfilled, and unlikely to change, so you can start using it right now. Here’s the basic usage:

Optionally, you can specify […]

Read More

String.prototype.contains() is a simple way of checking to see if a string contains another string. It’s one of the String extras in the upcoming ECMAScript 6 specification. Lucky for us, it’s easily polyfilled, and unlikely to change, so you can start using it right now. Here’s the basic usage:

Optionally, you can specify […]

Read More

JavaScript String sprintf

JavaScript 1 1 Comment

A quick and easy function for sprintf-style JavaScript string replacement:

Edit: thanks imma!

Read More

A quick and easy function for sprintf-style JavaScript string replacement:

Edit: thanks imma!

Read More

Configuring Ghost / Node.js for Lightning Performance

HTML5 | JavaScript | Node 11 11 Comments

Ghost is a brand new blogging platform written on Node.js. For all you JavaScript people, you know what that means. It’s open source, and it’s on Github, but before you go running off to gawk at the source, here’s how to install it for optimal performance. Don’t worry, it only takes a few minutes: Set […]

Read More

Ghost is a brand new blogging platform written on Node.js. For all you JavaScript people, you know what that means. It’s open source, and it’s on Github, but before you go running off to gawk at the source, here’s how to install it for optimal performance. Don’t worry, it only takes a few minutes: Set […]

Read More

Getting Started With Node and Express – Free O’Reilly Webcast

JavaScript | Node 5 5 Comments

This webcast was originally broadcasted on September 17, 2013, but it was recorded, and is still available. It covers the Node / Express introduction from my book, “Programming JavaScript Applications”. Click the big graphic above, fill out the form, and enjoy the recorded talk. Also see the excerpt blog post: “Getting Started with Node and […]

Read More

This webcast was originally broadcasted on September 17, 2013, but it was recorded, and is still available. It covers the Node / Express introduction from my book, “Programming JavaScript Applications”. Click the big graphic above, fill out the form, and enjoy the recorded talk. Also see the excerpt blog post: “Getting Started with Node and […]

Read More

Authentication – from “Programming JavaScript Applications”

JavaScript | Node | Web Architecture 7 7 Comments

I have read a lot of books about how to build applications, but I’ve never seen one that adequately covers the topic of authentication, so I decided to dedicate a section to it in my book, Programming JavaScript Applications. Enjoy this free excerpt. Authentication Authentication is the mechanism which confirms the identity of users trying […]

Read More

I have read a lot of books about how to build applications, but I’ve never seen one that adequately covers the topic of authentication, so I decided to dedicate a section to it in my book, Programming JavaScript Applications. Enjoy this free excerpt. Authentication Authentication is the mechanism which confirms the identity of users trying […]

Read More

Announcing version-healthcheck for Node.js

JavaScript | Node 0 No Comments

version-healthcheck A plug-and-play /version route for the Node.js Express framework. Useful for monitoring the health status of your application deploys. It will deliver a JSON payload something like this:

name: app name from package.json version: app version from package.json build: latest build # read from a generated file: APP_HOME/config/BUILD I recommend using the included build script to […]

Read More

version-healthcheck A plug-and-play /version route for the Node.js Express framework. Useful for monitoring the health status of your application deploys. It will deliver a JSON payload something like this:

name: app name from package.json version: app version from package.json build: latest build # read from a generated file: APP_HOME/config/BUILD I recommend using the included build script to […]

Read More