hello.js

var please = require('share');
console.log('thank you');

Thursday, 19 January, 2017 UTC

js: Convert a QueryString to an Object using Function Composition in Ramda

js: Convert a QueryString to an Object using Function Composition in Ramda

In this lesson we'll use a handful of Ramda's utility functions to take a queryString full of name/value pairs and covert it into a JavaScript object so we can access those properties in a more useful way. Along the way, we'll build up a composition and ... more


Friday, 13 January, 2017 UTC

react: Render Basic SVG Components in React

react: Render Basic SVG Components in React

React loves svg just as much as it loves html. In this lesson we cover how simple it is to make SVG components in ReactJS. Creating SVG components with React allows you to inline SVG. Inline SVG has an advantage that it can be styled with CSS just like ... more


Tuesday, 10 January, 2017 UTC

js: Use Scoped CSS in Vue

js: Use Scoped CSS in Vue

Let's see how to apply both scoped and global styles to components in our project, and why we need to use the `scoped` attribute. ... more


Tuesday, 10 January, 2017 UTC

js: Use basic event handling in Vue

js: Use basic event handling in Vue

Let's use a range of events and their modifiers to look at the cool ways we can deal with event handlers in Vue. ... more


Tuesday, 10 January, 2017 UTC

js: Get Started with Vue Components

js: Get Started with Vue Components

Components are one of the most powerful features of Vue. Let's take a look at how to write our first components and make use of them in a parent component. ... more


Tuesday, 10 January, 2017 UTC

js: Get up and running with vue-router

js: Get up and running with vue-router

How do we set up a simple app with its own routes with their own components in Vue? ... more


Monday, 9 January, 2017 UTC

js: Create Streams From Iterables With Most.js

js: Create Streams From Iterables With Most.js

One of the more powerful functions for creating streams in MostJS is the `from` function. In this lesson, we use `from` to create streams from various Javascript Iterables, take a look at how to throw generator functions into the mix and, for good measure, ... more


Sunday, 8 January, 2017 UTC

js: Declaratively Map Data Transformations to Object Properties Using Ramda evolve

js: Declaratively Map Data Transformations to Object Properties Using Ramda evolve

We don't always control the data we need in our applications, and that means we often find ourselves massaging and transforming our data. In this lesson, we'll learn how to transform objects in a declarative way using ramda's evolve function. ... more


Thursday, 5 January, 2017 UTC

js: Public Class Fields with React Components

js: Public Class Fields with React Components

