Skip to content

Brian Cline

Solution Architect skilled in Salesforce, NetSuite and JavaScript Development

  • About
  • Resume
  • JavaScript
  • Salesforce
  • Contact
  • Articles
  • About
  • Resume
  • JavaScript
  • Salesforce
  • Contact
  • Articles

Category: JavaScript

A guide for adding JWT token-based authentication to Your Serverless Application

January 31, 2023Brian ClineJavaScript, ProgrammingAuthentication, javascript, rest api, software architecture

One way to secure your serverless application is to implement token-based authentication, which helps to ensure that only authorized users can access your app

Creating and Validating JSON Web Tokens (JWT) in Node.js

August 16, 2022Brian ClineJavaScript, Programmingapi, Authentication, JSON Web Token, JWT, rest api, restful api

In this blog article, we covered what a JSONWeb Token (JWT) is, how to create a JWT, and how to verify a JWT.

JSForce Logo

Connecting to the Salesforce Analytics APIs through Node.js

May 3, 2022Brian ClineJavaScript, Programming, SalesforceSalesforce, Salesforce API, salesforce integration

In this blog article, we’ll be focused in on the Analytics API because it’s primarily used for reporting and dashboards.

Adding Promise Support to a Node.js Library

May 2, 2022Brian ClineJavaScript, Programmingjavascript, javascript async, promises

I know that when I am working in JavaScript, I prefer to keep everything to using promises or async/await instead of occasionally using callbacks because a library doesn’t support them.

JSForce Logo

Connecting to the Salesforce APIs through Node.js

May 1, 2022Brian Cline1 CommentJavaScript, SalesforceSalesforce, salesforce integration

There are a number of different JavaScript modules or libraries that are available on npm to connect to the different REST based Salesforce APIs.

In this post, I show my favourite library.

Express + Serverless

Migrating an Existing Express.js Based application to the Serverless Framework

April 28, 2022Brian ClineCloud Computing, JavaScript, ProgrammingAWS, Express.js, serverless frameworks

AWS Lambda allows us to dramatically lower our costs for running an application. It’s fairly easy to convert an Express.js app into running in the serverless framework.

How to read an Excel file in NodeJs

February 8, 2022Brian ClineJavaScript, Programmingautomating excel, excel, ExcelJS, javascript

My favourite library for reading, writing, and manipulating Excel files in Node.JS is ExcelJS. In this tutorial, we’ll look at how to install the library and how to dynamically read an Excel file.

Outputting a CSV File from Node.js

June 22, 2021Brian ClineJavaScript, ProgrammingCSV, Database, javascript

After reading this article, you will understand how to export data from a database or other system using a csv library in Node.js.

CSV stands for common separated values file which means that data can be stored in a tabular format with commas separating each value.

How to Generate a PDF in Node.js From HTML

April 20, 2021Brian ClineJavaScript, Programmingjavascript, pdf, software architecture

In this blog post, you can learn how to generate PDF from an html file using Node.js.

Generating A PDF in Nodejs

February 2, 2021Brian ClineJavaScript, ProgrammingNodeJS, pdf, reporting

The PDF format is one of the most common file formats for transmitting static information. It’s a really common request for businesses to be able to export a document or data into a really well-formatted PDF file whether it be an invoice or a report.

How to Perform SOAP Requests With Node.js

July 7, 2020Brian ClineJavaScript, Programmingapi, Salesforce API, soap, wsdl

SOAP is basically an XML based API that existed before the REST API existed. SOAP stands for Simple Object Access Protocol – it’s a mostly legacy protocol that was designed for doing remote api requests in a language independent way.

From time to time unfortunately, we’ll need to call a SOAP API.

Best Practices for AWS Lambda & Logging

June 16, 2020Brian ClineCloud Computing, JavaScript, ProgrammingAWS, aws lambda, best practices, logging, monitoring

Having your application / system produce the right amount and quality of logs is just as important as having the system process the needed data because it helps make debugging easier and allows us to better optimize data.

Logging on AWS lambda can be really costly if it’s not done correctly.

nodeJS Logo

Connecting to MySQL from Node.js

June 2, 2020Brian ClineJavaScript, ProgrammingDatabase, NodeJS, ORM

For the most part, it seems to be that NodeSQL databases are the defacto standard with Node and JavaScript developers. Using MySQL is still an option and can make a lot of sense if the project already has an existing database.

JavaScript Tricks to Save Time & Frustration

JavaScript Tricks to Save Time & Frustration

May 26, 2020Brian ClineJavaScript, Programmingjavascript

In my everyday life as technology leader (“tech lead”) and full stack developer I run into a lot of problems that need to be solved every day.

What is Test Driven Development?

What is Test Driven Development?

May 19, 2020Brian Cline1 CommentJavaScript, Programmingjavascript, test driven development, Testing

TDD is a lot more than vanity metrics like the percentage of code covered by tests. Test Driven Development (TDD) is a development process that consists of the tests being designed and written before most of the code is written.

Writing Data to An Excel File in NodeJs

How to Write Data to An Excel file in NodeJS

May 12, 2020Brian Cline7 CommentsJavaScript, Programmingexcel, NodeJS

Excel is a really commonly used spreadsheet program that lots of companies use to transmit data. Finding a really good library that doesn’t require Excel to exist on the server can be really hard.

Functional Programming with JavaScript

April 28, 2020Brian ClineJavaScript, Programmingjavascript, javascript functional programming

JavaScript is really suitable for function programming because of functions being first class. Functions being first class means that JavaScript treats them as a type of object.

Serverless Framework Logo

Running Serverless Framework Functions Locally

April 21, 2020Brian ClineCloud Computing, JavaScript, ProgrammingAWS, aws lambda, javascript, Serverless, serverless frameworks

Developing locally makes a lot more sense than deploying to a dev environment consistently because it helps save time, save some cloud costs, and avoids obvious embarrassment. 🙂

Using Prettier to Automatically Format JavaScript

Using Prettier to Automatically Format JavaScript

March 31, 2020Brian ClineJavaScript, ProgrammingFormatting javascript, prettier

Prettier is a code formatter that can automatically format code when save is pressed. I like using prettier to format my code because it saves me a lot of time and a lot of energy.

Is jQuery Dead?

February 25, 2020Brian ClineJavaScript, jQuery, Programmingjavascript, javascript frameworks, jQuery, Vanilla JavaScript

I don’t think jQuery is dead at this point, but it’s growth seems to be slowing.

Posts pagination

1 2 3 4
Developed by Think Up Themes Ltd. Powered by WordPress.