hello.js

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

Wednesday, 20 February, 2019 UTC

XMLHttpRequest vs the Fetch API: What’s Best for Ajax in 2019?

XMLHttpRequest vs the Fetch API: What’s Best for Ajax in 2019?

March 2019 celebrates the 20th anniversary of Ajax. Sort of. The first implementation of XMLHttpRequest shipped in 1999 as an IE5.0 ActiveX component (don't ask) . Before then, there had been ways to pull data from a server without a full-page refresh, ... more


Friday, 15 February, 2019 UTC

How to Build Your First Static Site with Gatsby

How to Build Your First Static Site with Gatsby

Thinking about getting on the JAMStack bandwagon? If your answer is Yes , then Gatsby, one of the hottest static site generators around, could be just what you're looking for. JAM stands for JavaScript, APIs, and Markup. In other words, when the dynamic ... more


Wednesday, 13 February, 2019 UTC

How to Take JavaScript Beyond the Web in 2019

How to Take JavaScript Beyond the Web in 2019

JavaScript continues to appear in all sorts of places beyond the web as we enter into 2019! We've had a history of looking at how JavaScript has gone beyond the web here at SitePoint (see JavaScript Beyond the Web, JavaScript Beyond the Web in 2014 and ... more


Tuesday, 5 February, 2019 UTC

How to Beat 5 Common JavaScript Interview Challenges

How to Beat 5 Common JavaScript Interview Challenges

The ways tech interviews are being carried out has been at the center of much controversy for a while now. It’s a sensitive topic, especially when it comes to coding challenges. Not all companies use the same screening process, but for the most part, ... more


Friday, 25 January, 2019 UTC

How to Tell If Vue.js Is the Right Framework for Your Next Project

How to Tell If Vue.js Is the Right Framework for Your Next Project

Vue.js grew from a one-man project to a JavaScript framework everyone’s talking about. You’ve heard about it from your front-end colleagues and during conferences. You’ve probably read multiple comparisons between Vue, React, and Angular. And you’ve ... more


Wednesday, 23 January, 2019 UTC

A Guide to Writing Your First Software Documentation

A Guide to Writing Your First Software Documentation

As a developer, your pride and joy is your code. It’s readable, it meets DRY principles, it reflects best practices, and the end product is a great tool that solves some kind of problem for its target users. However, no matter how much work you’ve put ... more


Tuesday, 22 January, 2019 UTC

Develop an Android App with React Native & Publish on Google Play

Develop an Android App with React Native & Publish on Google Play

This article was originally published on the Okta developer blog. Thank you for supporting the partners who make SitePoint possible. As mobile app usage is expected to continue to grow, now is as good a time as any to get into the market. Android is ... more


Thursday, 17 January, 2019 UTC

How to Migrate to Gulp.js 4.0

How to Migrate to Gulp.js 4.0

Despite competition from webpack and Parcel, Gulp.js remains one of the most popular JavaScript task runners. Gulp.js is configured using code which makes it a versatile, general-purpose option. As well as the usual transpiling, bundling and live reloading, ... more


Tuesday, 15 January, 2019 UTC

Where to Start Learning Emerging Tech in 2019

Where to Start Learning Emerging Tech in 2019

Emerging technology has reached new heights as we enter 2019. Virtual and augmented reality, machine learning, robotics, the Internet of Things... there's so much potential out there right now. The great news is that it is also getting easier and easier ... more


Tuesday, 15 January, 2019 UTC

Build a Simple Web App with Express, Angular, and GraphQL

Build a Simple Web App with Express, Angular, and GraphQL

This article was originally published on the Okta developer blog. Thank you for supporting the partners who make SitePoint possible. During the past 10 years or so, the concept of REST APIs for web services has become the bread and butter for most web ... more


Thursday, 10 January, 2019 UTC

Build an App with Everything New & Noteworthy in Angular 7

Build an App with Everything New & Noteworthy in Angular 7

Angular 7 was released earlier this quarter and I’m pumped about a few of its features. If you’ve been following Angular since Angular 2, you know that upgrading can sometimes be a pain. There was no Angular 3, but upgrading to Angular 4 wasn’t too bad, ... more


Thursday, 6 December, 2018 UTC

How to Use TypeScript to Build a Node API with Express

How to Use TypeScript to Build a Node API with Express

Like it or not, JavaScript has been helping developers power the Internet since 1995. In that time, JavaScript usage has grown from small user experience enhancements to complex full-stack applications using Node.js on the server and one of many frameworks ... more


Thursday, 6 December, 2018 UTC

How to Create and Verify JWTs with Node

How to Create and Verify JWTs with Node

This article was originally published on the Okta developer blog. Thank you for supporting the partners who make SitePoint possible. Authentication on the internet has evolved quite a bit over the years. There are many ways to do it, but what worked ... more


Thursday, 29 November, 2018 UTC

Build a Basic CRUD App with Angular and Node

Build a Basic CRUD App with Angular and Node

This article was originally published on the Okta developer blog. Thank you for supporting the partners who make SitePoint possible. In recent years, single page applications (SPAs) have become more and more popular. A SPA is a website that consists ... more


Wednesday, 28 November, 2018 UTC

jQuery setTimeout() Function Examples

jQuery setTimeout() Function Examples

The JavaScript setTimeout function calls a function or executes a code snippet after a specified delay (in milliseconds). This might be useful if, for example, you wished to display a popup after a visitor has been browsing your page for a certain amount ... more


Saturday, 24 November, 2018 UTC

Getting Started with Sentry.io Error Tracking

Getting Started with Sentry.io Error Tracking

This article was created in partnership with Sentry. Thank you for supporting the partners who make SitePoint possible. Writing code can be fun. Testing it is another matter. Of course, SitePoint readers always produce bug-free applications but errors ... more


Wednesday, 21 November, 2018 UTC

How to Build a WordPress Theme from Scratch: the Basics

How to Build a WordPress Theme from Scratch: the Basics

In this tutorial, we’ll explore WordPress theme file structure in depth, and learn how to create a basic WordPress theme from scratch. In the first part of this series, we introduced WordPress theming, and the fundamental terminology relating to WordPress ... more


Wednesday, 14 November, 2018 UTC

How to Build a WordPress Theme from Scratch: First Steps

How to Build a WordPress Theme from Scratch: First Steps

WordPress themes give WordPress users the ability to completely change the look of a WP website, as well as add functionality to it. In this three-part series, we’ll introduce WordPress themes, showing how they work, how they’re structured, the PHP architecture ... more


Wednesday, 14 November, 2018 UTC

Developing a WordPress REST API App: Getting Started

Developing a WordPress REST API App: Getting Started

This article on developing a WordPress REST API app was originally published by Torque Magazine, and is reproduced here with permission. Excitement over the WordPress REST API has been building for what seems like an eternity, but we’re still pretty ... more


Tuesday, 30 October, 2018 UTC

Building a WordPress Plugin with Vue

Building a WordPress Plugin with Vue

In this tutorial, we’ll learn how to integrate Vue.js with a WordPress plugin to provide a modern UI experience to our WordPress users. Vue.js is a very popular progressive JavaScript library for building modern and rich user interfaces similar to Angular ... more


Tuesday, 30 October, 2018 UTC

Building a Serverless REST API with Function Compute and MongoDB

Building a Serverless REST API with Function Compute and MongoDB

We received a lot of great entries in our recent competition to find the best tip for making the most out of Alibaba Cloud services. It was a fun but challenging task for our judges to pick the winners amongst so many helpful and interesting entries. ... more


Wednesday, 24 October, 2018 UTC

Build Secure Node Authentication with Passport.js & OpenID Connect

Build Secure Node Authentication with Passport.js & OpenID Connect

This article was originally published on the Okta developer blog. Thank you for supporting the partners who make SitePoint possible. Building local or social login in Node can be simple with Passport.js. There are over 500 strategies already built that ... more


Wednesday, 24 October, 2018 UTC

Using WordPress as a Headless CMS

Using WordPress as a Headless CMS

Content management systems (CMSs) are very useful, allowing you to create, edit and manage your content as needed. But as powerful as they might be, traditional CMSs such as WordPress don’t meet everyone’s requirements. In some cases, a higher amount ... more


Saturday, 20 October, 2018 UTC

Build a Simple Web App with Express, React and GraphQL

Build a Simple Web App with Express, React and GraphQL

This article was originally published on the Okta developer blog. Thank you for supporting the partners who make SitePoint possible. GraphQL and React have both become quite popular in the last few years, and it’s safe to say they go together like avocado ... more


Thursday, 18 October, 2018 UTC

How to Enrich Data with MongoDB Stitch

How to Enrich Data with MongoDB Stitch

This article was originally published on MongoDB. Thank you for supporting the partners who make SitePoint possible. Here is what we are going to achieve in this tutorial: Firstly, we are going to write a document to MongoDB using MongoDB Stitch. The ... more


Friday, 12 October, 2018 UTC

Do You Need to Know React as a WordPress Developer?

Do You Need to Know React as a WordPress Developer?

This article on whether you need to know React as a WordPress developer was originally published by Torque Magazine, and is reproduced here with permission. The new WordPress content editing system Gutenberg will be powering the WordPress post editor ... more


Thursday, 11 October, 2018 UTC

Secure a Node API with OAuth 2.0 Client Credentials

Secure a Node API with OAuth 2.0 Client Credentials

This article was originally published on the Okta developer blog. Thank you for supporting the partners who make SitePoint possible. Securing server-to-server API services can be tricky. OAuth 2.0 is an excellent way to offload user authentication to ... more


Thursday, 11 October, 2018 UTC

Lazy Loading for WordPress: How to Add It to Your Website

Lazy Loading for WordPress: How to Add It to Your Website

This article on lazy loading for WordPress was originally published by Torque Magazine, and is reproduced here with permission. Adding lazy load to your WordPress website is an effective tool to speed up your WordPress website. We have written extensively ... more


Sunday, 7 October, 2018 UTC

CSS Debugging and Optimization: Browser-based Developer Tools

CSS Debugging and Optimization: Browser-based Developer Tools

The following introduction to CSS code-quality tools is an extract from Tiffany’s upcoming book, CSS Master, 2nd Edition, which will be available shortly. On your road to becoming a CSS master, you’ll need to know how to troubleshoot and optimize your ... more


Sunday, 7 October, 2018 UTC

CSS Debugging and Optimization: Minification with CSSO

CSS Debugging and Optimization: Minification with CSSO

The following introduction to CSS minification tools is an extract from Tiffany’s upcoming book, CSS Master, 2nd Edition, which will be available shortly. On your road to becoming a CSS master, you’ll need to know how to troubleshoot and optimize your ... more