hello.js

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

Friday, 1 September, 2017 UTC

node: Running your server forever using forever in Node.js

node: Running your server forever using forever in Node.js

Previously to tackle manual restarts due to server crashes , process management tools were used. Forever is one such module that is runs on the node ecosystem. So, we need not move away from the rich ecosystem of Node.js. Use ``` npm install --global ... more


Thursday, 31 August, 2017 UTC

node: Running your server forever using forever in Node.js

node: Running your server forever using forever in Node.js

Previously to tackle manual restarts due to server crashes , process management tools were used. Forever is one such module that is runs on the node ecosystem. So, we need not move away from the rich ecosystem of Node.js. Use ``` npm install --global ... more


Wednesday, 30 August, 2017 UTC

[Course] vue: Use TypeScript to Develop Vue.js Web Applications

[Course] vue: Use TypeScript to Develop Vue.js Web Applications

TypeScript is a powerful JavaScript superset which brings you first-class static type-checking along with latest ECMA Script features. Vue is one of the most modern libraries for managing the view layer. Angular has fully adopted TypeScript as its language, ... more


Wednesday, 30 August, 2017 UTC

js: Array Includes method in ES2016 - ES7

js: Array Includes method in ES2016 - ES7

Introduction to the new includes method included in the ES2016 specification for the Array data structure. Review of the previous methods followed, also some complicated examples to get out heads around the new functionalities provided using the includes ... more


Wednesday, 30 August, 2017 UTC

js: Array Includes method in ES2016 - ES7

js: Array Includes method in ES2016 - ES7

Introduction to the new includes method included in the ES2016 specification for the Array data structure. Review of the previous methods followed, also some complicated examples to get out heads around the new functionalities provided using the includes ... more


Tuesday, 29 August, 2017 UTC

node: Create a Hello bot using Microsoft Botbuilder SDK in Node.js

node: Create a Hello bot using Microsoft Botbuilder SDK in Node.js

Understanding the basics of botbuilder sdk by microsoft, and exploring the basic bot setup to run and respond to messages on any command line client. The botframework provides two connector classes ConsoleConnector, ChatConnector. 1. To setup connection ... more


Tuesday, 29 August, 2017 UTC

node: Run JavaScript in the Terminal with the Node REPL

node: Run JavaScript in the Terminal with the Node REPL

With Node installed, you can begin running JavaScript directly in the terminal. The Node REPL allows you to execute any JavaScript expression to check the output. You can even install packages from npm and load you local JavaScript files to test how libraries ... more


Sunday, 27 August, 2017 UTC

js: Exponent operator in ES2016 - ES7

js: Exponent operator in ES2016 - ES7

A brief introduction and review of the exponent operator in ES2016 and review previous methods being followed. We will also look at some examples that demonstrate the behaviour of the exponent operator. ... more


Friday, 11 August, 2017 UTC

elm: Create records in Elm

elm: Create records in Elm

Records in Elm are similar to objects in JavaScript, and are useful to represent domain entities and other program data. ... more


Thursday, 10 August, 2017 UTC

react: Error Handling using Error Boundaries in React 16

react: Error Handling using Error Boundaries in React 16

A JavaScript error in the UI shouldn’t break the whole application. To solve this problem for React 16 introduced a new concept of an “error boundary”. Such error boundaries are React components that catch JavaScript errors anywhere in their child component ... more


Tuesday, 1 August, 2017 UTC

react: Style a React component with styled-components

react: Style a React component with styled-components

In this lesson, we remove the mapping between a React component and the styles applied to it via classnames. We write our styles directly within the component, in a real CSS syntax, with the full power of JavaScript. ... more


Tuesday, 1 August, 2017 UTC

js: Use Traverse & the Maybe Monad to Safely Process Lists of Data with Sanctuary

js: Use Traverse & the Maybe Monad to Safely Process Lists of Data with Sanctuary

Sanctuary.js is a functional programming library for JavaScript. It's similar to Ramda, but more strict and includes extra features, like the error handling monads Maybe & Either. It's also similar to Folktale, but primarily takes influence from Haskell ... more


Friday, 21 July, 2017 UTC

[Course] typescript: Build Algorithms using Typescript

[Course] typescript: Build Algorithms using Typescript

Algorithms are the basic construction of the computer programs that you are writing every day. They take language syntax and the machine uses that information to carry out our commands. While "everything is an algorithm!" is basically a true ... more


Friday, 21 July, 2017 UTC

node: Run Local DevDependencies from the Command Line with npx

node: Run Local DevDependencies from the Command Line with npx

In the past, you've needed to either write a package.json script or use the `node_modules/.bin` directory to access binaries installed in your node_modules. npx enables you to access the binaries much more easily and try out options before you settle ... more


Tuesday, 18 July, 2017 UTC

js: Create an Observable-Based Fetch Wrapper Using Ramda & Most

js: Create an Observable-Based Fetch Wrapper Using Ramda & Most

Unlike RxJS, Most does not include an observable-based AJAX helper utility. However, it can be very convenient to have one, because it allows you to use streams to do things like declaratively handling errors & setting up cancellation. In this lesson, ... more


Tuesday, 11 July, 2017 UTC

node: Setup an Nginx Proxy for a Node.js App

node: Setup an Nginx Proxy for a Node.js App

