Blog posts in 'JavaScript Language' category

TitleExcerpt
Announcing Open Source LoopBack JSONSchemas VS Code Extension
May 2, 2017
LoopBack is a powerful framework. As we know, “with great framework power comes great framework documentation.” When you know what you’re looking for in the docs, it’s easy to find. But  discovering what’s available can be a challenge for a tool a... More
Systematic Data Design in JavaScript – Featuring Three Data Types
Apr 18, 2017
Note: This blog post is also available at IBM DeveloperWorks. In the previous article, we discussed systematic function design: a test, example, and documentation-driven approach to designing functions using the HtDP methodology. In this post, we... More
Systematic Function Design in JavaScript
Nov 15, 2016
Note: This blog post is also available at IBM DeveloperWorks. Habits can be damning or liberating. Perhaps you are like me. I know having tests, examples, and documentation are good things for any program but why do they always seem to be an a... More
Isomorphic JavaScript Mobile Apps
Sep 6, 2016
Note: This blog post is also available at IBM DeveloperWorks. The method of delivering content to a browser has continued to evolve over the years. In the early days, every page was a full payload. If you clicked a link, you got a new page. If yo... More
Building JavaScript Charts Powered by LoopBack
Jul 29, 2016
When we discuss APIs and LoopBack, often we’re talking about external consumers, but you can use LoopBack APIs on your own site as well. For example, one cool way to use a LoopBack REST-based API is to power client-side charting for your web site.... More
Auto-fixing & Formatting Your JavaScript with ESLint
Jul 27, 2016
Note: This blog post is also available at IBM DeveloperWorks. Linting is the process of running a program that will analyze your code for potential errors. A lint program does this by using a set of rules applied to your code to determine if a... More
Surviving ECMAScript 6
Jul 7, 2016
I recently watched an insightful talk from Rob Pike where he shared his experience attending Lang.Next, a conference focusing on new and upcoming trends in programming languages. While there, Rob noticed how many presenters focused on things they ... More
Type Hinting in JavaScript
Jun 28, 2016
Most developers understand that JavaScript does not have a notion of datatypes: it’s often referred to as “dynamically typed”,  “weakly typed,” or even “untyped.”  The distinction is mostly academic, and the bottom line is when you declare a varia... More
Write Your Own Co Using ES2015 Generators
Feb 1, 2016
Note: This blog post is also available at IBM DeveloperWorks. ES2015 is now officially the new JavaScript language standard, and it is packed with sweet new features. One feature that I’m particularly excited about is ​generators​. At a high leve... More
An Introduction To JavaScript ES6 Modules
Dec 1, 2015
Note: This blog post is also available at IBM DeveloperWorks. ECMAScript 2015 (formerly known as ES6) introduces a completely new feature and concept to the front-end JavaScript world that strangely has been around for a very long time – modules.... More
An Introduction to JavaScript ES6 Arrow Functions
Sep 21, 2015
Note: This blog post is also available at IBM DeveloperWorks Fat arrow functions, also known as just arrow functions are a brand new feature in ECMAScript 2015 (formerly ES6). Rumor has it that the => syntax was adopted over -> due to Coffe... More
The Foundations of Universal (or Isomorphic) JavaScript
Sep 11, 2015
In the last tutorial, we wrote a Node program using Babel. This allowed us to use ES6 features now and experiment with new language proposals in a backwards-compatible way. We looked at testing, linting, and running programs in production. Now le... More
An Introduction To JavaScript ES6 Classes
Aug 12, 2015
Note: This blog post is also available at IBM DeveloperWorks. ECMAScript 2015, formerly known as ECMAScript 6 (ES6) makes classes a first class citizen by introducing a few new keywords. At this time, however there are no new features when compar... More
Part 1: Ionic & LoopBack Frameworks – Building a REST API
Aug 10, 2015
I have a confession: I hate native mobile development. Most of the reason why I started working with NodeJS was my struggles with managing mobile app development for a small startup in 2012. Back then, native mobile development struggled with pain... More
Making the most of JavaScript’s “future” today with Babel
Jul 30, 2015
From CoffeeScript to ClojureScript to PureScript to CobolScript to DogeScript (woof woof!), JavaScript is the write-once-run-anywhere target for many forms and styles of programming. Yet, its biggest compile-to-language today actually isn’t any... More
An Introduction to JavaScript ES6 Iterators
Jul 16, 2015
Note: This blog post is also available on IBM DeveloperWorks. EcmaScript 2015 (formerly known as ES6) introduces a brand new concept of iterators which allows us to define sequences (limited and otherwise) at the language level. Let us break it ... More
Build Real-Time Node.js Apps with Angular LiveSet and LoopBack
Jul 15, 2015
What is LiveSet? LiveSet is an AngularJS module that makes it easy to build real time applications. We created it so you can focus on building your app instead of cobbling together several libraries and frameworks. Unlike other real-time librarie... More
Getting Started with JavaScript ES6 Destructuring
Jun 17, 2015
Lets take a closer look at the new syntax that ES6 brings to help with more explicit variable and argument declaration and assignment. The current state of affairs is pretty straight forward: on the left hand side you have a variable name, on th... More
How to Implement Node + React Isomorphic JavaScript & Why it Matters
Jun 10, 2015
This blog post has moved to IBM DeveloperWorks ....