hello.js

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

Tuesday, 7 August, 2018 UTC

Understanding module.exports and exports in Node.js

Understanding module.exports and exports in Node.js

As developers, we often face situations where we need to use unfamiliar code. A question will arise during these moments. How much time should I invest in understanding the code that I'm about to use? A typical answer is learn enough to start coding; ... more


Friday, 3 August, 2018 UTC

How to Build a Coach Holiday Showcase with WRLD

How to Build a Coach Holiday Showcase with WRLD

This article was created in partnership with WRLD. Thank you for supporting the partners who make SitePoint possible. Since the late 2000s, maps have been a staple of the web, and today are more ubiquitous than ever. They have a variety of uses, from ... more


Monday, 30 July, 2018 UTC

Speed Up Your WordPress Website with YOOtheme Pro

Speed Up Your WordPress Website with YOOtheme Pro

This article was created in partnership with YOOtheme. Thank you for supporting the partners who make SitePoint possible. Starting July 2018, Google started ranking their mobile search results according to mobile page speed. This makes PageSpeed optimization ... more


Thursday, 26 July, 2018 UTC

Build a Basic CRUD App with Node and React

Build a Basic CRUD App with Node and React

This article was originally published on the Okta developer blog. Thank you for supporting the partners who make SitePoint possible. There are a lot of JavaScript frameworks out there today. It seems like I hear about a new one every month or so. They ... more


Thursday, 26 July, 2018 UTC

Building an Ethereum DApp: Launching the StoryDao

Building an Ethereum DApp: Launching the StoryDao

In part 7 of this tutorial series on building DApps with Ethereum, we showed how to build the app’s front end, setting up and deploying the UI for this story we’ve been working on. It’s time to do some deploying and write a few final functions. Suicide ... more


Wednesday, 25 July, 2018 UTC

How to Use Feature Flags in Continuous Integration

How to Use Feature Flags in Continuous Integration

A lot has been written about the benefits of achieving true Continuous Integration (CI) into production systems. This tutorial will demonstrate a simple workflow that achieves CI. We'll be using Feature Flags and Remote Config to avoid the need for feature ... more


Wednesday, 25 July, 2018 UTC

Solidity for Beginners: A Guide to Getting Started

Solidity for Beginners: A Guide to Getting Started

Solidity, a smart contracts programming language, has been a buzzword for quite some time now. This tutorial is meant for beginners ready to explore Solidity and code smart contracts. Before we begin, we'll get the basics clear. We will begin by exploring ... more


Tuesday, 24 July, 2018 UTC

Ethereum DApps: Building a Web3 UI for a DAO Contract

Ethereum DApps: Building a Web3 UI for a DAO Contract

In part 6 of this tutorial series on building DApps with Ethereum, we took the DAO towards completion by adding voting, blacklisting/unblacklisting, and dividend distribution and withdrawal, while throwing in some additional helper functions for good ... more


Friday, 20 July, 2018 UTC

Build a React Native Application & Authenticate with OAuth 2.0

Build a React Native Application & Authenticate with OAuth 2.0

This article was originally published on the Okta Developer Blog. Thank you for supporting the partners who make SitePoint possible. With Okta and OpenID Connect (OIDC), you can easily integrate authentication into a React Native application and never ... more


Thursday, 12 July, 2018 UTC

Ethereum DApps: Compiling, Deploying, Testing TNS tokens

Ethereum DApps: Compiling, Deploying, Testing TNS tokens

In part 2 of this tutorial series on building DApps with Ethereum, we wrote the TNS token’s code. But we haven’t yet compiled it, deployed it, tested it or verified it. Let’s do all that in this part so that we’re ready for what comes next. Compiling ... more


Tuesday, 10 July, 2018 UTC

How to Add Auth to Your PWA with Okta and Stencil

How to Add Auth to Your PWA with Okta and Stencil

This article was originally published on OKTA Blog. Thank you for supporting the partners who make SitePoint possible. Progressive Web Applications (PWAs) are the newest technology on the web dev block, and they’ve arrived just in time to solve a growing ... more


Tuesday, 10 July, 2018 UTC

Building DApps with Ethereum: Creating, Deploying TNS Tokens

Building DApps with Ethereum: Creating, Deploying TNS Tokens

In part 1 of this tutorial series on building DApps with Ethereum, we bootstrapped two versions of a local blockchain for development: a Ganache version, and a full private PoA version. In this part, we’ll dive right into it and build and deploy our ... more


Friday, 6 July, 2018 UTC

Build Custom Dashboards with MongoDB, Azure & Serverless Functions

Build Custom Dashboards with MongoDB, Azure & Serverless Functions

This article was originally published on Ahmad Awais. Thank you for supporting the partners who make SitePoint possible. TL;DR : I’m building a custom WordPress dashboard for an enterprise client which is powered by React.js on top of Node.js, with MongoDB ... more


Wednesday, 4 July, 2018 UTC