Learn how to setup an Nginx proxy server that sits in front of a Node.js app. You can use a proxy to control the flow of frontend requests hitting your app, as well as to achieve better performance and scalability. We'll create a sample Node.js app and ... more


Friday, 7 July, 2017 UTC

[Course] js: Build a desktop application with Electron

[Course] js: Build a desktop application with Electron

Electron is a framework that makes it easy to create cross-platform desktop apps with JavaScript, HTML, and CSS. Electron and open-source tools give you everything you need to create a compelling desktop app--native user interface elements like menus ... more


Tuesday, 4 July, 2017 UTC

react: Create Animated Map Markers Linked to Scrolling Content in React Native

react: Create Animated Map Markers Linked to Scrolling Content in React Native

We'll construct a map using `react-native-maps` and custom animated map makers. We'll build a scroll view that when scrolled horizontally it will animate the marker that it is associated with. Once an item is scrolled to the map will automatically animate ... more


Thursday, 29 June, 2017 UTC

angular2: Setup automated deployment with Angular, Travis and Firebase

angular2: Setup automated deployment with Angular, Travis and Firebase

Automate all the things!! Automation is crucial for increasing the quality and productivity. In this lesson we will learn how to automate the deployment of our Angular app to Firebase Hosting, by using GitHub and Travis. By the end of the lesson we will ... more


Thursday, 29 June, 2017 UTC

angular2: Build and deploy your Angular app to Firebase Hosting

angular2: Build and deploy your Angular app to Firebase Hosting

Firebase not only provides you a real-time, powerful database, but recently also added a hosting capability to its offers. In this lesson we will learn how to use the Firebase CLI to setup and configure our Angular project for deploying it to Firebase ... more


Tuesday, 27 June, 2017 UTC

react: Create a Reusable Scroll View Component with Animated scrollTo in React

react: Create a Reusable Scroll View Component with Animated scrollTo in React

In this lesson we'll show how to build a `ScrollView` and `ScrollElement` component that do not add additional markup. We'll use `context` and `findDOMNode` to register nested items and then expose a `scrollTo` function our `ScrollView` that allows for ... more


Sunday, 25 June, 2017 UTC

[Course] node: Build a Node.js REST API with LoopBack

[Course] node: Build a Node.js REST API with LoopBack

In this course the developer will learn how to create a LoopBack API and build it out to an API that can be used as a backend for apps. We will start by creating a basic LoopBack API project and gradually enhance it to a production ready API. The API ... more


Tuesday, 20 June, 2017 UTC

html5: Generate multiple HTML components from an array with the "for loop" in TwigJS

html5: Generate multiple HTML components from an array with the "for loop" in TwigJS

In this lesson, we transform a series of TwigJS "includes" into a clean "for loop". We store our content into an array and let the loop generate one HTML component for each entry. ... more


Tuesday, 20 June, 2017 UTC

typescript: Create a TypeScript Library using typescript-library-starter

typescript: Create a TypeScript Library using typescript-library-starter

Creating a library is always a cumbersome process with lots of setup and decisions to make. [TypeScript library starter](https://github.com/alexjoverm/typescript-library-starter) makes this process very easy and automated, using latest in tech configs ... more


Friday, 16 June, 2017 UTC

react: Create a Responsive Animated Progress Bar in React Native

react: Create a Responsive Animated Progress Bar in React Native

In this lesson we'll show how to structure views to create a responsive progress bar (without defining a set width). It will allow for dynamic border, bar, and fill colors. We'll finish off by showing how to add animation to make the progress indicator ... more


Thursday, 15 June, 2017 UTC

html5: Make your HTML components dynamic with the "with" keyword in TwigJS

html5: Make your HTML components dynamic with the "with" keyword in TwigJS

In this lesson, we make TwigJS components output custom content via the "with" keyword of the "include" tag. We also set up fallback values to make our component work in a variety of scenarios. ... more


Thursday, 15 June, 2017 UTC

react: Create a Virtualized List with Auto Sizing Cells using react-virtualized and CellMeasurer

react: Create a Virtualized List with Auto Sizing Cells using react-virtualized and CellMeasurer

In this lesson we'll use `CellMeasurer` and `CellMeasurerCache` to automatically calculate and cache the height of a row. This will allow us to remove the predefined `rowHeight` on list and allow for dynamically sized rows. ... more


Thursday, 15 June, 2017 UTC

angular2: Bind async requests in your Angular template with the async pipe and the "as" keyword

angular2: Bind async requests in your Angular template with the async pipe and the "as" keyword

Angular allows us to conveniently use the `async` pipe to automatically register to RxJS observables and render the result into the template once the request succeeds. This has some drawbacks, especially if we want to bind the same data in multiple parts ... more


Wednesday, 14 June, 2017 UTC

html5: Create reusable HTML components with the "include" tag in TwigJS

html5: Create reusable HTML components with the "include" tag in TwigJS

In this lesson, we take a repeating block of HTML and turn it into a dynamic, reusable TwigJS component. The "include" tag allows us to generate multiple instances of the component, each with their own custom content. ... more


Wednesday, 14 June, 2017 UTC

react: Create an Auto Resizing Virtualized List with react-virtualized

react: Create an Auto Resizing Virtualized List with react-virtualized

In this lesson we'll show how to use the `AutoSizer` component from `react-virtualized` to automatically measure the width/height of our content area. We'll then use the`List` component to render our set of data as a virtualized list into the DOM using ... more