Archive for the ‘JavaScript’ Category

Getting Bootstrap Tabs to Play Nice with Masonry

Posted on: No Comments
On the Masonry website, we read that Masonry is … a JavaScript grid layout library. It works by placing elements in optimal position based on available vertical space, sort of like a mason fitting stones in a wall. Bootstrap is one of the most wid...

Using Default Parameters in ES6

Posted on: No Comments
I’ve recently begun doing more research into what’s new in JavaScript, catching up on a lot of the new features and syntax improvements that have been included in ES6 (i.e. ES2015 and later). You’ve likely heard about and started using the usual ...

Forms, File Uploads and Security with Node.js and Express

Posted on: No Comments
If you’re building a web application, you’re likely to encounter the need to build HTML forms on day one. They’re a big part of the web experience, and they can be complicated. Typically the form handling process involves: displaying an empty HT...

Local Authentication Using Passport in Node.js

Posted on: No Comments
In Passport Authentication for Node.js Applications, we talked about authentication using Passport as it relates to social login (Google, Facebook, GitHub, etc.). In this article, we’ll see how we can use Passport for local authentication with a Mong...

Passport Authentication for Node.js Applications

Posted on: No Comments
In this tutorial, we'll be implementing authentication via Facebook and GitHub in a Node.js web application. For this, we'll be using Passport, an authentication middleware for Node.js. Passport supports authentication with OpenId/OAuth providers. Expr...

JavaScript, I love you, you’re perfect, now change

Posted on: No Comments
Those of us who celebrate Christmas or Hannukkah probably have strong memories of the excitement of December. Do you remember the months leading up to Christmas, when your imagination exploded with ideas, answers to the big question "What do you want f...

The Wix Code Database and Data Modeling

Posted on: No Comments
This article was created in partnership with Wix. Thank you for supporting the partners who make SitePoint possible. One of the cool features of Wix Code is the ability to separate your site’s design and layout from its content. This means you can cr...

How to Enable AI with Secure Communications

Posted on: No Comments
This article was sponsored by BlackBerry. Thank you for supporting the partners who make SitePoint possible. Imagine a healthcare platform that designs the perfect treatment plan for a patient based on their medical history. Picture a chatbot that aut...

How to Build a Simple Web Server with Node.js

Posted on: No Comments
The following is an excerpt from the book Get Programming with Node.js, published by manning.com. You can purchase the book here at a 37% discount by using the code fccwexler. This article is a practical introduction to using Node.js. We’re going to ...

2017/2018 JavaScript

Posted on: No Comments
There has been a lot of research on the landscape this year! Here are a few snippets from a bunch of articles. There is a ton of information in each, so I'm just picking out a few juicy quotes from each here. Perhaps the most interesting bit is how di...