hello.js

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

Friday, 15 June, 2018 UTC

What’s New in ES2018

What’s New in ES2018

In this article, I’ll cover the new features of JavaScript introduced via ES2018 (ES9), with examples of what they’re for and how to use them. JavaScript (ECMAScript) is an ever-evolving standard implemented by many vendors across multiple platforms. ... more


Friday, 15 June, 2018 UTC

Debugging with Truffle CLI

Debugging with Truffle CLI

Debuggers have been crucial software development tools for over thirty years. A modern debugger enables us to: run the code line-by-line set breakpoints in the code put conditions on the breakpoints evaluate expressions during runtime. Most modern debuggers ... more


Thursday, 14 June, 2018 UTC

Truffle Migrations Explained

Truffle Migrations Explained

Migrations, generally speaking, are ways for developers to automate the deployment of data and its supporting structures. They are very useful for managing the deployment of new software versions, and as such aren’t exclusive to blockchain development. ... more


Thursday, 14 June, 2018 UTC

Interactive Data Visualization with Modern JavaScript and D3

Interactive Data Visualization with Modern JavaScript and D3

In this article, I want to take you through an example project that I built recently — a totally original type of visualization using the D3 library, which showcases how each of these components add up to make D3 a great library to learn. D3 stands for ... more


Thursday, 14 June, 2018 UTC

Flattening Contracts and Debugging with Remix

Flattening Contracts and Debugging with Remix

Smart contracts on the Ethereum main-net use real money, so building error-free smart contracts is crucial and requires special tools like debuggers. Remix IDE is the most fully-featured IDE for Solidity. Among other tools, it has an excellent step-by-step ... more


Tuesday, 12 June, 2018 UTC

Quality Solidity Code with OpenZeppelin and Friends

Quality Solidity Code with OpenZeppelin and Friends