Performance Auditing: A Firefox Developer Tools Deep Dive

Performance Auditing: A Firefox Developer Tools Deep Dive

In this article, we'll cover Firefox Web Developer Tools ("DevTools") --- a set of tools designed to help developers inspect, debug, profile and optimize the performance of websites and web applications. We'll particularly look at the tools ... more


Monday, 2 July, 2018 UTC

Improving Performance Perception: On-demand Image Resizing

Improving Performance Perception: On-demand Image Resizing

Over a series of articles, we've been building a sample application --- a multi-image gallery blog --- for performance benchmarking and optimizations. At this point, our application serves the same image regardless of the resolution and screen size it's ... more


Friday, 29 June, 2018 UTC

Optimization Auditing: A Deep Dive into Chrome’s Dev Console

Optimization Auditing: A Deep Dive into Chrome’s Dev Console

Chrome DevTools incorporates many sub-tools for debugging web applications on the client side --- like recording performance profiles and inspecting animations --- most of which you've likely been using since your early days of learning web development, ... more


Thursday, 28 June, 2018 UTC

Build a Video Chat Service with JavaScript, WebRTC, and Okta

Build a Video Chat Service with JavaScript, WebRTC, and Okta

As recently as seven short years ago, building video applications on the web was a massive pain. Remember the days of using Flash and proprietary codecs ( which often required licensing )? Yuck. In the last few years, video chat technology has dramatically ... more


Tuesday, 26 June, 2018 UTC

How to Perform A/B Testing with Google Optimize

How to Perform A/B Testing with Google Optimize

Google Optimize is Google’s A/B testing tool for websites. As with most Google apps, Google Optimize offers a lot of functionality for free, with a corporate tier for when your A/B testing needs become more complex. In this article, I’ll show you how ... more


Monday, 25 June, 2018 UTC

Learn Angular: The Collection, Released June 2018

Learn Angular: The Collection, Released June 2018

Angular is not just a framework, but rather a platform that empowers developers to build applications for the web, mobile, and the desktop. This collection is a set of books aimed at getting you up to speed with Angular. It contains: Learn Angular: Your ... more


Thursday, 21 June, 2018 UTC

How Analytics Can Explain Your Abandoned Checkouts

How Analytics Can Explain Your Abandoned Checkouts

If you’re in the ecommerce business, you already know that users often abandon their carts at the checkouts. In fact, studies indicate that the average rate of cart abandonment is 67.91% , although this can be as high as 80% in some cases. Annoying, ... more


Thursday, 21 June, 2018 UTC

Getting Started With Google Cloud Functions and MongoDB

Getting Started With Google Cloud Functions and MongoDB

This article was originally published on Code Barbarian. Thank you for supporting the partners who make SitePoint possible. Serverless architectures are becoming increasingly popular, and with good reason. In my experience, container-based orchestration ... more


Wednesday, 20 June, 2018 UTC

PHP-level Performance Optimization with Blackfire

PHP-level Performance Optimization with Blackfire

Throughout the past few months, we've introduced Blackfire and ways in which it can be used to detect application performance bottlenecks. In this post, we'll apply it to our freshly started project to try and find the low-points and low-hanging fruit ... more


Tuesday, 19 June, 2018 UTC

How to Create a Mall Map with Real-time Data Using WRLD

How to Create a Mall Map with Real-time Data Using WRLD

As a web developer, you sometimes find yourself in a position where you are required to implement a map. Your first choice is to use Google Maps, right? This looks okay. However, you may be required to overlay additional information over the map with ... more


Tuesday, 19 June, 2018 UTC

Learn Angular 5, released June 2018

Learn Angular 5, released June 2018

Angular is one of the most popular JavaScript frameworks today that developers use to build advanced single-page web apps faster and more easily. In this course, we’ll get you up to speed with Angular 5. We’ll: The post Learn Angular 5, released June ... more


Monday, 18 June, 2018 UTC

Building an Image Gallery Blog with Symfony Flex: the Setup

Building an Image Gallery Blog with Symfony Flex: the Setup

This post begins our journey into Performance Month's zero-to-hero project. In this part, we'll set our project up so we can fine tune it throughout the next few posts, and bring it to a speedy perfection. Now and then you have to create a new project ... more


Monday, 18 June, 2018 UTC

Optimizing CSS: ID Selectors and Other Myths

Optimizing CSS: ID Selectors and Other Myths

In today’s typical scenario, where the average website ships 500KB of gzipped JavaScript and 1.5MB of images, running on a midrange Android device via 3G with a 400ms round trip time, CSS selector performance is the least of our problems. Still, there’s ... more


Friday, 15 June, 2018 UTC

7 Performance Tips for Jank-free JavaScript Animations

7 Performance Tips for Jank-free JavaScript Animations

The role of web animation has evolved from mere decorative fluff to serving concrete purposes in the context of user experience --- such as providing visual feedback as users interact with your app, directing users' attention to fulfill your app's goals, ... more


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