[Public Class Fields](https://tc39.github.io/proposal-class-public-fields/) allow you to add instance properties to the class definition with the assignment operator (`=`). In this lesson, we'll look at their use case for simplifying event callbacks and ... more


Thursday, 5 January, 2017 UTC

js: Select a Subset of Properties from a Collection of Objects in Ramda

js: Select a Subset of Properties from a Collection of Objects in Ramda

In this lesson we'll take an array of objects and map it to a new array where each object is a subset of the original. We'll look at multiple ways to accomplish this, refactoring our code into a simple and easy to read function using Ramda's `map`, `pick` ... more


Thursday, 5 January, 2017 UTC

js: Use ES6 Proxies

js: Use ES6 Proxies

A JavaScript Proxy allows you to intercept operations performed on objects, arrays, or functions like property lookup, assignment, invocation, property deletion, and more to add custom behavior. In this lesson we look at how to intercept property lookup ... more


Wednesday, 4 January, 2017 UTC

js: Curry and Uncurry Functions with Ramda

js: Curry and Uncurry Functions with Ramda

Most of the functions offered by the ramda library are curried by default. Functions you've created or that you've pulled in from another library may not be curried. Ramda's `curry` and `curryN` functions allow you to take a non-curried function and use ... more


Tuesday, 3 January, 2017 UTC

js: Create Streams From Single Values With Most.js

js: Create Streams From Single Values With Most.js

Most provides many means for creating streams, the simplest of which is the `of` function. In this lesson, we demonstrate the use of `of` to lift a single value into a stream. We also show off the `just` alias of `of`, as well as, a common method for ... more


Monday, 19 December, 2016 UTC

[Course] angular2: Understand Angular 2 Directives in Depth

[Course] angular2: Understand Angular 2 Directives in Depth

Angular 2 Directives allow you to add custom behavior to elements and components. Rather than creating a hierarchy of components to try to "extend" behavior, Angular 2 Directives enable you to compose behaviors on to your components. This includes ... more


Monday, 19 December, 2016 UTC

css: Create a tab component using vanilla CSS

css: Create a tab component using vanilla CSS

Learn how to create tabs with nothing more than good ole' CSS. Look Ma, No Javascript! **note:** *This approach has some accessibility issues. To make a tab component that is properly accessible, it requires some JavaScript.* ... more


Friday, 16 December, 2016 UTC

[Course] angular2: Create Native Mobile Apps with NativeScript for Angular

[Course] angular2: Create Native Mobile Apps with NativeScript for Angular

In this course, we will learn how to work with NativeScript for Angular. We will start with the basic fundamentals of getting setup to run our app in the iOS Simulator in addition to an Android emulator using GenyMotion (https://www.genymotion.com/). ... more


Friday, 16 December, 2016 UTC

js: Combine Objects with Object.assign and Lodash merge

js: Combine Objects with Object.assign and Lodash merge

Learn how to use Object.assign to combine multiple objects together. This pattern is helpful when writing libraries that have a set of default options where you want to allow a user to override specific options. You'll also learn how to use a third party ... more


Friday, 16 December, 2016 UTC

js: Set up a native app project with the NativeScript CLI

js: Set up a native app project with the NativeScript CLI

NativeScript is a framework that let's you build JavaScript to native applications. In this lesson, we will set up a native app using the NativeScript command-line interface. We will then take a brief look at some of the project it generates. ... more


Wednesday, 14 December, 2016 UTC

[Course] js: Natural Language Processing in JavaScript with Natural

[Course] js: Natural Language Processing in JavaScript with Natural

In this course we’ll work through Natural’s API for natural language processing in JavaScript. We’ll look at how to process text: learning how to break up language strings, find the word roots, work with inflectors, find sequences of words, and tag parts ... more


Wednesday, 14 December, 2016 UTC

js: Create a list with nested reduce functions in ImmutableJS

js: Create a list with nested reduce functions in ImmutableJS

ImmutableJS reduce functions can be nested to get data out of complex data structures. In this example, we will create an Immutable List from an Immutable Map that is nested inside of an Immutable List that is itself nested inside of an Immutable Map. ... more


Friday, 9 December, 2016 UTC

[Course] js: Professor Frisby Introduces Composable Functional JavaScript

[Course] js: Professor Frisby Introduces Composable Functional JavaScript

This course teaches the ubiquitous abstractions for modeling pure functional programs. Functional languages have adopted these algebraic constructs across the board as a way to compose applications in a principled way. We can do the same in JavaScript. ... more


Thursday, 8 December, 2016 UTC

css: Conditionally Apply Styles Using Feature Queries

css: Conditionally Apply Styles Using Feature Queries

While browsers do a great job of ignoring styles they don’t understand, it can be useful to provide different sets of styles depending on a browser’s support for them. Learn how to use CSS feature queries without JavaScript. ... more


Wednesday, 7 December, 2016 UTC

angular2: Integrate a custom NativeScript UI component plugin via npm and registerElement

angular2: Integrate a custom NativeScript UI component plugin via npm and registerElement

Plugins are the key to unlocking many rich features of the native platforms. Let’s learn how to integrate the nativescript-checkbox plugin to register a new custom UI component for use in our views. ... more


Wednesday, 7 December, 2016 UTC

[Course] js: Develop Web Apps with Vue.js

[Course] js: Develop Web Apps with Vue.js

Vue is a "progressive framework for building user interfaces." Its core library is designed to be fast and flexible and is only focused on the view layer. In this course, you'll gain a basic understanding on how to construct components and nested ... more


Tuesday, 6 December, 2016 UTC

js: Preload Data using Promises with Vue.js and Nuxt.js

js: Preload Data using Promises with Vue.js and Nuxt.js

Nuxt.js allows you to return a `Promise` from your `data` function so that you can asynchronously resolve data before displaying the page. This allows the server to fetch the data and render the page once it's ready. ... more


Tuesday, 6 December, 2016 UTC

[Course] js: Build Complex 3D models with WebGL

[Course] js: Build Complex 3D models with WebGL

We’ll cover per-vertex coloring, advanced use of vertex arrays, more drawing modes for building 3D models, perspective, textures, and lighting. This course assumes prior knowledge in WebGL. Check out [Create 3D Graphics in JavaScript Using WebGL](https://egghead.io/courses/create-3d-graphics-in-javascript-using-webgl) ... more


Tuesday, 6 December, 2016 UTC

[Course] node: Build Node.js APIs with OpenAPI Spec (Swagger)

[Course] node: Build Node.js APIs with OpenAPI Spec (Swagger)

In this course we will build a ToDo API that stores notes using the OpenAPI Specification (Swagger). We will start with a blank API definition using the Swagger Online Editor. The Swagger definition file will be used to create a Node.js API. Along the ... more


Tuesday, 6 December, 2016 UTC

js: Create Vue.js Layout and Navigation with Nuxt.js

js: Create Vue.js Layout and Navigation with Nuxt.js

Nuxt.js enables you to easily create layout and navigation by replacing the default App.vue template with your own _app.vue template. Then you simply surround your content with your navigation and/or layout and you're ready to go. ... more


Saturday, 3 December, 2016 UTC

js: Build Vue.js Apps with the Vue-CLI and Nuxt.js

js: Build Vue.js Apps with the Vue-CLI and Nuxt.js

The vue-cli allows you to easily start up Vue projects from the command line while Nuxt.js enables a page-based routing system that follows your file structure. Combine these two projects and you'll have a Vue app created from scratch deployed in a matter ... more


Wednesday, 30 November, 2016 UTC

node: Pass command line arguments to node.js

node: Pass command line arguments to node.js

Command line arguments are often used to modify the behavior of an application or specify needed parameters for operation. In this lesson, you will learn how to access the command line arguments passed to your node.js application as well as different ... more