Given the fact that all of Ethereum’s computations need to be reproduced on all the nodes in the network, Ethereum’s computing is inherently costly and inefficient. (In fact, Ethereum’s developer docs on GitHub state that we shouldn’t expect more computational ... more


Tuesday, 12 June, 2018 UTC

Use Parcel to Bundle a Hyperapp App & Deploy to GitHub Pages

Use Parcel to Bundle a Hyperapp App & Deploy to GitHub Pages

In a previous post we met Hyperapp, a tiny library that can be used to build dynamic, single-page web apps in a similar way to React or Vue. In this post we’re going to turn things up a notch. We’re going to create the app locally (we were working on ... more


Tuesday, 12 June, 2018 UTC

Truffle: Testing Smart Contracts

Truffle: Testing Smart Contracts

In our introduction to Truffle, we discussed what Truffle is and how it can help you automate the job of compiling, testing and deploying smart contracts. In this article, we’ll explore how to test smart contracts. Testing is the most important aspect ... more


Tuesday, 12 June, 2018 UTC

What Is a CDN and How Does It Work?

What Is a CDN and How Does It Work?

CDN - you keep seeing the acronym. Maybe in URLs, maybe on landing pages, but it never quite clicked - what are Content Delivery Networks, what do they do exactly? We'll explain in this overview article, and demonstrate on two popular ones in followup ... more


Friday, 8 June, 2018 UTC

HTTP/2: Background, Performance Benefits and Implementations

HTTP/2: Background, Performance Benefits and Implementations

On top of the infrastructure of the internet --- or the physical network layers --- sits the Internet Protocol, as part of the TCP/IP, or transport layer. It's the fabric underlying all or most of our internet communications. A higher level protocol ... more


Friday, 8 June, 2018 UTC

Build a To-do List with Hyperapp, the 1KB JS Micro-framework

Build a To-do List with Hyperapp, the 1KB JS Micro-framework

In this tutorial, we’ll be using Hyperapp to build a to-do list app. If you want to learn functional programming principles, but not get bogged down in details, read on. Hyperapp is hot right now. It recently surpassed 11,000 stars on GitHub and made ... more


Friday, 8 June, 2018 UTC

Introducing Truffle, a Blockchain Smart Contract Suite

Introducing Truffle, a Blockchain Smart Contract Suite

In the early days of smart contract development (circa 2016) the way to go was to write smart contracts in your favorite text editor and deploy them by directly calling geth and solc . The way to make this process a little bit more user friendly was ... more


Friday, 8 June, 2018 UTC

Introducing Axios, a Popular, Promise-based HTTP Client

Introducing Axios, a Popular, Promise-based HTTP Client

Axios is a popular, promise-based HTTP client that sports an easy-to-use API and can be used in both the browser and Node.js. Making HTTP requests to fetch or save data is one of the most common tasks a client-side JavaScript application will need to ... more


Friday, 8 June, 2018 UTC

The Complete Guide to WordPress Performance Optimization

The Complete Guide to WordPress Performance Optimization

According to Builtwith.com, WordPress holds close to 50% of the CMS share of the world's top 1,000,000 websites. As for the ecommerce sphere, we're at 33% with WooCommerce. And if we cast a wider net, percentages go higher. Although we may complain that ... more


Friday, 8 June, 2018 UTC

JavaScript: Novice to Ninja 2nd Edition – launched Sep 2017

JavaScript: Novice to Ninja 2nd Edition – launched Sep 2017

The Book JavaScript is a must-have skill for all web developers. JavaScript: Novice to Ninja is a fun, practical, and comprehensive guide to the modern usage of this deceptively powerful language. The second edition of the book has been comprehensively ... more


Friday, 8 June, 2018 UTC

Website help? Get your website up and running

Website help? Get your website up and running

About this book As you’ll see in the first chapter of this short book, every business could use a website. This book is not a guide to HTML, CSS, and JavaScript (SitePoint has plenty of books covering those bases!), rather it runs through the basics ... more


Friday, 8 June, 2018 UTC

How to Integrate MongoDB Atlas and Segment using MongoDB Stitch

How to Integrate MongoDB Atlas and Segment using MongoDB Stitch

This article was originally published on MongoDB. Thank you for supporting the partners who make SitePoint possible. It can be quite difficult tying together multiple systems, APIs, and third-party services. Recently, we faced this exact problem in-house, ... more


Friday, 8 June, 2018 UTC

Practical ES6, released June 2018

Practical ES6, released June 2018

About this book There’s no doubt that the JavaScript ecosystem changes fast. Not only are new tools and frameworks introduced and developed at a rapid rate, the language itself has undergone big changes with the introduction of ES2015 (aka ES6). Understandably, ... more


Friday, 8 June, 2018 UTC

JavaScript: Best Practice, released June 2018

JavaScript: Best Practice, released June 2018

About this book There’s no doubt that the JavaScript ecosystem changes fast. Not only are new tools and frameworks introduced and developed at a rapid rate, the language itself has undergone big changes with the introduction of ES2015 (aka ES6). Understandably, ... more


Friday, 8 June, 2018 UTC

Modern JavaScript Tools & Skills – released June 2018

Modern JavaScript Tools & Skills – released June 2018

About this book There’s no doubt that the JavaScript ecosystem changes fast. Not only are new tools and frameworks introduced and developed at a rapid rate, the language itself has undergone big changes with the introduction of ES2015 (aka ES6). Understandably, ... more


Friday, 8 June, 2018 UTC

6 Javascript Projects – released June 2018

6 Javascript Projects – released June 2018

About this book There’s no doubt that the JavaScript ecosystem changes fast. Not only are new tools and frameworks introduced and developed at a rapid rate, the language itself has undergone big changes with the introduction of ES2015 (aka ES6). Understandably, ... more


Thursday, 7 June, 2018 UTC

Debugging JavaScript Projects with VS Code & Chrome Debugger

Debugging JavaScript Projects with VS Code & Chrome Debugger

Debugging JavaScript isn't the most fun aspect of JavaScript programming, but it's a vital skill. This article covers two tools that will help you debug JavaScript like a pro. Imagine for a moment that the console.log() function did not exist in JavaScript. ... more


Thursday, 7 June, 2018 UTC

Build a JavaScript Single Page App Without a Framework

Build a JavaScript Single Page App Without a Framework

Front-end frameworks are great. They abstract away much of the complexity of building a single-page application (SPA) and help you organize your code in an intelligible manner as your project grows. However, there’s a flip side: these frameworks come ... more


Thursday, 7 June, 2018 UTC

Replacing jQuery with Vue

Replacing jQuery with Vue

I’m willing to bet that there are a lot of developers out there who still reach for jQuery when tasked with building simple apps. There are often times when we need to add some interactivity to a page, but reaching for a JavaScript framework seems like ... more


Tuesday, 5 June, 2018 UTC

How to Analyze Heatmaps and Create A/B Tests with Crazy Egg

How to Analyze Heatmaps and Create A/B Tests with Crazy Egg

Once upon a time, having an online business was about just having a website. But now, online businesses are growing larger, moving faster, and becoming more complex by the day. What was once a way to say “this is who we are and this is what we do”, is ... more


Tuesday, 5 June, 2018 UTC

JavaScript’s New Private Class Fields, and How to Use Them

JavaScript’s New Private Class Fields, and How to Use Them

ES6 introduced classes to JavaScript, but they’re too simplistic for complex applications. Class fields (also referred to as class properties ) aim to deliver simpler constructors with private and static members. The proposal is currently at TC39 stage ... more


Tuesday, 5 June, 2018 UTC

Remix: Develop Smart Contracts for the Ethereum Blockchain

Remix: Develop Smart Contracts for the Ethereum Blockchain

Remix is a Solidity IDE that’s used to write, compile and debug Solidity code. Solidity is a high-level, contract-oriented programming language for writing smart contracts. It was influenced by popular languages such as C++, Python and JavaScript. IDE ... more


Tuesday, 5 June, 2018 UTC

BigchainDB: Blockchain and Data Storage

BigchainDB: Blockchain and Data Storage

Since I wrote this post, a lot has changed for BigchainDB and in the blockchain space broadly, so it seemed high time for a revisit and refresh of what effect blockchain can have on one of the more fundamental parts of the traditional computing space: ... more


Tuesday, 5 June, 2018 UTC

A Beginner’s Guide to Babel

A Beginner’s Guide to Babel

This article introduces Babel, a JavaScript compiler that allows developers to use next-generation JavaScript today. It can be frustrating to write JavaScript when building web applications. We have to think about the features available in the browsers ... more


Tuesday, 5 June, 2018 UTC

10 Must-have VS Code Extensions for JavaScript Developers

10 Must-have VS Code Extensions for JavaScript Developers

In this article, I’ll focus on must-have VS Code extensions for JavaScript developers. Visual Studio Code is undoubtedly the most popular lightweight code editor today. It does borrow heavily from other popular code editors, mostly Sublime Text and Atom. ... more